From 95d8a76fb74b2650c3c8abc65770b2f7985ea403 Mon Sep 17 00:00:00 2001 From: Hynek Schlawack Date: Thu, 2 Feb 2023 06:43:07 +0100 Subject: [PATCH] Unpin tox (#1093) * Unpin tox * Pass thru fake version * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .github/workflows/ci.yml | 6 +++--- tox.ini | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) 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}]