Skip to content

chore(deps): bump setuptools to 84.0.0 and pip to 26.2.1 - #43413

Merged
rusackas merged 5 commits into
masterfrom
dependabot/pip/setuptools-84.0.0
Aug 29, 2026
Merged

rusackas merged 5 commits into
masterfrom
dependabot/pip/setuptools-84.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 22, 2026 •

Copy link
Copy Markdown
Contributor

SUMMARY

Bumps setuptools from 80.9.0 to 84.0.0 (fixes Dependabot alerts #1453, #1450) and pip from 25.1.1 to 26.2.1 (fixes #1395).

Dependabot's original commit on this branch only widened the setuptools<85 ceiling in requirements/base.in and the build-system.requires pin in pyproject.toml — it never re-ran ./scripts/uv-pip-compile.sh, so both compiled .txt lockfiles still pinned setuptools==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. pip had no version pin blocking it.

The setuptools<85 ceiling itself (from #36104) exists because setuptools 81+ drops pkg_resources, which some dependencies (notably Preset's clients package, per docs/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

  • Has associated issue:
  • Required feature flags:
  • Changes UI
  • Includes DB Migration
  • Introduces new feature or API
  • Removes existing feature or API

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]>
@dependabot dependabot Bot added dependabot pip Dependabot - pip related PRs labels Aug 22, 2026
@bito-code-review

bito-code-review Bot commented Aug 22, 2026 •

Copy link
Copy Markdown
Contributor

Code Review Agent Run #144920

Actionable Suggestions - 0
Review Details
  • Files reviewed - 2 · Commit Range: bee8f61..bee8f61
    • pyproject.toml
    • requirements/base.in
  • Files skipped - 0
  • Tools
    • Whispers (Secret Scanner) - ✔︎ Successful
    • Detect-secrets (Secret Scanner) - ✔︎ Successful

Bito Usage Guide

Commands

Type the following command in the pull request comment and save the comment.

  • /review - Manually triggers an incremental AI Review.

  • /review full - Manually triggers a full AI Review.

  • /pause - Pauses automatic reviews on this pull request.

  • /resume - Resumes automatic reviews.

  • /resolve - Marks all Bito-posted review comments as resolved.

  • /abort - Cancels all in-progress reviews.

Refer to the documentation for additional commands.

Configuration

This repository uses Superset You can customize the agent settings here or contact your Bito workspace admin at [email protected].

Documentation & Help

AI Code Review powered by Bito Logo

@codecov

codecov Bot commented Aug 22, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.99%. Comparing base (f2610e9) to head (401690e).
⚠️ Report is 178 commits behind head on master.

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     
Flag Coverage Δ
hive 37.93% <ø> (-0.16%) ⬇️
mysql 57.67% <ø> (-0.11%) ⬇️
postgres 57.70% <ø> (-0.11%) ⬇️
presto 39.84% <ø> (-0.17%) ⬇️
python 83.74% <ø> (+0.19%) ⬆️
sqlite 57.39% <ø> (-0.11%) ⬇️
unit 73.97% <ø> (+0.40%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 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.

Comment thread requirements/base.in
# Known affected packages: Preset's 'clients' package
# See docs/docs/contributing/pkg-resources-migration.md for details
setuptools<81
setuptools<85

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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?

@bito-code-review

Copy link
Copy Markdown
Contributor

The current constraint setuptools<85 is indeed risky if clients still relies on pkg_resources, as setuptools 84.0.0 and later versions may have removed or altered the availability of pkg_resources. If the migration of clients is not yet complete, maintaining a stricter constraint (e.g., <81) is safer to prevent breaking installations during resolution. It is recommended to keep the constraint below the removal version until the pkg_resources migration is fully verified for all dependencies.

requirements/base.in

-# Pin setuptools <81 until all dependencies migrate from pkg_resources to importlib.metadata
+# Pin setuptools <85 until all dependencies migrate from pkg_resources to importlib.metadata
 # pkg_resources is deprecated and will be removed in setuptools 81+ (around 2025-11-30)
 # Known affected packages: Preset's 'clients' package
 # See docs/docs/contributing/pkg-resources-migration.md for details
-setuptools<81
+setuptools<85

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.
@rusackas rusackas changed the title chore(deps): bump setuptools from 80.9.0 to 84.0.0 chore(deps): bump setuptools to 84.0.0 and pip to 26.2.1 Aug 29, 2026
@netlify

netlify Bot commented Aug 29, 2026

Copy link
Copy Markdown

✅ Deploy Preview for superset-docs-preview ready!

Name Link
🔨 Latest commit 6015f85
🔍 Latest deploy log https://app.netlify.com/projects/superset-docs-preview/deploys/6a9222068bf4c300081b1f5e
😎 Deploy Preview https://deploy-preview-43413--superset-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

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.
@github-actions github-actions Bot added the github_actions Pull requests that update GitHub Actions code label Aug 29, 2026
@github-actions github-actions Bot removed the github_actions Pull requests that update GitHub Actions code label Aug 29, 2026
…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.
@pull-request-size pull-request-size Bot added size/M and removed size/S labels Aug 29, 2026
@github-actions github-actions Bot added the github_actions Pull requests that update GitHub Actions code label Aug 29, 2026

@rusackas rusackas left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@rusackas
rusackas merged commit c7cc22f into master Aug 29, 2026
80 checks passed
@rusackas
rusackas deleted the dependabot/pip/setuptools-84.0.0 branch August 29, 2026 01:34
@bito-code-review

Copy link
Copy Markdown
Contributor

Bito Automatic Review Skipped – PR Already Merged

Bito scheduled an automatic review for this pull request, but the review was skipped because this PR was merged before the review could be run.
No action is needed if you didn't intend to review it. To get a review, you can type /review in a comment and save it

rusackas added a commit that referenced this pull request Aug 29, 2026
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependabot dependencies:python github_actions Pull requests that update GitHub Actions code pip Dependabot - pip related PRs size/M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enhance UI of table view

2 participants