You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Bret McGuire (Jira)" <ji...@apache.org> on 2026/02/24 23:58:00 UTC

[jira] [Updated] (CASSPYTHON-10) Use packaging.version for cassandra.util.Version

     [ https://issues.apache.org/jira/browse/CASSPYTHON-10?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bret McGuire updated CASSPYTHON-10:
-----------------------------------
    Description: 
Lifted version of [PYTHON-1395|https://datastax-oss.atlassian.net/browse/PYTHON-1395].  Original description follows:

The class cassandra.util.Version has [the comment|https://github.com/apache/cassandra-python-driver/blob/3.29.3/cassandra/util.py#L1696-L1701]:

 
{noformat}
    """
    Internal minimalist class to compare versions.
    A valid version is: <int>.<int>.<int>.<int or str>.    TODO: when python2 support is removed, use packaging.version.
    """{noformat}
This is used in dtests and may be causing some compatibility issues.

  was:
Lifted version of [PYTHON-1395|https://datastax-oss.atlassian.net/browse/PYTHON-1395].  Original description follows:



The class cassandra.util.Version has the comment:

 
{noformat}
    """
    Internal minimalist class to compare versions.
    A valid version is: <int>.<int>.<int>.<int or str>.    TODO: when python2 support is removed, use packaging.version.
    """{noformat}

This is used in dtests and may be causing some compatibility issues.


> Use packaging.version for cassandra.util.Version
> ------------------------------------------------
>
>                 Key: CASSPYTHON-10
>                 URL: https://issues.apache.org/jira/browse/CASSPYTHON-10
>             Project: Apache Cassandra Python driver
>          Issue Type: Bug
>            Reporter: Bret McGuire
>            Priority: Normal
>
> Lifted version of [PYTHON-1395|https://datastax-oss.atlassian.net/browse/PYTHON-1395].  Original description follows:
> The class cassandra.util.Version has [the comment|https://github.com/apache/cassandra-python-driver/blob/3.29.3/cassandra/util.py#L1696-L1701]:
>  
> {noformat}
>     """
>     Internal minimalist class to compare versions.
>     A valid version is: <int>.<int>.<int>.<int or str>.    TODO: when python2 support is removed, use packaging.version.
>     """{noformat}
> This is used in dtests and may be causing some compatibility issues.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org