Skip to content

Commit f072af7

Browse files
szokeasaurusrexarjenzorgdoc
authored andcommitted
ci: Workaround bug preventing Django test runs (getsentry#3371)
Workaround pypa/setuptools#4519 by constraining `setuptools<72.0.0` when installing dependencies for Django tests.
1 parent 128c323 commit f072af7

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Diff for: constraints.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Workaround for https://github.com/pypa/setuptools/issues/4519.
2+
# Applies only for Django tests.
3+
setuptools<72.0.0

Diff for: tox.ini

+1
Original file line numberDiff line numberDiff line change
@@ -648,6 +648,7 @@ setenv =
648648
OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
649649
COVERAGE_FILE=.coverage-{envname}
650650
django: DJANGO_SETTINGS_MODULE=tests.integrations.django.myapp.settings
651+
py3.12-django: PIP_CONSTRAINT=constraints.txt
651652

652653
common: TESTPATH=tests
653654
gevent: TESTPATH=tests

0 commit comments

Comments
 (0)