You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jeff Widman (Jira)" <ji...@apache.org> on 2021/03/09 09:19:00 UTC
[jira] [Updated] (CASSANDRA-16506) Drop unittest2 dependency since
we no longer support python < 2.7
[ https://issues.apache.org/jira/browse/CASSANDRA-16506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeff Widman updated CASSANDRA-16506:
------------------------------------
Description:
`cqlsh` has a dependency on `unittest2`. As noted in the code comment, this is only useful for testing against python versions < 2.7 because newer versions of python auto include these features in the version of `unittest` shipped with the standard library.
Given that support for Python 2.7 is itself now deprecated in favor of Python 3 support, there's no need to include the `unittest2` import...
I opened a pull request fixing this here: https://github.com/apache/cassandra/pull/921
was:
`cqlsh` has a dependency on `unittest2`. As noted in the code comment, this is only useful for testing against python versions < 2.7 because newer versions of python auto include these features in the version of `unittest` shipped with the standard library.
Given that support for Python 2.7 is itself now deprecated in favor of Python 3 support, there's no need to include the `unittest2` import...
> Drop unittest2 dependency since we no longer support python < 2.7
> -----------------------------------------------------------------
>
> Key: CASSANDRA-16506
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16506
> Project: Cassandra
> Issue Type: Task
> Reporter: Jeff Widman
> Assignee: Jeff Widman
> Priority: Normal
> Time Spent: 10m
> Remaining Estimate: 0h
>
> `cqlsh` has a dependency on `unittest2`. As noted in the code comment, this is only useful for testing against python versions < 2.7 because newer versions of python auto include these features in the version of `unittest` shipped with the standard library.
> Given that support for Python 2.7 is itself now deprecated in favor of Python 3 support, there's no need to include the `unittest2` import...
> I opened a pull request fixing this here: https://github.com/apache/cassandra/pull/921
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org