* 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>
This commit is contained in:
Hynek Schlawack 2023-02-02 06:43:07 +01:00 committed by GitHub
parent 9d23ae9536
commit 95d8a76fb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View File

@ -62,7 +62,7 @@ jobs:
run: | run: |
python -VV python -VV
python -m site 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 - run: python -m tox
@ -134,7 +134,7 @@ jobs:
# Keep in sync with tox/docs and .readthedocs.yaml. # Keep in sync with tox/docs and .readthedocs.yaml.
python-version: "3.10" 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 - run: python -m tox -e docs,changelog
pyright: pyright:
@ -158,7 +158,7 @@ jobs:
with: with:
python-version: ${{env.PYTHON_LATEST}} 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 - run: python -m tox -e pyright
install-dev: install-dev:

View File

@ -27,6 +27,7 @@ commands =
[testenv] [testenv]
extras = tests extras = tests
commands = python -m pytest {posargs:-n auto} commands = python -m pytest {posargs:-n auto}
passenv = SETUPTOOLS_SCM_PRETEND_VERSION
[testenv:py3{7,10,11}] [testenv:py3{7,10,11}]