Bug 266102 - devel/py-apscheduler: remove tzlocal patch, compatibility with devel/py-tzlocal 4.2
Summary: devel/py-apscheduler: remove tzlocal patch, compatibility with devel/py-tzloc...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Jan Beich
URL:
Keywords: patch
Depends on: 265701
Blocks: 266199
  Show dependency treegraph
 
Reported: 2022-08-29 17:24 UTC by Andrej Ebert
Modified: 2022-09-03 14:55 UTC (History)
2 users (show)

See Also:


Attachments
git diff (1.42 KB, patch)
2022-08-29 17:24 UTC, Andrej Ebert
no flags Details | Diff
tests with tzlocal4.2 (49.79 KB, text/plain)
2022-08-29 17:25 UTC, Andrej Ebert
no flags Details
portlint (90 bytes, text/plain)
2022-08-29 17:25 UTC, Andrej Ebert
no flags Details
poudriere testport (35.83 KB, text/plain)
2022-08-29 17:25 UTC, Andrej Ebert
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrej Ebert 2022-08-29 17:24:59 UTC
Created attachment 236222 [details]
git diff

Remove py-tzlocal pin to tzlocal>=1.2<3
The dependency was pinned to tzlocal>=1.2<3 in the makefile and to tzlocal >= 1.2, != 3.*' in the setup.py per patch. 
But upstream actually requires: 'tzlocal >= 2.0, != 3.*'. 
There is already an update of tzlocal to 4.2 in the pipeline: bug #265701
Other consumers of py-tzlocal seem to be fine with tzlocal 4.2.
Comment 1 Andrej Ebert 2022-08-29 17:25:28 UTC
Created attachment 236223 [details]
tests with tzlocal4.2
Comment 2 Andrej Ebert 2022-08-29 17:25:41 UTC
Created attachment 236224 [details]
portlint
Comment 3 Andrej Ebert 2022-08-29 17:25:56 UTC
Created attachment 236225 [details]
poudriere testport
Comment 4 commit-hook freebsd_committer freebsd_triage 2022-09-03 14:54:21 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ede29bbe66f42ef35ee0a4bc6614ae1a2c0b560a

commit ede29bbe66f42ef35ee0a4bc6614ae1a2c0b560a
Author:     Andrej Ebert <andrej@ebert.su>
AuthorDate: 2022-08-29 17:24:59 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-09-03 14:53:36 +0000

    devel/py-apscheduler: unbreak after 1d648e548584

    ===>   py39-apscheduler-3.9.1 depends on package: py39-tzlocal>=1.2<3 - not found
    ===>   Installing existing package /packages/All/py39-tzlocal-4.2.pkg
    Installing py39-tzlocal-4.2...
    Extracting py39-tzlocal-4.2: .......... done
    ===>   py39-apscheduler-3.9.1 depends on package: py39-tzlocal>=1.2<3 - not found
    *** Error code 1

    PR:             266102

 devel/py-apscheduler/Makefile                       |  2 +-
 devel/py-apscheduler/files/patch-tzlocal-1.2 (gone) | 14 --------------
 2 files changed, 1 insertion(+), 15 deletions(-)
Comment 5 Jan Beich freebsd_committer freebsd_triage 2022-09-03 14:55:34 UTC
Thanks. Landed.