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:
Bruno Alla 2025-12-05 10:53:33 +01:00 committed by GitHub
parent e027f0cb77
commit 7eed4ab34d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -27,13 +27,13 @@ deps =
[testenv:base]
; Ensure optional dependencies are not required
deps =
django
django<6.0
-rrequirements/requirements-testing.txt
[testenv:dist]
commands = python -W error::DeprecationWarning -W error::PendingDeprecationWarning runtests.py --no-pkgroot --staticfiles {posargs}
deps =
django
django<6.0
-rrequirements/requirements-testing.txt
-rrequirements/requirements-optionals.txt