{"added":null,"apiVersion":1,"behindSince":null,"buildDepends":[],"categories":["devel","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 is no longer\nthe best option for providing time zones. pytz has a non-standard interface that\nis very easy to misuse; this interface was necessary when pytz was created,\nbecause datetime had no way to represent ambiguous datetimes, but this was\nsolved in Python 3.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 has never\nbeen a better time to migrate away from pytz.\n\nHowever, since pytz time zones are used very differently from a standard tzinfo,\nand many libraries have built pytz zones into their standard time zone interface\n(and thus may have users relying on the existence of the localize and normalize\nmethods); this library provides shim classes that are compatible with both PEP\n495 and pytz's interface, to make it easier for libraries to deprecate pytz.","flavors":[],"html":"https://daemonports.org/dragonfly/devel/py-pytz-deprecation-shim/","kind":"port","lastUpdate":null,"license":["APACHE20"],"maintainer":"sunpoet@FreeBSD.org","name":"py311-pytz-deprecation-shim","newest":true,"newestVersion":"0.1.0.post0","noVulnData":false,"origin":"devel/py-pytz-deprecation-shim","otherSystems":[{"maintainer":"sunpoet@FreeBSD.org","newest":true,"origin":"devel/py-pytz-deprecation-shim","path":"/devel/py-pytz-deprecation-shim/","system":"FreeBSD","version":"0.1.0.post0_3"},{"maintainer":"sunpoet@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/py-pytz-deprecation-shim","path":"","system":"HardenedBSD","version":"0.1.0.post0_3"},{"maintainer":"sunpoet@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/py-pytz-deprecation-shim","path":"","system":"GhostBSD","version":"0.1.0.post0_3"}],"packages":null,"pkgName":"py311-pytz-deprecation-shim-0.1.0.post0_3","related":null,"repository":"DPorts","requiredBy":["devel/py-tzlocal","textproc/py-extract-msg"],"requiredByCount":2,"runDepends":["devel/py-tzdata","lang/python311"],"status":null,"system":"dragonfly","systemLabel":"DragonFly","version":"0.1.0.post0_3","versions":null,"vulnerabilities":null,"www":"https://github.com/pganssle/pytz-deprecation-shim"}
