diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3ebfc370..f949635e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -62,7 +62,7 @@ jobs: run: | python -VV python -m site - python -m pip install --upgrade wheel 'tox<4' tox-gh-actions + python -m pip install --upgrade wheel tox tox-gh-actions - run: python -m tox @@ -134,7 +134,7 @@ jobs: # Keep in sync with tox/docs and .readthedocs.yaml. python-version: "3.10" - - run: python -m pip install --upgrade wheel 'tox<4' + - run: python -m pip install --upgrade wheel tox - run: python -m tox -e docs,changelog pyright: @@ -158,7 +158,7 @@ jobs: with: python-version: ${{env.PYTHON_LATEST}} - - run: python -m pip install --upgrade wheel 'tox<4' + - run: python -m pip install --upgrade wheel tox - run: python -m tox -e pyright install-dev: diff --git a/tox.ini b/tox.ini index c93ed4c3..992c1aeb 100644 --- a/tox.ini +++ b/tox.ini @@ -27,6 +27,7 @@ commands = [testenv] extras = tests commands = python -m pytest {posargs:-n auto} +passenv = SETUPTOOLS_SCM_PRETEND_VERSION [testenv:py3{7,10,11}]