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: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected]
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.fc36.src.rpm
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
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue