[ 
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`.

But `unittest2` is simply a backport of python 2.7+ features to older pythons.

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... 

I opened a pull request fixing this here: 
https://github.com/apache/cassandra/pull/921


> 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`.
> But `unittest2` is simply a backport of python 2.7+ features to older pythons.
> 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-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to