Migrate Python Codebase to Version 3.10 #13
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.
Upgrade Python Runtime from 3.9 to 3.10
Description
This PR upgrades the entire osparc-simcore project from Python 3.9 to Python 3.10, systematically updating all components to use the newer Python runtime.
Motivation
Key Features of Python 3.10
Python 3.10 introduces several significant improvements including:
For more details, see the official Python 3.10 release notes.
Changes Made
📋 Comprehensive upgrade across all project components
GitHub Workflows
ci-release.yml
,ci-staging.yml
, andci-testing-deploy.yml
Docker Infrastructure
3.9.12
to3.10.12
across all service DockerfilesPython Package Configuration
python_requires
constraints from~=3.9
to~=3.10
in all setup.py filesServices Updated
Impact
Testing
This migration maintains full API compatibility and existing functionality:
Files Changed: 46 files across GitHub workflows, Docker configurations, and Python package setups
Services Affected: All microservices and supporting infrastructure
Breaking Changes: None expected - this is a runtime upgrade maintaining API compatibility
Link to run
Requested by: [email protected]