chore(deps): consolidate Python dependency upgrades (June 2026) - #13010
chore(deps): consolidate Python dependency upgrades (June 2026)#13010mekarpeles wants to merge 5 commits into
Conversation
71c48d7 to
4242a5e
Compare
|
CI fix: excluded fastapi 0.136.3→0.137.1 (force-pushed) The `python_tests` CI run failed because `fastapi==0.137.1` introduced `_IncludedRouter`, a new route type that lacks a `.path` attribute. `prometheus_fastapi_instrumentator==7.1.0` (currently pinned in `requirements.txt`) calls `route.path` unconditionally during request routing, which crashes on `_IncludedRouter` instances. Root cause trace: Fix: Removed the fastapi bump from this PR and added it to the Excluded table. A separate coordinated bump is needed: fastapi 0.137.x + prometheus-fastapi-instrumentator 7.1.0→8.x (which presumably adds hasattr guarding). This was AI-assisted (Reno, via PAM). Force-push used `--force-with-lease`. To restore the previous state: `git reflog` locally to find the prior SHA, then `git reset --hard ` + `git push --force-with-lease`. |
4242a5e to
640a3cd
Compare
Summary
Consolidates open Renovate PRs for Python packages into a single tested upgrade. All packages installed and tested in Docker before opening this PR.
Closes #12929.
Packages upgraded
Excluded packages
test_luqum_parser— 0.14.x changed query parenthesization behaviour (by:(boo blah blah)→by:boo blah blah). Needs a dedicated fix before bumping._IncludedRouterwhich lacks a.pathattribute.prometheus_fastapi_instrumentator==7.1.0callsroute.pathunconditionally and crashes on it. Needs a coordinated bump withprometheus-fastapi-instrumentator(7.1.0 → 8.x).Testing
openlibrary/tests/solr/test_query_utils.py— 10/10 passed ✓test_luqum_parser(excluded for this reason) ✓_IncludedRouter+ prometheus-fastapi-instrumentator incompatibility) ✓Checklist