Requirements update#4182
Merged
Merged
Conversation
przepeck
reviewed
May 6, 2026
Collaborator
przepeck
left a comment
There was a problem hiding this comment.
if we are dropping previous python versions we can also drop python_version >= "3.12"
dtrawins
reviewed
May 6, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates Python dependency pins across test and demo requirements files. The main functional impact is a shift toward newer pinned versions (pytest/requests/pillow/transformers), but it also removes TensorFlow/TensorFlow Serving dependencies for Python versions < 3.12 in several places.
Changes:
- Bumped testing dependencies (notably
pytest) in test requirement sets. - Bumped common runtime deps (
requests,pillow) across tests and demos. - Updated HuggingFace
transformerspins in demos to5.0.0rc3. - Removed
python_version < "3.12"TensorFlow/TFS/protobuf pins in multiple requirements files (breaking existing scripts/docs that still rely on Python < 3.12).
Reviewed changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| tests/requirements.txt | Updates pytest/requests; removes TF/TFS deps for Python < 3.12. |
| src/python/binding/tests/requirements.txt | Updates pytest + pluggy versions for Python binding tests. |
| demos/using_onnx_model/python/requirements.txt | Bumps pillow version. |
| demos/python_demos/requirements.txt | Bumps pillow; pins transformers to 5.0.0rc3. |
| demos/python_demos/clip_image_classification/download_model_requirements.txt | Pins transformers to 5.0.0rc3; bumps pillow. |
| demos/mediapipe/object_detection/requirements.txt | Bumps requests version. |
| demos/image_classification_with_string_output/requirements.txt | Removes TF for Python < 3.12 (now only TF>=3.12 marker). |
| demos/common/python/requirements.txt | Removes TF/TFS deps for Python < 3.12. |
| demos/benchmark/v3/requirements.txt | Pins transformers to 5.0.0rc3. |
| demos/audio/requirements.txt | Bumps requests version. |
| client/python/tensorflow-serving-api/samples/requirements.txt | Removes TF/TFS/protobuf pins for Python < 3.12. |
| client/python/kserve-api/samples/requirements.txt | Bumps requests version. |
przepeck
approved these changes
May 6, 2026
dtrawins
approved these changes
May 6, 2026
przepeck
pushed a commit
that referenced
this pull request
May 8, 2026
### 🛠 Summary Requirements update. ### 🧪 Checklist - [ ] Unit tests added. - [ ] The documentation updated. - [ ] Change follows security best practices. ``
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
Requirements update.
🧪 Checklist
``