Skip to content

fix(deps): allow watchfiles 1.x so agentex-sdk installs on Python 3.14 - #511

Open
michaelxu2288 wants to merge 2 commits into
scaleapi:nextfrom
michaelxu2288:fix/watchfiles-py314
Open

fix(deps): allow watchfiles 1.x so agentex-sdk installs on Python 3.14#511
michaelxu2288 wants to merge 2 commits into
scaleapi:nextfrom
michaelxu2288:fix/watchfiles-py314

Conversation

@michaelxu2288

@michaelxu2288 michaelxu2288 commented Sep 10, 2026

Copy link
Copy Markdown

What

adk/pyproject.toml pins watchfiles>=0.24.0,<1.0. watchfiles 0.24.0 has no CPython 3.14 wheel, so uv tool install agentex-sdk on a 3.14 interpreter (Homebrew's default python3 today) falls back to a maturin source build and fails, although the package classifiers advertise 3.14. watchfiles 1.1.0+ publishes cp314 wheels and keeps the awatch API used in cli/handlers/run_handlers.py. Relax the pin to <2.0 and refresh uv.lock.

Note: uv lock also refreshed the workspace version entries in uv.lock (0.21.0 -> 0.25.0), which were stale relative to the pyprojects on next; say the word and I will split or drop that part.

Test

  • Baseline, scratch venv on CPython 3.14.7: uv pip install agentex-sdk fails building watchfiles 0.24.0.
  • With watchfiles>=1.1,<2 overriding: installs; import agentex (0.25.0) and import watchfiles (1.2.0) succeed; run_handlers imports.
  • ./scripts/lint clean; template test suite passes.

https://claude.ai/code/session_01HCVKnA7LeJZ44nxZz1uzF3

RetriggerConfidence Score: 4/5

The dependency fix appears behaviorally sound, but the explicit top-level tooling requirement must be satisfied before merging.

Summary

  • Changes the dependency constraint from <1.0 to <2.0.
  • Resolves watchfiles 1.2.0 with CPython 3.14 artifacts.
  • Refreshes workspace package versions in the lockfile.
  • The prior finding that the lock still selected 0.24.0 is fully fixed and its thread is resolved.

Reviews (2) · Last reviewed commit: "fix(deps): lock watchfiles 1.x so the lo..."

watchfiles 0.24.0 ships no CPython 3.14 wheel, so uv tool install agentex-sdk
on a 3.14 interpreter falls back to a maturin source build and fails, even
though the package advertises 3.14 in its classifiers. watchfiles 1.1.0+
publishes cp314 wheels and keeps the awatch API used by run_handlers.py.
Verified: agentex-sdk 0.25.0 installs and imports on CPython 3.14.7 with
watchfiles 1.2.0.

Claude-Session: https://claude.ai/code/session_01HCVKnA7LeJZ44nxZz1uzF3
@socket-security

socket-security Bot commented Sep 10, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedpypi/​agentex-sdk@​0.21.0 ⏵ 0.25.093 -1100100100100
Updatedpypi/​agentex-client@​0.21.0 ⏵ 0.25.099100100100100
Updatedpypi/​watchfiles@​0.24.0 ⏵ 1.2.0100 +1100100100100

View full report

Comment thread uv.lock
…hon 3.14

Loosening the specifier alone left uv.lock resolved to watchfiles 0.24.0, so
a uv sync/--frozen install from the lock on CPython 3.14 still fell back to
the failing source build. Upgrade the locked watchfiles to a 1.x release
that publishes cp314 wheels (uv lock --upgrade-package watchfiles).

Claude-Session: https://claude.ai/code/session_01HCVKnA7LeJZ44nxZz1uzF3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant