Bug 266203

Summary: devel/py-tzlocal: Change pytz to pytz-deprecation-shim
Product: Ports & Packages Reporter: Jesús Daniel Colmenares Oviedo <DtxdF>
Component: Individual Port(s)Assignee: Wen Heping <wen>
Status: Closed FIXED    
Severity: Affects Only Me CC: fernape, rob.kruus, wen
Priority: --- Flags: bugzilla: maintainer-feedback? (rob.kruus)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch none

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(-)