Release 82.0.1.post1: fix CVE-2026-59890 (Python 3.9 line) - #5
Merged
Merged
Conversation
…patterns FileList matched MANIFEST.in patterns against on-disk names byte-for-byte with no Unicode normalization. On macOS APFS/HFS+, a file stored NFD and a pattern authored NFC denote the same file but differ byte-for-byte, so an exclude/global-exclude/recursive-exclude/prune rule could silently fail to drop a non-ASCII-named file, publishing it in the sdist despite the rule. Normalize both the pattern and the candidate path to NFC before matching, via a new unicode_utils.normalize() helper and a _NormalizedMatcher wrapper around the compiled pattern in translate_pattern. Fixes GHSA-h35f-9h28-mq5c. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> (cherry picked from commit dd9f436) Backported unchanged from v83.0.0 onto v82.0.1; the fix uses no Python 3.10+ features, so 82.0.1.x keeps supporting Python 3.9. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Bump version to 82.0.1.post1 (PEP 440 post-release) and record the backported GHSA-h35f-9h28-mq5c fix in NEWS.rst. Python 3.9 support is unchanged (requires-python >= 3.9). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
emanuelc-activestate
approved these changes
Sep 29, 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.
Summary
ActiveState security release 82.0.1.post1: the last Python 3.9-compatible setuptools line, with the upstream CVE fix backported.
exclude,global-exclude,recursive-excludeorprunerule inMANIFEST.incould fail to drop a non-ASCII-named file whose name is NFD on disk while the pattern is NFC, so the file was published in the sdist. Upstream fix pypa/setuptools@dd9f436a3 (released in v83.0.0) was cherry-picked unchanged.Commits
Fix CVE-2026-59890: Normalize Unicode form when matching MANIFEST.in patterns(upstream authorship kept,cherry picked fromline kept)Release 82.0.1.post1: version bump inpyproject.tomland.bumpversion.cfg, plus a NEWS.rst entryTesting (Python 3.9.25)
test_manifest.py,test_egg_info.py,test_sdist.py: 176 passed, 2 skipped, 1 xfailed82.0.1.post1withRequires-Python: >=3.9🤖 Generated with Claude Code