Upgrade to latest tox 4.9

This commit is contained in:
Tal Einat 2024-06-24 22:45:18 +03:00
parent 3071c79d32
commit b8cb25b78c
No known key found for this signature in database
GPG Key ID: 613A98AF4C800CDA
4 changed files with 6 additions and 7 deletions

View File

@ -69,7 +69,7 @@ install:
pypy3/bin/pypy3 get-pip.py;
;;
esac
- PATH=$(pwd -P)/pypy3/bin:$PATH python -m pip install coveralls virtualenv "tox<3"
- PATH=$(pwd -P)/pypy3/bin:$PATH python -m pip install coveralls virtualenv "tox ~= 4.9"
script:
- PATH=$(pwd -P)/pypy3/bin:$PATH tox -v

View File

@ -52,7 +52,7 @@ install:
- 'set PATH=%PYTHON_APPDATA_DIR%\Scripts;%PYTHON%\Scripts;%PYTHON%;%PATH%'
- 'python -m pip install --user -U pip setuptools'
- 'pip install --user virtualenv'
- 'pip install --user "tox<3"'
- 'pip install --user "tox~=4.9"'
- 'pip install --user coveralls'
# We need wheel installed to build wheels
- 'pip install --user wheel'
@ -61,7 +61,7 @@ build_script:
- 'call' # Do nothing.
test_script:
- 'build.cmd tox -e %TOX_ENV%-without_coverage-appveyor -v'
- 'build.cmd tox run -e %TOX_ENV%-without_coverage --discover %PYTHON% -v'
after_test:
- 'build.cmd python setup.py bdist_wheel'

View File

@ -2,4 +2,4 @@ bump2version
cython
sphinx
virtualenv
tox<3
tox ~= 4.9

View File

@ -1,5 +1,5 @@
[tox]
envlist = {py27,py35,py36,py37,py38,py39,py310,pypy,pypy3}-{with,without}_coverage-{,appveyor}
envlist = {py27,py35,py36,py37,py38,py39,py310,pypy,pypy3}-{with,without}_coverage
[testenv]
install_command =
@ -17,7 +17,7 @@ deps =
{py27,pypy}: mock==1.3.0
{py27,py35}: biopython<=1.76
{py36,py37,py38,py39,py310,py311,pypy3}: biopython
whitelist_externals =
allowlist_externals =
mv
commands =
; Notes:
@ -47,4 +47,3 @@ basepython =
py310: python3.10
pypy: pypy
pypy3: pypy3
appveyor: {env:PYTHON:}\\python.exe