mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-12-07 10:14:05 +03:00
Add upper bounds to tox targets (#9838)
To avoid them breaking when a new version of Django comes out
Co-authored-by: Asif Saif Uddin {"Auvi":"অভি"} <auvipy@gmail.com>
This commit is contained in:
parent
e027f0cb77
commit
7eed4ab34d
4
tox.ini
4
tox.ini
|
|
@ -27,13 +27,13 @@ deps =
|
||||||
[testenv:base]
|
[testenv:base]
|
||||||
; Ensure optional dependencies are not required
|
; Ensure optional dependencies are not required
|
||||||
deps =
|
deps =
|
||||||
django
|
django<6.0
|
||||||
-rrequirements/requirements-testing.txt
|
-rrequirements/requirements-testing.txt
|
||||||
|
|
||||||
[testenv:dist]
|
[testenv:dist]
|
||||||
commands = python -W error::DeprecationWarning -W error::PendingDeprecationWarning runtests.py --no-pkgroot --staticfiles {posargs}
|
commands = python -W error::DeprecationWarning -W error::PendingDeprecationWarning runtests.py --no-pkgroot --staticfiles {posargs}
|
||||||
deps =
|
deps =
|
||||||
django
|
django<6.0
|
||||||
-rrequirements/requirements-testing.txt
|
-rrequirements/requirements-testing.txt
|
||||||
-rrequirements/requirements-optionals.txt
|
-rrequirements/requirements-optionals.txt
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user