https://bugzilla.redhat.com/show_bug.cgi?id=2121797
Bug ID: 2121797
Summary: Review Request: python-pytz-deprecation-shim - Shims
to help you safely remove pytz
Product: Fedora
Version: rawhide
Hardware: All
OS: Linux
Status: NEW
Component: Package Review
Severity: medium
Priority: medium
Assignee: nobody(a)fedoraproject.org
Reporter: code(a)musicinmybrain.net
QA Contact: extras-qa(a)fedoraproject.org
CC: package-review(a)lists.fedoraproject.org
Target Milestone: ---
Classification: Fedora
Spec URL:
https://music.fedorapeople.org/python-pytz-deprecation-shim.spec
SRPM URL:
https://music.fedorapeople.org/python-pytz-deprecation-shim-0.1.0.post0-1...
Description:
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 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.
Fedora Account System Username: music
Koji scratch builds:
F38:
https://koji.fedoraproject.org/koji/taskinfo?taskID=91285379
F37:
https://koji.fedoraproject.org/koji/taskinfo?taskID=91285834
F36:
https://koji.fedoraproject.org/koji/taskinfo?taskID=91285934
F35:
https://koji.fedoraproject.org/koji/taskinfo?taskID=91286023
This is a prerequisite for updating python-tzlocal.
--
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2121797