[
https://issues.apache.org/jira/browse/CASSANDRA-17293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17494628#comment-17494628
]
Brad Schoening edited comment on CASSANDRA-17293 at 2/18/22, 5:21 PM:
----------------------------------------------------------------------
This would seem to be a different issue unrelated to pytest and maybe should be
a separate Jira to remove futures from requirements.txt.
The Cassandra requirements.txt has a comment which indicates this was inherited
(unnecessarily) from a driver requirement:
{{ requirements.txt:# See python driver docs: futures and six have to be
installed before}}
{{ requirements.txt:futures}}
There appears to be no use of futures in the python code.
The DataStax cassandra-driver has:
{{ futures <=2.2.0}}
{{ # Futures is not required for Python 3, but it works up through 2.2.0
(after which it introduced breaking syntax).}}
{{ # This is left here to make sure install -r works with any runtime. When
installing via setup.py, futures is omitted}}
{{ # for Python 3, in favor of the standard library implementation.}}
{{ # see PYTHON-393}}
[https://github.com/datastax/python-driver/blob/master/requirements.txt]
was (Author: bschoeni):
This would seem to be a different issue unrelated to pytest and maybe should be
a separate Jira to remove futures from requirements.txt.
The Cassandra requirements.txt has a comment which indicates this was inherited
(unnecessarily) from a driver requirement:
requirements.txt:# See python driver docs: futures and six have to be
installed before
requirements.txt:futures
There appears to be no use of futures in the python code.
The DataStax cassandra-driver states:
futures <=2.2.0
# Futures is not required for Python 3, but it works up through 2.2.0
(after which it introduced breaking syntax).
# This is left here to make sure install -r works with any runtime. When
installing via setup.py, futures is omitted
# for Python 3, in favor of the standard library implementation.
# see PYTHON-393
https://github.com/datastax/python-driver/blob/master/requirements.txt
[https://github.com/datastax/python-driver/blob/master/requirements.txt]
> Update python test framework from nose to pytest
> ------------------------------------------------
>
> Key: CASSANDRA-17293
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17293
> Project: Cassandra
> Issue Type: Task
> Components: CQL/Interpreter
> Reporter: Brad Schoening
> Assignee: Brad Schoening
> Priority: Normal
> Fix For: 4.x
>
>
> I had trouble trying to install and run the python nose test from pip
> (nosetest not found).
> According to the homepage of nose at [https://nose.readthedocs.io/en/latest/]
> h1. _Note to Users_
> _Nose has been in maintenance mode for the past several years and will likely
> cease without a new person/team to take over maintainership. New projects
> should consider using [Nose2|https://github.com/nose-devs/nose2],
> [py.test|http://pytest.org/], or just plain unittest/unittest2._
>
> Upgrading to pytest is likely the least effort.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]