Skip to content

Bump python to 3.12 - #1834

Merged
swrichards merged 6 commits into
developfrom
bump-python3.12-retry
Sep 18, 2025
Merged

swrichards merged 6 commits into
developfrom
bump-python3.12-retry

Conversation

@swrichards

@swrichards swrichards commented Jul 16, 2025

Copy link
Copy Markdown
Collaborator

Summary

This PR bumps our Python version to 3.12. The main issue was getting the Docker build right (which required removing the lxml/xmlsec packages from the Docker build, so that uWSGI can use the pre-built binaries from pip). Otherwise it was simply a matter of upgrading some packages with no breaking changes on our end.

Issue References

Checklist

  • CHANGELOG.rst updated

@codecov-commenter

codecov-commenter commented Jul 16, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.99%. Comparing base (93abbec) to head (3290664).
⚠️ Report is 559 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #1834   +/-   ##
========================================
  Coverage    93.99%   93.99%           
========================================
  Files         1154     1154           
  Lines        44374    44374           
========================================
  Hits         41708    41708           
  Misses        2666     2666           

☔ 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.

@swrichards
swrichards force-pushed the bump-python3.12-retry branch from ff916f2 to 3535444 Compare July 16, 2025 20:37
@swrichards
swrichards force-pushed the bump-python3.12-retry branch 7 times, most recently from 4e8f018 to 03cd258 Compare August 14, 2025 19:57
@swrichards
swrichards force-pushed the bump-python3.12-retry branch 4 times, most recently from 7105609 to 1037a2c Compare August 21, 2025 10:31
@swrichards
swrichards force-pushed the bump-python3.12-retry branch 3 times, most recently from 9826613 to 8e6f0b6 Compare September 2, 2025 20:17
@swrichards
swrichards force-pushed the bump-python3.12-retry branch 3 times, most recently from f764283 to 5f0bb91 Compare September 9, 2025 21:22
@swrichards
swrichards force-pushed the bump-python3.12-retry branch from 5f0bb91 to 4b3ecd8 Compare September 11, 2025 16:53
@swrichards
swrichards force-pushed the bump-python3.12-retry branch 6 times, most recently from bec3dbd to a2b01aa Compare September 18, 2025 13:24
@swrichards
swrichards marked this pull request as ready for review September 18, 2025 14:23
@swrichards
swrichards force-pushed the bump-python3.12-retry branch from a2b01aa to a82b070 Compare September 18, 2025 14:31
swrichards and others added 5 commits September 18, 2025 16:32
When libxml is installed (which it is through installing libxml2-dev),
then pip compiles lxml from source against the system libxml. This has
caused a mismatch between the system libxml available at runtime and the
libxml that lxml was compiled against during the build stage. Without
libxml on the system, pip falls back on pre-built binary wheels, which
have their own version of libxml built in.

Refs: https://taiga.maykinmedia.nl/project/maykin-intranet/issue/1169
@swrichards
swrichards force-pushed the bump-python3.12-retry branch from a82b070 to 3290664 Compare September 18, 2025 14:32
@swrichards swrichards changed the title Bump to python 3.12 (iteration 2) Bump python to 3.12 Sep 18, 2025
@swrichards
swrichards merged commit 353a2f5 into develop Sep 18, 2025
23 checks passed
@swrichards
swrichards deleted the bump-python3.12-retry branch September 18, 2025 15:19
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