Repository navigation
Comparing changes
Open a pull request
base repository: pypa/setuptools
base: v84.0.0
head repository: pypa/setuptools
compare: v84.1.0
- 19 commits
- 11 files changed
- 3 contributors
Commits on Jul 31, 2026
-
Configuration menu - View commit details
-
Copy full SHA for ef9ddf7 - Browse repository at this point
Copy the full SHA ef9ddf7View commit details
Commits on Aug 9, 2026
-
Merge pull request #5283 from TheGreatApollyon/fix/typo
fix: correct typo in changelog
Configuration menu - View commit details
-
Copy full SHA for 7d53128 - Browse repository at this point
Copy the full SHA 7d53128View commit details
Commits on Aug 16, 2026
-
Ignore N999 (invalid-module-name) (jaraco/skeleton#212)
ruff 0.16 flags N999 for projects whose source directory is the distribution name and is redirected to a different import package (e.g. namespace layouts, as used throughout coherent-oss), even though that dotted name is a valid module. Reported upstream as astral-sh/ruff#27801; ignore it here rather than carry a per-file noqa in every such project. Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Configuration menu - View commit details
-
Copy full SHA for 8aa3460 - Browse repository at this point
Copy the full SHA 8aa3460View commit details
Commits on Aug 28, 2026
-
Ignore B008 (function-call-in-default-argument). (jaraco/skeleton#215)
B006 already catches shared mutable defaults; B008 flags every call regardless of mutability, and escaping it requires enumerating fully-qualified names in each downstream project. Closes jaraco/skeleton#214 Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Configuration menu - View commit details
-
Copy full SHA for 2c43cdf - Browse repository at this point
Copy the full SHA 2c43cdfView commit details
Commits on Sep 7, 2026
-
Reject archive members that escape the extraction directory
Both the tar and zip formats specify '/' as the only path separator, but the guard in archive_util split member names on '/' alone. A name such as `..\escaped.txt` was therefore a single component that passed the '..' check, and was then resolved as a traversal by the filesystem on Windows. Drive-qualified and UNC names escaped the same way, discarding the extraction directory entirely. Both drivers now share a single _resolve_dest() that rejects such names and, as defense in depth, confirms the resolved destination really does fall under the extraction directory. Ref GHSA-grgh-hr87-3jpw. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Configuration menu - View commit details
-
Copy full SHA for 7297411 - Browse repository at this point
Copy the full SHA 7297411View commit details -
Avoid an unreachable branch in the containment check
os.path.commonpath raises ValueError only for paths on different drives, which the drive-qualified name check already rejects, leaving a branch that cannot be exercised. Compare against the root prefix instead; joining an empty component keeps the comparison correct when extracting to the root of a filesystem. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Configuration menu - View commit details
-
Copy full SHA for 3e735d5 - Browse repository at this point
Copy the full SHA 3e735d5View commit details -
Raise UnsafeMember instead of silently skipping unsafe members
Returning a sentinel left each call site to interpret it, and made a malicious or malformed archive indistinguishable from a clean one: the caller got a quietly incomplete extraction with no indication that anything had been dropped. For the one remaining in-tree caller, an unpacked wheel, that means a corrupt install that is then imported. Raise instead, as the stdlib tarfile extraction filters do. UnsafeMember is deliberately not an UnrecognizedFormat, which unpack_archive catches to fall through to the next driver. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Configuration menu - View commit details
-
Copy full SHA for bebbe6b - Browse repository at this point
Copy the full SHA bebbe6bView commit details -
Classify the raising behavior as a feature, not a removal
Silently skipping members that escape the extraction directory was never intended behavior, so there is nothing supported being removed. Nor is rejecting backslash-separated member names: both formats specify '/' as the only separator, the old handling was already inconsistent between Windows and POSIX, and nothing in the module's history suggests anyone relied on it. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Configuration menu - View commit details
-
Copy full SHA for 2289f49 - Browse repository at this point
Copy the full SHA 2289f49View commit details
Commits on Sep 8, 2026
-
Merge pull request #5325 from pypa/fix/archive-util-backslash-traversal
Reject archive members that escape the extraction directory
Configuration menu - View commit details
-
Copy full SHA for 2707b4e - Browse repository at this point
Copy the full SHA 2707b4eView commit details -
Ignore PyPy's deprecated check_home warning in tests
PyPy 3.11's bundled distutils calls sysconfig.is_python_build(True), but its own sysconfig deprecated that argument. With SETUPTOOLS_USE_DISTUTILS=stdlib the resulting DeprecationWarning turns into an error under `filterwarnings = error`, reddening the pypy3.11/stdlib matrix job on every PR. Nothing in setuptools passes check_home, so filter the message and test setuptools rather than PyPy's stdlib. Closes #5327 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Configuration menu - View commit details
-
Copy full SHA for 4e612f9 - Browse repository at this point
Copy the full SHA 4e612f9View commit details
Commits on Oct 1, 2026
-
Ignore PLC0414 (useless-import-alias). (jaraco/skeleton#216)
Ref jaraco/skeleton#210. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Configuration menu - View commit details
-
Copy full SHA for 9e08129 - Browse repository at this point
Copy the full SHA 9e08129View commit details
Commits on Oct 2, 2026
-
Pass secrets through to the reusable test-suite workflow. (jaraco/ske…
…leton#219) Closes jaraco/skeleton#218 Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Configuration menu - View commit details
-
Copy full SHA for 9695460 - Browse repository at this point
Copy the full SHA 9695460View commit details
Commits on Oct 17, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 715ec38 - Browse repository at this point
Copy the full SHA 715ec38View commit details
Commits on Oct 19, 2026
-
Remove DTZ011 suppressions that Ruff 0.17 reports as unused.
Ruff 0.17 dropped DTZ011 from its default rule set (it was among the defaults added in 0.16), so RUF100 now flags the noqa directives in setuptools/warnings.py. The trailing comments only justified the suppressions, so drop them along with the directives. Ref jaraco/skeleton#210. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Configuration menu - View commit details
-
Copy full SHA for 6dadc86 - Browse repository at this point
Copy the full SHA 6dadc86View commit details -
Merge pull request #5356 from pypa/skeleton-ruff-0.16
Merge jaraco/skeleton; fix the Ruff 0.17 unused-noqa failure
Configuration menu - View commit details
-
Copy full SHA for 8419f00 - Browse repository at this point
Copy the full SHA 8419f00View commit details -
Validate namespace package names during legacy wheel installation
Entries in a wheel's namespace_packages.txt were split on '.' and passed straight to os.path.join, which interprets its arguments as paths. An entry that is absolute, drive-qualified, or UNC therefore discarded the destination egg directory entirely and placed a fixed-content __init__.py at a path chosen by the wheel. The report framed this as Windows-only, but only the drive-letter form is; an absolute POSIX path escapes just as readily. Namespace entries are now validated as dotted module names on every platform, with a containment check as defense in depth. This sink is reachable only through the deprecated setup_requires mechanism when setup() is invoked outside a PEP 517 frontend. The setuptools build backend disables setup_requires installation in every hook, so it does not reach it. Ref GHSA-xmj3-9gf7-h52w. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Configuration menu - View commit details
-
Copy full SHA for 6d07b8d - Browse repository at this point
Copy the full SHA 6d07b8dView commit details -
Cover the containment check with a symlink escape test
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Configuration menu - View commit details
-
Copy full SHA for 54b5dca - Browse repository at this point
Copy the full SHA 54b5dcaView commit details -
Merge pull request #5329 from pypa/fix/wheel-namespace-path-escape
Validate namespace package names during legacy wheel installation
Configuration menu - View commit details
-
Copy full SHA for e66004c - Browse repository at this point
Copy the full SHA e66004cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 77b7ace - Browse repository at this point
Copy the full SHA 77b7aceView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v84.0.0...v84.1.0