Bug 266203 - devel/py-tzlocal: Change pytz to pytz-deprecation-shim
Summary: devel/py-tzlocal: Change pytz to pytz-deprecation-shim
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Wen Heping
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-03 16:44 UTC by Jesús Daniel Colmenares Oviedo
Modified: 2022-09-04 11:51 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (rob.kruus)


Attachments
patch (986 bytes, patch)
2022-09-03 16:44 UTC, Jesús Daniel Colmenares Oviedo
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jesús Daniel Colmenares Oviedo 2022-09-03 16:44:53 UTC
Created attachment 236338 [details]
patch

This port uses pytz-deprecation-shim instead of pytz. An exception is thrown when importing tzlocal. [1]

[1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265701#c4
Comment 1 Fernando Apesteguía freebsd_committer freebsd_triage 2022-09-03 17:19:26 UTC
^Triage: [tags] in issue Titles are deprecated.
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-09-04 00:33:54 UTC
A commit in branch main references this bug:

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

commit be9275b0c657f5aaf9ac3ab7450c22cfabb2bc06
Author:     Wen Heping <wen@FreeBSD.org>
AuthorDate: 2022-09-04 00:31:25 +0000
Commit:     Wen Heping <wen@FreeBSD.org>
CommitDate: 2022-09-04 00:31:25 +0000

    devel/py-tzlocal: Update DEPENDS, fix run error

    PR:             266203
    Reported by:    DtxdF@disroot.org
    Approved by:    maintainer(implicit, fix run error)

 devel/py-tzlocal/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)