From 8eb517554d68dea71d5592ed8a261d38d69e987c Mon Sep 17 00:00:00 2001 From: Diana Huang Date: Tue, 11 Aug 2026 14:30:40 -0400 Subject: [PATCH 1/3] feat: Upgrade to Django 5.2. Bumps the constraint so that upgrades can bring us to Django 5.2. --- .github/workflows/unit-tests.yml | 1 - requirements/constraints.txt | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index b0b2d1326c21..d76a504f6587 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -23,7 +23,6 @@ jobs: - "3.11" django-version: - "pinned" - - "5.2" # When updating the shards, remember to make the same changes in # .github/workflows/unit-tests-gh-hosted.yml shard_name: diff --git a/requirements/constraints.txt b/requirements/constraints.txt index fa89120cca63..69ccdcb16471 100644 --- a/requirements/constraints.txt +++ b/requirements/constraints.txt @@ -19,9 +19,9 @@ # Issue for unpinning: https://github.com/openedx/edx-platform/issues/35280 celery>=5.2.2,<6.0.0 -# Date: 2024-02-02 -# Stay on LTS version, remove once this is added to common constraint -Django<5.0 +# Date: 2026-08-11 +# Stay on LTS version +Django<6.0 # Date: 2020-02-10 # django-oauth-toolkit version >=2.0.0 has breaking changes. More details From e273d46455ff724006b22f5c51d88b3bd35eac7b Mon Sep 17 00:00:00 2001 From: Diana Huang Date: Tue, 11 Aug 2026 15:10:20 -0400 Subject: [PATCH 2/3] fix: Upgrade pip-tools to compatible version. pip 25 and pip-tools 7.5.1 aren't compatible and causes errors. --- requirements/pip-tools.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements/pip-tools.txt b/requirements/pip-tools.txt index e97cb1b3d356..2751a16e008c 100644 --- a/requirements/pip-tools.txt +++ b/requirements/pip-tools.txt @@ -10,7 +10,7 @@ click==8.3.0 # via pip-tools packaging==25.0 # via build -pip-tools==7.5.1 +pip-tools==7.6.0 # via -r requirements/pip-tools.in pyproject-hooks==1.2.0 # via From 87e8c550dd576b391007e6a321914aedb6adf7c9 Mon Sep 17 00:00:00 2001 From: Diana Huang Date: Tue, 11 Aug 2026 15:18:49 -0400 Subject: [PATCH 3/3] fix: Pin pip until pip-tools is compatible. --- requirements/constraints.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/requirements/constraints.txt b/requirements/constraints.txt index 69ccdcb16471..5dfa6020535f 100644 --- a/requirements/constraints.txt +++ b/requirements/constraints.txt @@ -142,3 +142,9 @@ pact-python<3.0.0 # deploy edxapp to edx.org using python 3.11, we must pin sphinx-autoapi to avoid dependency # conflicts. Remove this constraint once we migrate to python 3.12. sphinx-autoapi<3.6.1 + +# Date 2026-08-11 +# pip 26.2 and pip-tools 7.6.0 are not compatible. +# See: https://github.com/jazzband/pip-tools/issues/2437 + +pip<26.2