Open
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## camd/back-end-package-upgrade-phase-2 #9321 +/- ##
======================================================================
Coverage 82.55% 82.55%
======================================================================
Files 616 616
Lines 35312 35312
Branches 3323 3313 -10
======================================================================
+ Hits 29152 29153 +1
+ Misses 5816 5815 -1
Partials 344 344 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Collaborator
|
Just want to make a note here that I've filed an issue in mozdetect to get rid of pyqt there, I checked and even with the new graphing capabilities, we don't need to have those to build the graph: gmierz/mozdetect#3 |
…h freezegun, update pytest-asyncio - pytest-asyncio: 1.2.0 → 1.3.0 (prepares for Python 3.11+ compatibility) - pytest-freezegun (unmaintained fork) → freezegun 1.5.5 (direct usage with custom marker fixture) - betamax 0.9.0 + betamax-serializers → vcrpy 8.1.1 (actively maintained HTTP cassette library) - Converted 12 betamax JSON cassettes to VCR.py YAML format - Added freeze_time marker fixture in conftest to replace pytest-freezegun plugin - Registered freeze_time marker in setup.cfg Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Requirements were compiled on Python 3.13 where tomli, exceptiongroup, and backports-asyncio-runner are stdlib/unnecessary. On Python 3.10 (used by CI and Docker), these are required transitive deps. Add them with hashes so pip check passes. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…h freezegun, update pytest-asyncio - pytest-asyncio: 1.2.0 → 1.3.0 (prepares for Python 3.11+ compatibility) - pytest-freezegun (unmaintained fork) → freezegun 1.5.5 (direct usage with custom marker fixture) - betamax 0.9.0 + betamax-serializers → vcrpy 8.1.1 (actively maintained HTTP cassette library) - Converted 12 betamax JSON cassettes to VCR.py YAML format - Added freeze_time marker fixture in conftest to replace pytest-freezegun plugin - Registered freeze_time marker in setup.cfg Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Django 5.2 is the latest LTS release (supported until April 2028). No code changes required - the codebase was already compatible. System checks pass cleanly. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Update Docker images to python:3.13-slim-bookworm / python:3.13-bookworm - Update CI to cimg/python:3.13-node - Update ruff target-version to py313, tox envlist to py313 - Fix dev.Dockerfile: netcat -> netcat-openbsd (Bookworm), ENV format - Remove Python 3.10 backport deps (backports-asyncio-runner, exceptiongroup, tomli) - Add setuptools to dev.txt (removed from stdlib in 3.13) - Remove pyqt5/pyqt5-qt5/pyqt5-sip (no 3.13 wheels, unused by Treeherder) - Upgrade zstandard 0.22.0 -> 0.23.0 (0.22 doesn't build on 3.13) - Add deprecation warning filters for datetime.utcfromtimestamp/utcnow - Filter pip check for known mozdetect/pyqt5 incompatibility Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
numpy 1.26.4 has no prebuilt wheel for Python 3.13, causing the Docker build to fail when trying to compile from source without g++. numpy 2.2.6 ships cp313 wheels for all platforms. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Ruff's UP017 rule enforces using datetime.UTC (available since Python 3.11) instead of datetime.timezone.utc when targeting py313. Also removes the now-unused timezone imports (F401). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0ae2e99 to
f746007
Compare
790634e to
2a8023a
Compare
Base automatically changed from
camd/back-end-package-upgrade-phase-2
to
master
April 21, 2026 17:00
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
netcat→netcat-openbsd,ENVformat in Dockerfilebackports-asyncio-runner,exceptiongroup,tomli) that are now in stdlibsetuptoolsto dev requirements (removed from stdlib in Python 3.13)pyqt5/pyqt5-qt5/pyqt5-sipfromcommon.txt— no Python 3.13 wheels and unused by Treeherder (declared bymozdetectbut only needed for GUI/plotting features)zstandard0.22.0 → 0.23.0 (0.22 fails to build on 3.13)datetime.utcfromtimestamp()/utcnow()(deprecated in 3.12+, TODO to migrate to timezone-aware calls)Dependencies
Known limitations
mozdetectdeclarespyqt5as a dependency, but PyQt5 has no Python 3.13 wheels. Since Treeherder only uses mozdetect's data analysis functions (not GUI), this is safe to skip.pip checkin CI is filtered to allow this.datetime.utcfromtimestamp()anddatetime.utcnow()calls are suppressed via warning filters rather than migrated — there are 20+ call sites across source and tests. A follow-up PR should migrate these todatetime.fromtimestamp(ts, datetime.UTC).Test plan
pip checkpasses (with known mozdetect/pyqt5 filter)tox -e linters)🤖 Generated with Claude Code