deps(py): bump setuptools to 83.0.0#1050
Merged
Merged
Conversation
Fixes GitHub Dependabot alerts #38/#39: setuptools < 83.0.0 has a MANIFEST.in exclusion bypass in sdist builds via Unicode NFC/NFD normalization collisions on macOS APFS/HFS+. setuptools is pulled in transitively via the `examples` extra's jupyterlab dependency; bumped with `uv lock --upgrade-package setuptools` and re-exported requirements/examples.txt per the py-relock recipe. requirements/dev.txt is unaffected since setuptools isn't reachable from the `dev` extra.
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
setuptools < 83.0.0has a MANIFEST.in exclusion-bypass vulnerability in sdist builds via Unicode NFC/NFD normalization collisions on macOS APFS/HFS+.setuptoolsis a transitive dependency pulled in via theexamplesextra'sjupyterlabdependency (not referenced directly inpyproject.toml). Bumped withuv lock --upgrade-package setuptools(82.0.1 → 83.0.0) and re-exportedrequirements/examples.txtvia the same commandsmake py-relockruns.requirements/dev.txtis untouched sincesetuptoolsisn't reachable from thedevextra.uv.lockdiff is marker-expression reformatting produced by the currentuvrelease relative to the[tool.uv].environmentsrestriction inpyproject.toml— verified algebraically equivalent to the prior markers, not a semantic change.Test plan
uv sync --locked --extra devsucceeds (lockfile self-consistent)make py-test— 362 passed, 1 xfaileduv.lock,requirements/examples.txt)