fix(deps): bump setuptools to 84.1.0

Moves every setuptools pin from 83.0.0 to 84.1.0 together: the dev
group, [build-system].requires, and the Termux toolchain and
deb-wheelhouse pins (scripts/termux), so source builds, the lock and
the Termux payload keep using one version. Only setuptools moves in the
relock. 84.1.0 was published 2026-10-19, past the 3-day release-age
check.

This is a major bump. 84.0's removals are distutils compiler internals
(Compiler.spawn shims, exception classes, LooseVersion in
CygwinCCompiler). Hermes's setup.py and the setuptools.build_meta
backend use none of them.

Advisory: GHSA-xmj3-9gf7-h52w
This commit is contained in:
Maciej Lisiewski committed 2026-11-03 21:06:30 +01:00
1 parent 6b4a19d86d
commit 36f9cba878
4 files changed
+9 -9

No files matched your search

+3 -3
View File
@@ -565,8 +565,8 @@ dev = [
"starlette==1.9.0",
"ty==0.0.89",
"ruff==0.15.22",
"setuptools==83.0.0",
] # starlette: CVE-2026-48710; setuptools: 83 (torch >=2.13 requires setuptools 83)
"setuptools==84.1.0",
] # starlette: CVE-2026-48710; setuptools: 84.1.0 (GHSA-xmj3-9gf7-h52w; torch >=2.13 requires setuptools 83+)
# Native launcher and provider-catalog E2E dependencies belong in the test
# environment, not the core runtime. Keep the Anthropic SDK at the same
# reviewed version as the optional runtime extra above.
@@ -580,7 +580,7 @@ test = [
# PEP 517 isolated builds. Without wheel in
# requires, the isolation sandbox only gets setuptools and the build
# fails with ModuleNotFoundError: wheel.cli (#96488).
requires = ["setuptools==83.0.0", "wheel"]
requires = ["setuptools==84.1.0", "wheel"]
build-backend = "setuptools.build_meta"
[project.scripts]
+1 -1
View File
@@ -21,7 +21,7 @@ PYTHON_ABI="cp314"
# it is a native wheel that uv (rightly) refuses to install onto bionic,
# and the rust-backend sdists (pydantic-core, jiter, ...) build through
# ISOLATION, where the sdist's own constraint fetches the backend fresh.
TOOLCHAIN_PINS=(setuptools==83.0.0 cython==3.3.0 pybind11==3.1.0)
TOOLCHAIN_PINS=(setuptools==84.1.0 cython==3.3.0 pybind11==3.1.0)
# pm package names staged for the payload (linux-arm64-bionic rows).
PAYLOAD_PYTHON_PKG=python
+1 -1
View File
@@ -290,7 +290,7 @@ def fetch_pure_wheels(build_set: list[str], specs: dict[str, str], wheelhouse: P
# Build-backend deps the deb-venv's app install resolves offline:
# the app dir install (even --no-deps) prepares metadata through
# build-system.requires, which needs setuptools in the find-links.
reqs.append("setuptools==83.0.0")
reqs.append("setuptools==84.1.0")
if not reqs:
return
proc = subprocess.run(
Generated
+4 -4
View File
@@ -2785,7 +2785,7 @@ dev = [
{ name = "pytest", specifier = "==9.1.1" },
{ name = "pytest-asyncio", specifier = "==1.4.0" },
{ name = "ruff", specifier = "==0.15.22" },
{ name = "setuptools", specifier = "==83.0.0" },
{ name = "setuptools", specifier = "==84.1.0" },
{ name = "starlette", specifier = "==1.9.0" },
{ name = "ty", specifier = "==0.0.89" },
]
@@ -6290,11 +6290,11 @@ wheels = [
[[package]]
name = "setuptools"
version = "83.0.0"
version = "84.1.0"
source = { registry = "https://pypi.org/simple" }
sdist = { url = "https://files.pythonhosted.org/packages/34/26/f5d29e25ffdb535afef2d35cdb55b325298f96debd670da4c325e08d70f4/setuptools-83.0.0.tar.gz", hash = "sha256:025bccbbf0fa05b6192bc64ae1e7b16e001fd6d6d4d5de03c97b1c1ade523bef", size = 1154254, upload-time = "2026-07-04T15:31:22.699Z" }
sdist = { url = "https://files.pythonhosted.org/packages/73/eb/7e5f628ee2eb168fecbf8026de7856b2543d6d609cc85f086b9a91ac93d6/setuptools-84.1.0.tar.gz", hash = "sha256:23657205b63d4d31395ab917815247f694aafad28cd21316bf5fd45a51048ea0", size = 1171783, upload-time = "2026-10-19T20:11:43.489Z" }
wheels = [
{ url = "https://files.pythonhosted.org/packages/5d/40/e1e72872c6354b306daef1703549e8e83b4d43cfea356311bf722a043752/setuptools-83.0.0-py3-none-any.whl", hash = "sha256:29b23c360f22f414dc7336bb39178cc7bcbf6021ed2733cde173f09dba19abb3", size = 1008090, upload-time = "2026-07-04T15:31:20.885Z" },
{ url = "https://files.pythonhosted.org/packages/18/02/b4bbb90f8f29e334898ff45c6d9b1fffaa6f378017052b3023a06262b5f7/setuptools-84.1.0-py3-none-any.whl", hash = "sha256:5231689c6ac8156cd155cfb98c3fd6fb252c3e7e9bd3d78b64d3c55f132624c9", size = 819380, upload-time = "2026-10-19T20:11:41.684Z" },
]
[[package]]