{"added":null,"apiVersion":1,"behindSince":null,"buildDepends":[],"categories":["time","python"],"comment":"Shims to make deprecation of pytz easier","compare":null,"dependentCount":null,"description":"pytz has served the Python community well for many years, but it\nis no longer the best option for providing time zones. pytz has a\nnon-standard interface that is very easy to misuse; this interface\nwas necessary when pytz was created, because datetime had no way\nto represent ambiguous datetimes, but this was solved in in Python\n3.6, which added a fold attribute to datetimes in PEP 495. With\nthe addition of the zoneinfo module in Python 3.9 (PEP 615), there\nhas never been a better time to migrate away from pytz.\n\nHowever, since pytz time zones are used very differently from a\nstandard tzinfo, and many libraries have built pytz zones into\ntheir standard time zone interface (and thus may have users relying\non the existence of the localize and normalize methods); this\nlibrary provides shim classes that are compatible with both PEP\n495 and pytz's interface, to make it easier for libraries to\ndeprecate pytz.","flavors":[{"comment":"Shims to make deprecation of pytz easier","pkgName":"py312-pytz_deprecation_shim-0.1.0.0nb2"},{"comment":"Shims to make deprecation of pytz easier","pkgName":"py313-pytz_deprecation_shim-0.1.0.0nb2"},{"comment":"Shims to make deprecation of pytz easier","pkgName":"py314-pytz_deprecation_shim-0.1.0.0nb2"}],"html":"https://daemonports.org/netbsd/time/py-pytz_deprecation_shim/","kind":"port","lastUpdate":null,"license":["apache-2.0"],"maintainer":"pkgsrc-users@NetBSD.org","name":"py311-pytz_deprecation_shim","newest":false,"newestVersion":null,"noVulnData":false,"origin":"time/py-pytz_deprecation_shim","otherSystems":[],"packages":[{"repo":"NetBSD 10.1 x86_64","versions":["0.1.0.0nb2"]},{"repo":"NetBSD 10.1 aarch64","versions":["0.1.0.0nb2"]},{"repo":"SmartOS / illumos x86_64","versions":["0.1.0.0nb2"]},{"repo":"macOS 15 arm64","versions":["0.1.0.0nb2"]}],"pkgName":"py311-pytz_deprecation_shim-0.1.0.0nb2","related":null,"repository":"pkgsrc","requiredBy":[],"requiredByCount":0,"runDepends":["lang/python311"],"status":null,"system":"netbsd","systemLabel":"NetBSD","version":"0.1.0.0nb2","versions":null,"vulnerabilities":null,"www":"https://github.com/pganssle/pytz-deprecation-shim"}
