[
https://issues.apache.org/jira/browse/CASSANDRA-17433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brad Schoening updated CASSANDRA-17433:
---------------------------------------
Description:
PEP 615 – Support for the IANA Time Zone Database in the Standard Library
PEP 615 has obsoleted the 3rd party library pytz with support for the Olsen tz
library which previously was needed for the Olsen tz database. The code which
imports this in cqlsh.py and tests in
[test_cqlsh_output.py|https://github.com/apache/cassandra/pull/1493/files/9c658a20c669d11a54ecc6b42ba083da13de0103#diff-f5a3955faadf50a1292df481044b83cefc44b2dac46676022c80bad076491a50]
should be updated accordingly.
This can be done with:
if sys.version_info < (3,9):
import pytz
was:
PEP 615 – Support for the IANA Time Zone Database in the Standard Library
PEP 615 has obsoleted the 3rd party library pytz with support for the Olsen tz
library which previously was needed for the Olsen tz database. The code which
imports this in cqlsh.py and tests in
[test_cqlsh_output.py|https://github.com/apache/cassandra/pull/1493/files/9c658a20c669d11a54ecc6b42ba083da13de0103#diff-f5a3955faadf50a1292df481044b83cefc44b2dac46676022c80bad076491a50]
should be updated accordingly.
This can be done with:
if sys.version_info < (3,9)
> Revise use of pytz in Python >= 3.9
> ------------------------------------
>
> Key: CASSANDRA-17433
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17433
> Project: Cassandra
> Issue Type: Task
> Reporter: Brad Schoening
> Priority: Normal
>
> PEP 615 – Support for the IANA Time Zone Database in the Standard Library
> PEP 615 has obsoleted the 3rd party library pytz with support for the Olsen
> tz library which previously was needed for the Olsen tz database. The code
> which imports this in cqlsh.py and tests in
> [test_cqlsh_output.py|https://github.com/apache/cassandra/pull/1493/files/9c658a20c669d11a54ecc6b42ba083da13de0103#diff-f5a3955faadf50a1292df481044b83cefc44b2dac46676022c80bad076491a50]
> should be updated accordingly.
> This can be done with:
> if sys.version_info < (3,9):
> import pytz
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]