fix(deps): allow watchfiles 1.x so agentex-sdk installs on Python 3.14 - #511
Open
michaelxu2288 wants to merge 2 commits into
Open
fix(deps): allow watchfiles 1.x so agentex-sdk installs on Python 3.14#511michaelxu2288 wants to merge 2 commits into
michaelxu2288 wants to merge 2 commits into
Conversation
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
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
…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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
adk/pyproject.tomlpinswatchfiles>=0.24.0,<1.0. watchfiles 0.24.0 has no CPython 3.14 wheel, souv tool install agentex-sdkon 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 theawatchAPI used incli/handlers/run_handlers.py. Relax the pin to<2.0and refreshuv.lock.Note:
uv lockalso refreshed the workspace version entries inuv.lock(0.21.0 -> 0.25.0), which were stale relative to the pyprojects onnext; say the word and I will split or drop that part.Test
uv pip install agentex-sdkfails building watchfiles 0.24.0.watchfiles>=1.1,<2overriding: installs;import agentex(0.25.0) andimport watchfiles(1.2.0) succeed;run_handlersimports../scripts/lintclean; template test suite passes.https://claude.ai/code/session_01HCVKnA7LeJZ44nxZz1uzF3
The dependency fix appears behaviorally sound, but the explicit top-level tooling requirement must be satisfied before merging.
Summary
<1.0to<2.0.watchfiles1.2.0 with CPython 3.14 artifacts.Reviews (2) · Last reviewed commit: "fix(deps): lock watchfiles 1.x so the lo..."