Repository navigation
chore(deps): bump urllib3 to 2.8.0 and werkzeug to 3.1.9 - #45255
Merged
Antonio-RiveroMartnez merged 7 commits intoOct 14, 2026
Merged
Antonio-RiveroMartnez merged 7 commits into
Antonio-RiveroMartnez merged 7 commits into
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
CodeAnt PR Risk: Medium Risk
Assessed commit: |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #45255 +/- ##
===========================================
+ Coverage 65.02% 83.30% +18.28%
===========================================
Files 3039 3039
Lines 198382 198382
Branches 46213 46213
===========================================
+ Hits 128992 165260 +36268
+ Misses 66489 29898 -36591
- Partials 2901 3224 +323
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Neither package was declared as a direct dependency, so a metadata-only `pip install apache-superset` was bounded only by requests (urllib3<3,>=1.26) and flask (werkzeug>=3.1.0) and could still accept vulnerable releases. Declare both with the same floors as requirements/base.in. Superset imports werkzeug directly in ~30 modules and urllib3.exceptions in two. Lockfiles regenerated with scripts/uv-pip-compile.sh; the only change is the added apache-superset source in the `# via` annotations.
✅ Deploy Preview for superset-docs-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
dpgaspar
reviewed
Oct 14, 2026
Reverts 6f2ed47. Per maintainer review, transitive dependencies are not declared in pyproject.toml; the pinned requirements files do the patching, and the security floors stay in requirements/base.in.
villebro
pushed a commit
that referenced
this pull request
Oct 16, 2026
Co-authored-by: Claude Opus 5.5 <[email protected]> (cherry picked from commit 0ce9b6c)
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
Security bump of two transitive/runtime dependencies to patched releases:
urllib3werkzeugChanges:
requirements/base.txt/requirements/development.txt: pins updated; no other package moves and the# viaannotations are unchanged.requirements/base.in: the existing security floors for both packages are raised to the patched versions (same pattern as the CVE floors already in that file), so a future re-compile can't resolve back to a vulnerable release.pyproject.tomlis unchanged. Neither package is a direct dependency there:urllib3comes in throughrequests(urllib3<3,>=1.26) andwerkzeugthroughflask(werkzeug>=3.1.0), and both ranges already allow the new versions. The security floors for these two packages have always lived inrequirements/base.in(see #37552 and #38447), so this PR keeps that pattern rather than adding new direct dependencies.I checked the new pins against the repo tooling by running the non-Docker branch of
scripts/uv-pip-compile.sh(RUNNING_IN_DOCKER=1, Python 3.11) forbase.txt. It resolved to exactly these two versions with nothing else changing. I edited the lockfiles by hand to keep the diff limited to the pins; CI'scheck-python-depsjob will confirm parity.No API or behavior changes are expected. Both are patch/minor releases within the existing major versions.
TESTING INSTRUCTIONS
check-python-deps, backend unit/integration tests) should pass unchanged.pip install urllib3==2.8.0 werkzeug==3.1.9in a Superset env, thensuperset runand smoke-test login, dashboards, and SQL Lab.ADDITIONAL INFORMATION
🤖 Generated with Claude Code