Skip to content

The agent that grows with you

fix: align upgrade CI and installer fixture with PM bootstrap

ethernet1aeb53a40b0e
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index cc348ddd8de..1edf508c307 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -250,8 +250,8 @@ jobs:
pyproject.toml
uv.lock
- - name: Set up Python 3.11
- run: uv python install 3.11.15
+ - name: Set up Python 3.14
+ run: uv python install 3.14
- name: Install dependencies
# `uv sync --locked` installs the exact pinned set from uv.lock (and
@@ -265,7 +265,7 @@ jobs:
# in the venv up front.
uses: ./.github/actions/retry
with:
- command: uv sync --locked --python 3.11.15 --extra all --group dev --extra anthropic --extra mistral --extra fal --extra modal --extra daytona --extra parallel-web
+ command: uv sync --locked --python 3.14 --extra all --group dev --extra anthropic --extra mistral --extra fal --extra modal --extra daytona --extra parallel-web
- name: Install bubblewrap
# Every spawned updater runs in bwrap (own PID namespace, no user
diff --git a/tests/scripts/test_fresh_source_install.py b/tests/scripts/test_fresh_source_install.py
index 3b4640fddea..12aa5c3eac5 100644
--- a/tests/scripts/test_fresh_source_install.py
+++ b/tests/scripts/test_fresh_source_install.py
@@ -77,13 +77,17 @@ def test_current_installer_publishes_real_dependencies_and_warm_path(tmp_path, s
(source / "pyproject.toml").write_text(
'[project]\nname="installer-fixture"\nversion="1"\nrequires-python=">=3.14"\n'
f'dependencies=["installer-probe==1.0",{json.dumps(yaml_dep)}]\n'
- '[project.optional-dependencies]\nall=[]\n[tool.uv]\npackage=false\n'
+ '[project.optional-dependencies]\nall=[]\n[dependency-groups]\ndev=[]\ntest=[]\n'
+ '[tool.uv]\npackage=false\n'
'[tool.uv.sources]\ninstaller-probe={path="wheels/installer_probe-1.0-py3-none-any.whl"}\n',
encoding="utf-8")
run([uv, "lock", "--python", str(python)], cwd=source)
# Only the application is a fixture; the shell, PM, bootstrap and writer run unchanged.
+ # Completion still imports the CLI's checkout root during post-install maintenance.
(source / "hermes_cli/main.py").write_text(
"import installer_probe, json, sys\n"
+ "from pathlib import Path\n"
+ "PROJECT_ROOT = Path(__file__).resolve().parents[1]\n"
"def main():\n print(json.dumps({'module':installer_probe.__file__, 'argv':sys.argv[1:]}))\n"
"if __name__ == '__main__': main()\n", encoding="utf-8")
docroot, url = served