Skip to content

Fix onnx-tf CI: pin pytest<9 for Python 3.8 compatibility#121

Open
andife wants to merge 1 commit into
mainfrom
20260515_tensorflow
Open

Fix onnx-tf CI: pin pytest<9 for Python 3.8 compatibility#121
andife wants to merge 1 commit into
mainfrom
20260515_tensorflow

Conversation

@andife
Copy link
Copy Markdown
Member

@andife andife commented May 20, 2026

Problem

The onnx-tf stable and development Dockerfiles use ubuntu:20.04, which ships with Python 3.8. Since PR #117 bumped the shared requirements_report.txt to pytest>=9.0.3, both jobs have been failing at Docker build time — pytest 9.x dropped Python 3.8 support and is simply not available for it.

ERROR: Could not find a version that satisfies the requirement pytest>=9.0.3
ERROR: No matching distribution found for pytest>=9.0.3

Fix

Instead of using the shared requirements_report.txt in the onnx-tf Dockerfiles, install the three dependencies inline with pytest pinned to >=8.0,<9 (latest: 8.3.5). This keeps the shared requirements file unchanged so all other runtimes (Ubuntu 22.04/24.04, Python 3.10+) are unaffected.

Test plan

  • Verify onnx_tf_stable and onnx_tf_dev Docker build steps pass in CI
  • Confirm other runtime jobs are unaffected

🤖 Generated with Claude Code

Signed-off-by: Andreas Fehlner <fehlner@arcor.de>
@sonarqubecloud
Copy link
Copy Markdown

@andife andife changed the title fix pipeline, pin versions Fix onnx-tf CI: pin pytest<9 for Python 3.8 compatibility May 20, 2026
@andife andife requested a review from strimo378 May 21, 2026 04:37
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.

1 participant