Skip to content

Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.

fix(deps): pin setuptools above advisory range (#842)

Danny Wardfda15deba2f0
diff --git a/pyproject.toml b/pyproject.toml
index ac0152d472..98fe8c610e 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,10 +1,10 @@
[build-system]
# setuptools>=77 is the floor for the PEP 639 license expression below; the
# TOML-table form it replaces is deprecated and scheduled for removal. The
-# floor is raised to 83 because every setuptools < 83.0.0 carries a published
-# advisory (Dependabot #85) — a build-time-only exposure, but the pin costs
-# nothing and 83 still satisfies the PEP 639 requirement above.
-requires = ["setuptools>=83", "wheel"]
+# floor is raised to 84.1.0 because every setuptools < 84.1.0 carries a
+# published advisory (Dependabot #85) — a build-time-only exposure, but the pin costs
+# nothing and 84.1.0 still satisfies the PEP 639 requirement above.
+requires = ["setuptools>=84.1.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
diff --git a/tests/unit/ci/test_build_distributions.py b/tests/unit/ci/test_build_distributions.py
index 176b54b32a..4f76c2b6c9 100644
--- a/tests/unit/ci/test_build_distributions.py
+++ b/tests/unit/ci/test_build_distributions.py
@@ -20,6 +20,20 @@ def test_the_names_are_the_distribution_names_branding_declares() -> None:
assert (bd.LEGACY,) == branding.LEGACY_DISTRIBUTION_NAMES
+def test_build_setuptools_floor_and_lock_clear_the_advisory() -> None:
+ project = tomllib.loads(PYPROJECT)
+ requirement = next(
+ item for item in project["build-system"]["requires"] if item.startswith("setuptools")
+ )
+ assert requirement == "setuptools>=84.1.0"
+
+ lock = tomllib.loads((ROOT / "uv.lock").read_text(encoding="utf-8"))
+ version = next(
+ package["version"] for package in lock["package"] if package["name"] == "setuptools"
+ )
+ assert tuple(int(part) for part in version.split(".")) >= (84, 1, 0)
+
+
def test_the_real_pyproject_renames_to_the_earlier_distribution() -> None:
project = tomllib.loads(bd.renamed_pyproject(PYPROJECT))
assert project["project"]["name"] == "personal-jarvis"
@@ -30,9 +44,7 @@ def test_the_real_pyproject_renames_to_the_earlier_distribution() -> None:
"personal-jarvis[desktop,desktop-macos,telephony,channels,local-voice]"
]
assert extras["dev"][0] == "personal-jarvis[desktop,local-voice]"
- assert all(
- not item.startswith("dodaios[") for group in extras.values() for item in group
- )
+ assert all(not item.startswith("dodaios[") for group in extras.values() for item in group)
data_files = project["tool"]["setuptools"]["data-files"]
assert set(data_files) == {"share/personal-jarvis/docs", "share/personal-jarvis/docs/legal"}
diff --git a/uv.lock b/uv.lock
index 175a440517..e88a8e12af 100644
--- a/uv.lock
+++ b/uv.lock
@@ -4777,11 +4777,11 @@ wheels = [
[[package]]
name = "setuptools"
-version = "83.0.0"
+version = "84.2.1"
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/70/b3/c19426f783614d625699a4b247faf628ea9ab1db228674491767b417f9e1/setuptools-84.2.1.tar.gz", hash = "sha256:3ff8b3b5492a0aa66960f4419365a86b84e013070d4313e4d4a6894f5d64d6bc", size = 1230289, upload-time = "2026-10-20T19:01:37.742Z" }
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/ef/55/6dc6d6bb953bdfc52519a0059592c52b6e3b8ad51cf8256dffceb55b0610/setuptools-84.2.1-py3-none-any.whl", hash = "sha256:ca140b45d5325a9478f880e351484f62fef15f336462e449ca0c03c873d589c2", size = 876263, upload-time = "2026-10-20T19:01:35.678Z" },
]
[[package]]