Build: Bump setuptools to 83.0.0 - #3774
Merged
geruh merged 1 commit intoAug 10, 2026
Merged
Conversation
kevinjqliu
marked this pull request as ready for review
August 10, 2026 16:55
kevinjqliu
requested review from
Fokko and
geruh
and
a lite review from Copilot
August 10, 2026 16:55
Contributor
There was a problem hiding this comment.
Pull request overview
Updates PyIceberg’s build and development tooling constraints to mitigate a setuptools security issue by requiring setuptools 83.0.0+ in both PEP 517 isolated builds and the default dev dependency group.
Changes:
- Raise
[build-system].requirestosetuptools>=83.0.0inpyproject.toml. - Add
setuptools>=83.0.0to thedevdependency group inpyproject.toml. - Refresh
uv.lockto include the dev-group requirement and lock setuptools to83.0.0(from82.0.1).
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| pyproject.toml | Tightens build-system and dev dependency constraints to require setuptools 83.0.0+ |
| uv.lock | Locks setuptools to 83.0.0 and records the new dev-group requirement |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
geruh
approved these changes
Aug 10, 2026
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.
This is for to address security alert: https://github.com/apache/iceberg-python/security/dependabot/137
Summary
Why
Setuptools versions before 83.0.0 compare
MANIFEST.inpatterns and on-disk filenames without Unicode normalization. On normalization-preserving macOS filesystems, this can cause exclusion rules to miss non-ASCII filenames and unintentionally include excluded files in a published source distribution.The build-system requirement previously allowed setuptools 80 through 82, and the development dependency graph resolved 82.0.1 through moto and pytest-checkdocs.
Impact
This changes build and development tooling only. PyIceberg runtime dependencies and APIs are unchanged. Setuptools 83.0.0 requires Python 3.10 or newer, matching PyIceberg's supported Python range.
Validation
uv lock --check --offline --default-index https://pypi.org/simpleuv build --sdistgit diff --check