Skip to content

Requirements update#4182

Merged
rasapala merged 6 commits into
mainfrom
fix_vulnerabilities
May 6, 2026
Merged

Requirements update#4182
rasapala merged 6 commits into
mainfrom
fix_vulnerabilities

Conversation

@rasapala
Copy link
Copy Markdown
Collaborator

@rasapala rasapala commented May 6, 2026

🛠 Summary

Requirements update.

🧪 Checklist

  • Unit tests added.
  • The documentation updated.
  • Change follows security best practices.
    ``

@rasapala rasapala requested review from Copilot, dtrawins and przepeck May 6, 2026 09:19
Copy link
Copy Markdown
Collaborator

@przepeck przepeck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if we are dropping previous python versions we can also drop python_version >= "3.12"

Comment thread client/python/tensorflow-serving-api/samples/requirements.txt Outdated
Comment thread client/python/tensorflow-serving-api/samples/requirements.txt Outdated
Comment thread client/python/tensorflow-serving-api/samples/requirements.txt Outdated
Comment thread demos/common/python/requirements.txt Outdated
Comment thread demos/common/python/requirements.txt Outdated
Comment thread demos/image_classification_with_string_output/requirements.txt Outdated
Comment thread demos/python_demos/requirements.txt Outdated
Comment thread demos/benchmark/v3/requirements.txt Outdated
Comment thread demos/python_demos/clip_image_classification/download_model_requirements.txt Outdated
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 transformers pins in demos to 5.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.

@rasapala rasapala merged commit 26daeb4 into main May 6, 2026
1 check was pending
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.
``
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants