[Bug 276281] lang/python39 fails to include tzset in time module

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 12 Jan 2024 20:39:57 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276281

            Bug ID: 276281
           Summary: lang/python39 fails to include tzset in time module
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: python@FreeBSD.org
          Reporter: kenj@kenj.id.au
          Assignee: python@FreeBSD.org
             Flags: maintainer-feedback?(python@FreeBSD.org)

This looks like a regression because it worked prior to an upgrade to FreeBSD
14 and works *everywhere* else (other *BSD's, all Linux variants, etc).

kenj@vm10:~/src/pcp/qa$ python3 -c 'from time import tzset'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: cannot import name 'tzset' from 'time' (unknown location)

My python is the bog standard package from FreeBSD 14, namely
kenj@vm10:~/src/pcp/qa$ pkg info python3
python3-3_3
Name           : python3
Version        : 3_3
Installed on   : Wed Jan 10 15:40:56 2024 AEDT
Origin         : lang/python3
Architecture   : FreeBSD:14:*
Prefix         : /usr/local
Categories     : python lang
Licenses       : 
Maintainer     : python@FreeBSD.org
WWW            : https://www.python.org/
Comment        : Meta-port for the Python interpreter 3.x
Annotations    :
        build_timestamp: 2023-12-23T03:14:23+0000
        built_by       : poudriere-git-3.4.0
        port_checkout_unclean: no
        port_git_hash  : 2b5c95373
        ports_top_checkout_unclean: no
        ports_top_git_hash: 9d5f5f8e2
        repo_type      : binary
        repository     : FreeBSD

-- 
You are receiving this mail because:
You are the assignee for the bug.