Repository navigation
chore(deps): bump setuptools to 84.0.0 and pip to 26.2.1 - #43413
Conversation
Bumps [setuptools](https://github.com/pypa/setuptools) from 80.9.0 to 84.0.0. - [Release notes](https://github.com/pypa/setuptools/releases) - [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst) - [Commits](pypa/setuptools@v80.9.0...v84.0.0) --- updated-dependencies: - dependency-name: setuptools dependency-version: 84.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
Code Review Agent Run #144920Actionable Suggestions - 0Review Details
Bito Usage GuideCommands Type the following command in the pull request comment and save the comment.
Refer to the documentation for additional commands. Configuration This repository uses Documentation & Help |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #43413 +/- ##
==========================================
+ Coverage 78.85% 78.99% +0.13%
==========================================
Files 2876 2878 +2
Lines 164581 165584 +1003
Branches 38011 38215 +204
==========================================
+ Hits 129786 130795 +1009
+ Misses 32348 32310 -38
- Partials 2447 2479 +32
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:
|
| # Known affected packages: Preset's 'clients' package | ||
| # See docs/docs/contributing/pkg-resources-migration.md for details | ||
| setuptools<81 | ||
| setuptools<85 |
There was a problem hiding this comment.
setuptools<85 now permits releases where pkg_resources is absent, even though this constraint identifies clients as still importing it. A fresh resolution will select 84.0.0 and break those installs; should this stay below the removal version until that migration lands?
|
The current constraint requirements/base.in |
Dependabot's original commit only widened the setuptools<85 ceiling in requirements/base.in and pyproject.toml's build-system requires -- it never re-ran uv-pip-compile.sh, so both .txt lockfiles still pinned setuptools==80.9.0. This regenerates them scoped to setuptools and pip only (uv-pip-compile.sh --upgrade-package setuptools --upgrade-package pip), landing setuptools==84.0.0 and pip==26.2.1 in both files with no other package touched. Closes GHSA alerts #1453/#1450 (setuptools) and #1395 (pip), which the original commit left open despite the PR title.
✅ Deploy Preview for superset-docs-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
CI caught a real regression from the setuptools 84.0.0 bump: liccheck 0.9.2 still does a bare `import pkg_resources` without declaring setuptools as a dependency, so once the job's environment has setuptools 81+ (installed by the superset build step just before this one), liccheck's own import fails outright. The superset install is already done by this point, so it's safe to reinstall an old setuptools just for this step -- liccheck is the last thing that runs in the job.
… exists" This reverts commit 6e19bf6.
…uptools
The earlier attempt (reverted) reinstalled setuptools<81 in-place to
restore pkg_resources, but that downgrades the real installed
distribution, which then trips liccheck's own working_set.resolve()
check -- it cross-validates requirements/base.txt's declared
setuptools==84.0.0 against what's genuinely installed, and a downgrade
makes those disagree (pkg_resources.VersionConflict).
Instead, extract just the pkg_resources/ package files from an old
setuptools wheel and drop them into site-packages, leaving the real
setuptools==84.0.0 install (and its dist-info metadata) untouched.
liccheck gets an importable pkg_resources whose working-set scan still
correctly reports the real installed version, so nothing conflicts.
Verified end-to-end in a python:3.11-slim container using uv exactly as
this workflow does: `import pkg_resources` succeeds,
`working_set.resolve([Requirement.parse("setuptools==84.0.0")])`
resolves cleanly, and a full `liccheck -r ... -s ...` run against a
requirements file pinning setuptools==84.0.0 completes with no errors.
rusackas
left a comment
There was a problem hiding this comment.
LGTM. Also folded in the pip bump (26.2.1) since it's the same file, and fixed a real CI regression this bump surfaced: liccheck still does a bare import pkg_resources (undeclared dependency) and its own working_set.resolve() cross-checks the declared requirements version against what's actually installed. Vendoring just the pkg_resources/ files from an old setuptools wheel (leaving the real setuptools==84.0.0 install and its dist-info untouched) fixes both without downgrading anything real -- verified end-to-end in a container matching CI before pushing, and confirmed passing in the actual CI run.
|
Bito Automatic Review Skipped – PR Already Merged |
Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Evan Rusackas <[email protected]> Co-authored-by: Superset Dev <[email protected]>
SUMMARY
Bumps
setuptoolsfrom 80.9.0 to 84.0.0 (fixes Dependabot alerts #1453, #1450) andpipfrom 25.1.1 to 26.2.1 (fixes #1395).Dependabot's original commit on this branch only widened the
setuptools<85ceiling inrequirements/base.inand thebuild-system.requirespin inpyproject.toml— it never re-ran./scripts/uv-pip-compile.sh, so both compiled.txtlockfiles still pinnedsetuptools==80.9.0. Merging as originally opened would not actually have closed the alerts. Added a second commit that runs the real compile step, scoped to just these two packages (--upgrade-package setuptools --upgrade-package pip), so no other dependency moves.piphad no version pin blocking it.The
setuptools<85ceiling itself (from #36104) exists because setuptools 81+ dropspkg_resources, which some dependencies (notably Preset'sclientspackage, perdocs/docs/contributing/pkg-resources-migration.md) still rely on — 84.0.0 stays under that ceiling.TESTING INSTRUCTIONS
CI (full backend + frontend suite) on the regenerated lockfiles.
ADDITIONAL INFORMATION