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

[jira] [Comment Edited] (CASSANDRA-17861) Update Python test framework from nose to pytest in CCM

    [ https://issues.apache.org/jira/browse/CASSANDRA-17861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17651755#comment-17651755 ] 

Brad Schoening edited comment on CASSANDRA-17861 at 12/24/22 3:01 AM:
----------------------------------------------------------------------

I added a few minor comments on Ariel's PR.  If the concern is Python 2 (unsupported since Jan 2020), the prior release of CCM would support that and be available for anyone who wanted to continue to use that legacy version with nose, so isn't it reasonable to align trunk with supported python versions? 

Here is the Apache Airflow policy:
 * We drop support for Python and Kubernetes versions when they reach EOL. We drop support for those EOL versions in main right after EOL date, and it is effectively removed when we release the first new MINOR (Or MAJOR if there is no new MINOR version) of Airflow For example for Python 3.6 it means that we drop support in main right after 23.12.2021, and the first MAJOR or MINOR version of Airflow released after will not have it.

[Supported versions — Airflow Documentation (apache.org)|https://airflow.apache.org/docs/apache-airflow/2.2.3/installation/supported-versions.html#:~:text=EOL%20versions%20in%20main%20right%20after%20EOL%20date%2C,in%20main%20right%20after%2023.12.2021%2C%20and%20the%20first]


was (Author: bschoeni):
I added a few minor comments on Ariel's PR.  If the concern is Python 2 (unsupported since Jan 2020), the prior release of CCM would support that and be available for anyone who wanted to continue to use it with nose, so isn't it reasonable to align trunk with supported python versions? 

Here is the Apache Airflow policy:
 * We drop support for Python and Kubernetes versions when they reach EOL. We drop support for those EOL versions in main right after EOL date, and it is effectively removed when we release the first new MINOR (Or MAJOR if there is no new MINOR version) of Airflow For example for Python 3.6 it means that we drop support in main right after 23.12.2021, and the first MAJOR or MINOR version of Airflow released after will not have it.

[Supported versions — Airflow Documentation (apache.org)|https://airflow.apache.org/docs/apache-airflow/2.2.3/installation/supported-versions.html#:~:text=EOL%20versions%20in%20main%20right%20after%20EOL%20date%2C,in%20main%20right%20after%2023.12.2021%2C%20and%20the%20first]

> Update Python test framework from nose to pytest in CCM
> -------------------------------------------------------
>
>                 Key: CASSANDRA-17861
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17861
>             Project: Cassandra
>          Issue Type: Task
>          Components: Tool/external
>            Reporter: Ekaterina Dimitrova
>            Assignee: Brad Schoening
>            Priority: Low
>
> 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._
> Another migration to pytest was already done in CASSANDRA-17293 and it seems not hard but at the same time valuable.
> CC [~bschoeni] 
> [CCM|https://github.com/riptano/ccm] repo



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