fix(ai): raise dep floors to first releases with Python 3.14 wheels - #2
Merged
Conversation
numpy/pandas/scikit-learn/matplotlib/pyzmq/pydantic/aiohttp used three-part `~=X.Y.0` pins that locked the minor below the first release shipping cp314 wheels. On Python 3.14 (Arch) pip fell back to building these from source; numpy 1.26 crashed on import (SIGILL), failing `zypheron install-deps`. Bumps (verified resolvable + importable in a clean 3.14 venv): numpy 1.26 -> ~=2.2 (2.4.6) pandas 2.2 -> ~=2.3 (2.3.3, held <3 to avoid pandas 3.0 API break) scikit-learn 1.6 -> ~=1.7 (1.9.0) matplotlib 3.9 -> ~=3.10 (3.11.0) pyzmq 26.2 -> ~=27.0 (27.1.0) pydantic 2.10 -> ~=2.11 (2.13.4; 2.10 pinned pydantic-core 2.27, no wheel) aiohttp 3.11 -> ~=3.12 (3.14.1) Only ml/vulnerability_predictor.py uses these (numpy basics + sklearn); APIs stable across the bumps. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Problem
zypheron install-depsfails on Arch (Python 3.14). Seven deps used three-part~=X.Y.0pins that lock the minor below the first release shipping cp314 wheels, so pip built them from source — numpy 1.26 then crashed on import (SIGILL), aborting install.Fix
Raise floors to first wheel-bearing releases. Verified resolvable + importable in a clean 3.14 venv.
~=1.26.0~=2.2~=2.2.0~=2.3(held <3, avoid 3.0 break)~=1.6.0~=1.7~=3.9.0~=3.10~=26.2.0~=27.0~=2.10.0~=2.11~=3.11.0~=3.12Safety
Only
ml/vulnerability_predictor.pyuses these (numpy basics + sklearnRandomForestClassifier/TfidfVectorizer); APIs stable across the bumps. pandas not imported in app code.🤖 Generated with Claude Code