-
Notifications
You must be signed in to change notification settings - Fork 80
CI/CD - Fix python3.10 pipeline #753
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #753 +/- ##
=======================================
Coverage 85.70% 85.70%
=======================================
Files 102 102
Lines 7623 7623
=======================================
Hits 6533 6533
Misses 1090 1090
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this 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 fixes the Python 3.10 CI/CD pipeline by removing the dependency on the bc command, which was missing in the Docker image. The solution replaces the shell-based version comparison with a native Python version check.
Key changes:
- Replaced
bc-based version comparison with Python'ssys.version_infocheck - Simplified the conditional logic for determining when to install specific setuptools version
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Description
Python3.10 pipeline failed.
Solution
From log, 'bc' cmd is missing. Since our image tags are simple, the solution is to remove 'bc' cmd directly.