Migrate Python Project to Version 3.10 #6
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.
🐍 Migrate from Python 3.9 to Python 3.10
Description
This PR executes a comprehensive migration from Python 3.9 to Python 3.10 across the entire codebase, updating all Docker images, CI workflows, setup configurations, and dependencies to leverage the newer Python version.
Motivation
Changes Summary
📋 Files Modified (56 files changed)
🔧 Infrastructure & CI/CD
ci-release.yml
,ci-staging.yml
, andci-testing-deploy.yml
to use Python 3.10python:3.9
topython:3.10
base imagesPYTHON_VERSION
,constraints.txt
, and upgrade documentation📦 Package Configurations
setup.py
files across all packages and services to specify Python 3.10 compatibility🔍 Code Quality Improvements
match
→regex_match
,param_match
)StrictVersion
→Version
)Impact
Testing
📝 Migration Context: This is an automated migration that systematically updates the entire codebase to Python 3.10 while maintaining code quality and consistency standards.
Link to run
Requested by: [email protected]