Skip to content

chore: Upgrade Python requirements - #2424

Merged
pomegranited merged 4 commits into
masterfrom
repo-tools/upgrade-python-requirements-214e0d1
Sep 30, 2026
Merged

pomegranited merged 4 commits into
masterfrom
repo-tools/upgrade-python-requirements-214e0d1

Conversation

@edx-requirements-bot

Copy link
Copy Markdown
Contributor

Python requirements update. Please review the changelogs for the upgraded packages.

Deleted obsolete pull_requests:
#2421

@edx-requirements-bot

Copy link
Copy Markdown
Contributor Author

List of packages in the PR without any issue.

  • anyio changes from 4.13.0 to 4.14.2
  • asgiref changes from 3.11.1 to 3.12.1
  • beautifulsoup4 changes from 4.14.3 to 4.15.0
  • bleach changes from 6.3.0 to 6.4.0
  • boto3 changes from 1.43.22 to 1.43.51
  • botocore changes from 1.43.22 to 1.43.51
  • certifi changes from 2026.5.20 to 2026.6.17
  • cffi changes from 2.0.0 to 2.1.0
  • charset-normalizer changes from 3.4.7 to 3.4.9
  • click changes from 8.4.1 to 8.4.2
  • coverage[toml] changes from 7.14.1 to 7.15.2
  • distlib changes from 0.4.1 to 0.4.3
  • django changes from 5.2.15 to 5.2.16
  • django-simple-history changes from 3.11.0 to 3.12.0
  • edx-submissions changes from 4.0.0 to 4.0.1
  • faker changes from 40.21.0 to 40.31.0
  • filelock changes from 3.29.1 to 3.31.0
  • openedx-filters changes from 3.4.1 to 3.8.0
  • pip-tools changes from 7.5.3 to 7.6.0
  • platformdirs changes from 4.10.0 to 4.10.1
  • pytest changes from 9.0.3 to 9.1.1
  • python-discovery changes from 1.4.0 to 1.4.4
  • responses changes from 0.26.1 to 0.26.2
  • s3transfer changes from 0.18.0 to 0.19.1
  • sphinxcontrib-mermaid changes from 2.0.2 to 2.0.3
  • starlette changes from 1.2.1 to 1.3.1
  • stevedore changes from 5.8.0 to 5.9.0
  • testfixtures changes from 12.0.0 to 12.3.0
  • tomlkit changes from 0.15.0 to 0.15.1
  • tox changes from 4.55.1 to 4.57.0
  • typer changes from 0.26.7 to 0.27.0
  • typing-extensions changes from 4.15.0 to 4.16.0
  • tzdata changes from 2026.2 to 2026.3
  • tzlocal changes from 5.3.1 to 5.4.4
  • uvicorn changes from 0.49.0 to 0.51.0
  • virtualenv changes from 21.4.2 to 21.6.1
  • wcwidth changes from 0.7.0 to 0.8.2
  • websockets changes from 16.0 to 16.1.1
  • xblock changes from 6.1.0 to 6.3.1

@edx-requirements-bot

Copy link
Copy Markdown
Contributor Author

These Packages need manual review..

  • [MAJOR] cryptography changes from 48.0.0 to 49.0.0
  • [MAJOR] lazy changes from 1.6 to 2.0
  • [MAJOR] setuptools changes from 82.0.1 to 83.0.0
  • [REMOVED] web-fragments (4.0.0) removed from the requirements

@codecov

codecov Bot commented Jul 18, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.46%. Comparing base (72f3bfe) to head (da1a251).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2424   +/-   ##
=======================================
  Coverage   95.46%   95.46%           
=======================================
  Files         198      198           
  Lines       22842    22842           
  Branches     1551     1551           
=======================================
  Hits        21807    21807           
  Misses        780      780           
  Partials      255      255           
Flag Coverage Δ
unittests 95.46% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@pomegranited
pomegranited force-pushed the repo-tools/upgrade-python-requirements-214e0d1 branch from ccc021c to 1c7b9cf Compare September 30, 2026 03:12
* Dropped CI + tox runs for python 3.11 + Django 4.2,
  so bumped package version.
* DRF 3.16+ defaults LIST_SERIALIZER_ERRORS_AS_DICT to True, so
  clean item errors are omitted now rather than represented as empty dicts.
* tox fails in local test envs with a non-standard AWS_DEFAULT_REGION,
  so default added to tox config.
@pomegranited
pomegranited force-pushed the repo-tools/upgrade-python-requirements-214e0d1 branch from 1c7b9cf to da1a251 Compare September 30, 2026 03:20
@pomegranited

Copy link
Copy Markdown
Contributor

FYI: I pushed fec29e5 to incorporate these dependabot updates into this single PR:

da1a251 shows the tests that needed repairing after these updates.

^ includes the removal of the py311+django42 test coverage surface, which was also failing after these upgrades. Package version bumped to reflect this removal.

@pomegranited pomegranited left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

  • I tested this green CI is sufficient
  • I have bumped this package's version
  • I read through the code change and checked the dependencies updated for breaking changes.

@pomegranited
pomegranited merged commit 1b7ae59 into master Sep 30, 2026
10 of 11 checks passed
@pomegranited
pomegranited deleted the repo-tools/upgrade-python-requirements-214e0d1 branch September 30, 2026 03:35
feanil added a commit that referenced this pull request Oct 1, 2026
Patch bump for the MathJax fix, on top of the 7.2 release that landed
on master in #2424.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
salman2013 added a commit to salman2013/edx-ora2 that referenced this pull request Oct 6, 2026
…tooling

Keeps the legacy pip-tools requirements/*.txt, openassessment/__init__.py
version string, and .github/workflows/pypi-publish.yml deleted, since
they're superseded by uv.lock, setuptools-scm, and release.yml
respectively.

Resolves the ci.yml/tox.ini conflict by dropping the django42 tox
env/CI matrix entry/pyproject.toml dependency group, matching upstream's
openedx#2424 decision to only test Django 5.2 going forward, and switches the
js tox env to the "test" dependency group now that django42 is gone.

Upgrades edx-lint (6.1.0 -> 6.2.0) and djangorestframework (3.17.1 ->
3.18.1) in uv.lock to match the versions upstream's own requirements
upgrade already validated and wrote pylintrc/test fixes against.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants