From 0f3e5db0c8aabcad0baf0e8b2d3e31e27e839b3e Mon Sep 17 00:00:00 2001 From: Daniel Szoke <7881302+szokeasaurusrex@users.noreply.github.com> Date: Tue, 30 Jul 2024 14:08:00 +0200 Subject: [PATCH] ci: Remove Django setuptools pin Revert #3371, which was needed to work around pypa/setuptools#4519 and allow our Django tests to run on Python 3.12. pypa/setuptools#4519 has been resolved upstream, so the workaround should no longer be needed. --- constraints.txt | 3 --- tox.ini | 1 - 2 files changed, 4 deletions(-) delete mode 100644 constraints.txt diff --git a/constraints.txt b/constraints.txt deleted file mode 100644 index 697aca1388..0000000000 --- a/constraints.txt +++ /dev/null @@ -1,3 +0,0 @@ -# Workaround for https://github.com/pypa/setuptools/issues/4519. -# Applies only for Django tests. -setuptools<72.0.0 diff --git a/tox.ini b/tox.ini index 2b5ef6d8d2..771144208d 100644 --- a/tox.ini +++ b/tox.ini @@ -646,7 +646,6 @@ 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