Skip to content

Commit

Permalink
ci: Workaround bug preventing Django test runs (#3371)
Browse files Browse the repository at this point in the history
Workaround pypa/setuptools#4519 by constraining `setuptools<72.0.0` when installing dependencies for Django tests.
  • Loading branch information
szokeasaurusrex authored Jul 29, 2024
1 parent 194e430 commit c9765cd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions constraints.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Workaround for https://github.com/pypa/setuptools/issues/4519.
# Applies only for Django tests.
setuptools<72.0.0
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -648,6 +648,7 @@ setenv =
OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
COVERAGE_FILE=.coverage-{envname}
django: DJANGO_SETTINGS_MODULE=tests.integrations.django.myapp.settings
py3.12-django: PIP_CONSTRAINT=constraints.txt

common: TESTPATH=tests
gevent: TESTPATH=tests
Expand Down

0 comments on commit c9765cd

Please sign in to comment.