-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Upgrade to tox 4 #8795
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade to tox 4 #8795
Changes from all commits
cd0a16e
c405c3e
fdacc80
2e147ba
ba2231c
70ed0d1
6162f08
5b03a0d
f502cde
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,13 @@ | ||
[tox] | ||
envlist = | ||
{py36,py37,py38,py39}-django30, | ||
{py36,py37,py38,py39}-django31, | ||
{py36,py37,py38,py39,py310}-django32, | ||
{py38,py39,py310}-{django40,django41,djangomain}, | ||
{py311}-{django41,djangomain}, | ||
base,dist,docs, | ||
|
||
[travis:env] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. config for tox-travis, I missed removing it in #7903 |
||
DJANGO = | ||
3.0: django30 | ||
3.1: django31 | ||
3.2: django32 | ||
4.0: django40 | ||
4.1: django41 | ||
main: djangomain | ||
{py36,py37,py38,py39}-django30 | ||
{py36,py37,py38,py39}-django31 | ||
{py36,py37,py38,py39,py310}-django32 | ||
{py38,py39,py310}-{django40,django41,djangomain} | ||
{py311}-{django41,djangomain} | ||
base | ||
dist | ||
docs | ||
Comment on lines
+3
to
+10
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this change is not necessary but it will reduce diff noise going forwards |
||
|
||
[testenv] | ||
commands = python -W error::DeprecationWarning -W error::PendingDeprecationWarning runtests.py --coverage {posargs} | ||
|
@@ -39,7 +32,7 @@ deps = | |
-rrequirements/requirements-testing.txt | ||
|
||
[testenv:dist] | ||
commands = ./runtests.py --no-pkgroot --staticfiles {posargs} | ||
commands = python -W error::DeprecationWarning -W error::PendingDeprecationWarning runtests.py --no-pkgroot --staticfiles {posargs} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. tox no longer allows
but we can use I also added the warning flags as added to the main |
||
deps = | ||
django | ||
-rrequirements/requirements-testing.txt | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this run is no longer required because tox now uses isolated builds by default.
We need to remove it because
--installpkg
seems to be incompatible withdeps
, or some other option we're using, leading to: