Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-17268

Pin pytest-timeout version

    XMLWordPrintableJSON

Details

    Description

      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 use the latest pytest-timeout version and fail:

      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.
      

      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

      Attachments

        Activity

          People

            bereng Berenguer Blasi
            bereng Berenguer Blasi
            Berenguer Blasi
            Berenguer Blasi, Brandon Williams
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: