Repository navigation
Keep tensorflow-cpu below 2.22 in the test dependencies - #804
Merged
Merged
Conversation
evertlammerts
enabled auto-merge
December 1, 2026 14:35
evertlammerts
disabled auto-merge
December 1, 2026 15:15
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.
The job "Sanity: cp311-manylinux_x86_64" dies with a segmentation fault in
tests/fast/test_tf.pyon every pull request sincetensorflow-cpu2.22.0 reached PyPI on 2026-11-30. That release crashes when it converts a numpy array to a tensor with numpy 1.26.4, the version the test group pins for Python 3.11. It works with numpy 2, and 2.21.0 works with numpy 1.26.4.The Linux and the Windows line of the test group now ask for
tensorflow-cpu>=2.14.0,<2.22, which resolves to 2.21.0, the version of the last green runs of the job. The Windows wheel of 2.22.0 is untested, since no job installs TensorFlow there; the line gets the same cap because it is the same rule.The same job fails for the same reason on
v2.0-cyanoptera, whose test group has the same two lines, so this needs the labelbackport-v2.0.