Remove special-casing of pretend version for pytest (#1124)

* Remove special-casing of pretend version for pytest

ref https://github.com/pytest-dev/pytest/pull/10669

* Use a version that is used in our examples.

* Update .github/workflows/ci.yml

Co-authored-by: chrysle <fritzihab@posteo.de>

---------

Co-authored-by: chrysle <fritzihab@posteo.de>
This commit is contained in:
Hynek Schlawack 2023-04-10 11:41:10 +02:00 committed by GitHub
parent 7d55876ed3
commit d1aaeeed78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -16,8 +16,8 @@ env:
PIP_NO_PYTHON_VERSION_WARNING: "1" PIP_NO_PYTHON_VERSION_WARNING: "1"
# Keep in sync with .pre-commit-config.yaml/default_language_version/python. # Keep in sync with .pre-commit-config.yaml/default_language_version/python.
PYTHON_LATEST: "3.11" PYTHON_LATEST: "3.11"
# Avoid warnings about shallow checkout, but also make sure pytest accepts us. # Use oldest version used in doctests / examples.
SETUPTOOLS_SCM_PRETEND_VERSION: "99.9.9" SETUPTOOLS_SCM_PRETEND_VERSION: "19.2.0"
permissions: permissions:
contents: read contents: read