fix: pin Python requirement to <3.14 in pyproject.toml - #1829
Closed
Oxygen56 wants to merge 1 commit into
Closed
Conversation
pip install fails silently on Python 3.14 because core dependencies (torch, transformers) do not yet publish cp314 wheels. Pin requires-python to >=3.10,<3.14 so pip fails fast with a clear error instead of hanging or silently producing no install. Fixes NVIDIA#1759
Collaborator
|
Duplicates #1762 and ignores discussion and feedback in that PR. |
Author
|
Thanks @jmartin-tech — you are right, #1762 already covers this. Closing as duplicate. |
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.
Summary
requires-pythonto>=3.10,<3.14inpyproject.tomltorch,transformers) do not publishcp314wheelspip install garakfails silently on Python 3.14 — pip hangs in dependency resolution without producing any install, and exits with code 0"Package garak requires a different Python"Changes
requires-pythonchanged from">=3.10"to">=3.10,<3.14"Related
Fixes #1759
Test Plan
pip install -e .succeeds on Python 3.12import garak; print(garak.__version__)works after installrequires-pythonconstraint is correctly set (pip resolves the constraint)