You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Berenguer Blasi (Jira)" <ji...@apache.org> on 2022/01/19 07:20:00 UTC

[jira] [Commented] (CASSANDRA-17268) Pin pytest-timeout version

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

Berenguer Blasi commented on CASSANDRA-17268:
---------------------------------------------

|dtest PR|https://github.com/apache/cassandra-dtest/pull/174|
|2.2||
|3.0||
|3.11||
|4.0|[j11|https://app.circleci.com/pipelines/github/bereng/cassandra/556/workflows/5925d82e-a015-454f-bfa9-eb17ef7d78ce] & [j8|https://app.circleci.com/pipelines/github/bereng/cassandra/556/workflows/4a3fc6db-1d04-4104-851d-6f1fa6ff3f98]|
|trunk||


> Pin pytest-timeout version
> --------------------------
>
>                 Key: CASSANDRA-17268
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17268
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Test/dtest/python
>            Reporter: Berenguer Blasi
>            Assignee: Berenguer Blasi
>            Priority: Normal
>             Fix For: 2.2.x, 3.0.x, 3.11.x, 4.0.x, 4.x
>
>
> File {{requirements.txt}} doesn't specify a version for pytest-timeout which will download the latest. Any version >1.4.2 requires pytest >5 and we're pinned at 3.6.4 atm. A fresh install will download and attempt to us the latest pytest-timeout version and fail:
> {noformat}
> Collecting pytest-timeout
>  Using cached pytest_timeout-2.0.2-py3-none-any.whl (11 kB)
> ERROR: pytest-timeout 2.0.2 has requirement pytest>=5.0.0, but you'll have pytest 3.6.4 which is incompatible.
> {noformat}
> it isn't currently failing on local and CI envs bc v1.4.2 is usually cached in the system and the automatic fallback to 1.4.2 prevents it.
> The solution is to pin the version to 1.4.2



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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