Details
-
Task
-
Status: Resolved
-
Low
-
Resolution: Fixed
-
None
-
Code Clarity
-
Low Hanging Fruit
-
All
-
None
-
Description
PEP 615 – Support for the IANA Time Zone Database in the Standard Library class ZoneInfo
PEP 615 (Python 3.9) has obsoleted the 3rd party Olsen tz library 'pytz' with support for the IANA Time Zone Database. The code which imports this in cqlshmain.py and tests in test_cqlsh_output.py should be updated accordingly.
This can be done with something like:
if sys.version_info >= (3,9):
try:
import zoneinfo
else:
try:
import pytz
...
Attachments
Issue Links
- links to