time/py-pytz_deprecation_shim - The NetBSD Packages Collection

Shims to make deprecation of pytz easier

pytz has served the Python community well for many years, but it
is no longer the best option for providing time zones. pytz has a
non-standard interface that is very easy to misuse; this interface
was necessary when pytz was created, because datetime had no way
to represent ambiguous datetimes, but this was solved in in Python
3.6, which added a fold attribute to datetimes in PEP 495. With
the addition of the zoneinfo module in Python 3.9 (PEP 615), there
has never been a better time to migrate away from pytz.

However, since pytz time zones are used very differently from a
standard tzinfo, and many libraries have built pytz zones into
their standard time zone interface (and thus may have users relying
on the existence of the localize and normalize methods); this
library provides shim classes that are compatible with both PEP
495 and pytz's interface, to make it easier for libraries to
deprecate pytz.

Build dependencies

devel/py-setuptools devel/py-build misc/py-installer pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

lang/python312 lang/python312

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64py310-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0aarch64py311-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0aarch64py312-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0aarch64py310-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0aarch64py311-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0aarch64py312-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0aarch64py38-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0aarch64py39-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0aarch64ebpy310-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0aarch64ebpy311-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0aarch64ebpy312-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0aarch64ebpy38-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0aarch64ebpy39-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0aarch64ebpy310-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0aarch64ebpy311-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0aarch64ebpy312-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0aarch64ebpy38-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0aarch64ebpy39-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0alphapy310-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0alphapy311-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0alphapy312-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0alphapy38-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0alphapy39-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0alphapy310-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0alphapy311-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0alphapy312-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0alphapy38-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0alphapy39-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0earmv6hfpy310-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0earmv6hfpy311-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0earmv6hfpy312-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0earmv6hfpy310-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0earmv6hfpy311-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0earmv6hfpy312-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0earmv6hfpy38-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0earmv6hfpy39-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0earmv6hfpy310-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0earmv6hfpy311-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0earmv6hfpy312-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0earmv6hfpy38-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0earmv6hfpy39-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0earmv7hfpy310-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0earmv7hfpy311-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0earmv7hfpy312-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0earmv7hfpy310-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0earmv7hfpy311-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0earmv7hfpy312-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0earmv7hfpy38-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0earmv7hfpy39-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0earmv7hfpy310-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0earmv7hfpy311-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0earmv7hfpy312-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0earmv7hfpy38-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0earmv7hfpy39-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0i386py310-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0i386py311-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0i386py312-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0i386py310-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0i386py311-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0i386py312-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0i386py38-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0i386py39-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0powerpcpy310-pytz_deprecation_shim-0.1.0.0.tgz
NetBSD 10.0powerpcpy311-pytz_deprecation_shim-0.1.0.0.tgz
NetBSD 10.0powerpcpy38-pytz_deprecation_shim-0.1.0.0.tgz
NetBSD 10.0powerpcpy39-pytz_deprecation_shim-0.1.0.0.tgz
NetBSD 10.0powerpcpy310-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0powerpcpy311-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0powerpcpy312-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0powerpcpy38-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0powerpcpy39-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0powerpcpy310-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0powerpcpy311-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0powerpcpy312-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0powerpcpy38-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0powerpcpy39-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0sh3elpy310-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0sh3elpy311-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0sh3elpy312-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0sh3elpy38-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0sh3elpy39-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0sh3elpy310-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0sh3elpy311-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0sh3elpy312-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0sh3elpy38-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0sh3elpy39-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0sparc64py310-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0sparc64py311-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0sparc64py312-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0sparc64py38-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0sparc64py39-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0sparc64py310-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0sparc64py311-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0sparc64py312-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0sparc64py38-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0sparc64py39-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0sparcpy310-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0sparcpy311-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0sparcpy312-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0sparcpy38-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0sparcpy39-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0sparcpy310-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0sparcpy311-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0sparcpy312-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0sparcpy38-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0sparcpy39-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0x86_64py310-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0x86_64py311-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0x86_64py312-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0x86_64py310-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0x86_64py311-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0x86_64py312-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0x86_64py38-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 10.0x86_64py39-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0aarch64py310-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0aarch64py311-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0aarch64py312-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0aarch64py310-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0aarch64py311-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0aarch64py312-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0aarch64py38-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0aarch64py39-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0alphapy310-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0alphapy311-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0alphapy38-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0alphapy39-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0alphapy310-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0alphapy311-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0alphapy38-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0alphapy39-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0earmv6hfpy310-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0earmv6hfpy311-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0earmv6hfpy312-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0earmv6hfpy310-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0earmv6hfpy311-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0earmv6hfpy38-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0earmv6hfpy39-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0earmv6hfpy310-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0earmv6hfpy311-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0earmv6hfpy38-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0earmv6hfpy39-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0earmv7hfpy310-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0earmv7hfpy311-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0earmv7hfpy312-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0earmv7hfpy310-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0earmv7hfpy311-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0earmv7hfpy38-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0earmv7hfpy39-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0earmv7hfpy310-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0earmv7hfpy311-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0earmv7hfpy38-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0earmv7hfpy39-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0i386py310-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0i386py311-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0i386py312-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0i386py310-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0i386py311-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0i386py312-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0i386py38-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0i386py39-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0powerpcpy310-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0powerpcpy311-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0powerpcpy312-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0powerpcpy38-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0powerpcpy39-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0powerpcpy310-pytz_deprecation_shim-0.1.0.0.tgz
NetBSD 9.0powerpcpy311-pytz_deprecation_shim-0.1.0.0.tgz
NetBSD 9.0powerpcpy38-pytz_deprecation_shim-0.1.0.0.tgz
NetBSD 9.0powerpcpy39-pytz_deprecation_shim-0.1.0.0.tgz
NetBSD 9.0powerpcpy310-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0powerpcpy311-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0powerpcpy312-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0powerpcpy38-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0powerpcpy39-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0sparc64py310-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0sparc64py311-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0sparc64py312-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0sparc64py38-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0sparc64py39-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0x86_64py310-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0x86_64py311-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0x86_64py312-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0x86_64py310-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0x86_64py311-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0x86_64py312-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0x86_64py38-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.0x86_64py39-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.3x86_64py310-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.3x86_64py311-pytz_deprecation_shim-0.1.0.0nb1.tgz
NetBSD 9.3x86_64py312-pytz_deprecation_shim-0.1.0.0nb1.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.