Skip to content

Commit

Permalink
Upgrade to latest tox 4.9
Browse files Browse the repository at this point in the history
  • Loading branch information
taleinat committed Jun 24, 2024
1 parent 3071c79 commit b8cb25b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion requirements_dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ bump2version
cython
sphinx
virtualenv
tox<3
tox ~= 4.9
5 changes: 2 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -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 =
Expand All @@ -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:
Expand Down Expand Up @@ -47,4 +47,3 @@ basepython =
py310: python3.10
pypy: pypy
pypy3: pypy3
appveyor: {env:PYTHON:}\\python.exe

0 comments on commit b8cb25b

Please sign in to comment.