1
0
mirror of https://github.com/pypiserver/pypiserver synced 2025-02-16 23:09:34 +01:00
pypiserver/tox.ini
Mitja O f5b4dca694
chore: remove support for Python 3.7 (end-of-life) (#637)
* chore: remove support for Python 3.7 (EOL)
- See support timeline here: <https://devguide.python.org/versions/>

* fix: mdformat
2025-01-04 12:57:39 +01:00

26 lines
658 B
INI

[tox]
envlist = py38, py39, py310, py311, py312, pypy3
[testenv]
deps=-r{toxinidir}/requirements/test.pip
allowlist_externals=
/bin/sh
sitepackages=False
commands=
/bin/sh -c "{env:PYPISERVER_SETUP_CMD:true}"
pytest --cov=pypiserver {posargs:tests}
[pytest]
norecursedirs = bin parts develop-eggs eggs venv .* _* CVS {args}
[testenv:pre_twine]
# Allow calling ``tox -e pre_twine`` to test pypiserver with the most
# recent prerelease of twine.
allowlist_externals=
tox
setenv=
PYPISERVER_SETUP_CMD=pip install --upgrade --pre --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple twine
commands=
tox