Skip to content

chore: Upgrade Python requirements#635

Merged
feanil merged 1 commit intomasterfrom
repo-tools/upgrade-python-requirements-17830a1
Apr 2, 2026
Merged

chore: Upgrade Python requirements#635
feanil merged 1 commit intomasterfrom
repo-tools/upgrade-python-requirements-17830a1

Conversation

@edx-requirements-bot
Copy link
Copy Markdown
Contributor

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

Deleted obsolete pull_requests:
#629

@edx-requirements-bot
Copy link
Copy Markdown
Contributor Author

List of packages in the PR without any issue.

  • binaryornot changes from 0.5.0 to 0.6.0
  • boto3 changes from 1.42.63 to 1.42.79
  • botocore changes from 1.42.63 to 1.42.79
  • build changes from 1.4.0 to 1.4.2
  • cachetools changes from 7.0.3 to 7.0.5
  • charset-normalizer changes from 3.4.5 to 3.4.6
  • coverage[toml] changes from 7.13.4 to 7.13.5
  • cryptography changes from 46.0.5 to 46.0.6
  • django-statici18n changes from 2.6.0 to 2.7.1
  • djangorestframework changes from 3.16.1 to 3.17.1
  • filelock changes from 3.25.0 to 3.25.2
  • jaraco-context changes from 6.1.1 to 6.1.2
  • nh3 changes from 0.3.3 to 0.3.4
  • pygments changes from 2.19.2 to 2.20.0
  • pyjwt changes from 2.11.0 to 2.12.1
  • python-discovery changes from 1.1.1 to 1.2.1
  • requests changes from 2.32.5 to 2.33.1
  • setuptools changes from 82.0.0 to 82.0.1
  • tox changes from 4.49.0 to 4.52.0
  • virtualenv changes from 21.1.0 to 21.2.0
  • xblock-sdk changes from 0.13.0 to 0.14.0

@edx-requirements-bot
Copy link
Copy Markdown
Contributor Author

These Packages need manual review..

  • [MAJOR] attrs changes from 25.4.0 to 26.1.0
  • [MAJOR] code-annotations changes from 2.3.2 to 3.0.0
  • [MAJOR] django changes from 5.2.12 to 6.0.3
  • [MAJOR] django-config-models changes from 2.9.0 to 3.0.0
  • [MAJOR] edx-i18n-tools changes from 1.9.0 to 2.0.0
  • [MAJOR] edx-lint changes from 5.6.0 to 6.0.0
  • [MAJOR] openedx-filters changes from 2.1.0 to 3.0.0
  • [MAJOR] web-fragments changes from 3.1.0 to 4.0.0
  • [MAJOR] xblock changes from 5.3.0 to 6.0.0

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 31, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.59%. Comparing base (17830a1) to head (84bf9ab).
⚠️ Report is 4 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #635   +/-   ##
=======================================
  Coverage   97.59%   97.59%           
=======================================
  Files          79       79           
  Lines        6871     6871           
=======================================
  Hits         6706     6706           
  Misses        165      165           
Flag Coverage Δ
unittests 97.59% <ø> (ø)

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

☔ View full report in Codecov by Sentry.
📢 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.

@feanil feanil merged commit c5b9fe6 into master Apr 2, 2026
6 checks passed
@feanil feanil deleted the repo-tools/upgrade-python-requirements-17830a1 branch April 2, 2026 14:45
@navinkarkera
Copy link
Copy Markdown
Contributor

@feanil This PR has deleted requirements/common_constraints.txt file and changed django version. Is this expected?
I am installing openedx-events as part of #627 and running make upgrade adds the constraints file back and reverts django to < 6.0.0 version.

@feanil
Copy link
Copy Markdown
Contributor

feanil commented Apr 6, 2026

That's definitely abnormal, digging into it.

@feanil
Copy link
Copy Markdown
Contributor

feanil commented Apr 6, 2026

Thanks for spotting, the latest requirements upgrade PR fixes this but the issue was that the wget to update common_constraints failed but that didn't cause the job to fail.

wget -O "requirements/common_constraints.txt" https://raw.githubusercontent.com/openedx/edx-lint/master/edx_lint/files/common_constraints.txt || touch "requirements/common_constraints.txt"
--2026-03-31 15:41:00--  https://raw.githubusercontent.com/openedx/edx-lint/master/edx_lint/files/common_constraints.txt
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.108.133, 185.199.110.133, 185.199.111.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.108.133|:443... connected.
HTTP request sent, awaiting response... 429 Too Many Requests
2026-03-31 15:41:03 ERROR 429: Too Many Requests.

Faraz32123 pushed a commit that referenced this pull request Apr 6, 2026
If we can't get the common_constraints.txt file from edx-lint it is
safer to fail than to pretend the file is empty as there are global
constraints which we want to make sure don't get missed.
See #635 for what can happen without this fix.
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.

3 participants