Skip to content

Migrate Python Codebase from 3.9 to 3.10 #1

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

gitar-bot-staging[bot]
Copy link

Downgrade Python version from 3.11 to 3.10 across entire project

Description

This PR implements a comprehensive downgrade of the Python runtime from version 3.11 to 3.10 across the entire osparc-simcore project infrastructure. The change affects all services, packages, Docker configurations, and CI/CD pipelines to ensure consistent Python 3.10 usage throughout the project.

Motivation

The downgrade addresses compatibility and stability requirements:

  • Dependency compatibility: Ensures all project dependencies work reliably with a proven Python version
  • Deployment environment alignment: Standardizes on Python 3.10 for better consistency across development and production environments
  • Ecosystem stability: Python 3.10 provides a mature, well-tested platform for the project's requirements

Impact

  • Services: All microservices now use Python 3.10 base images
  • CI/CD: GitHub Actions workflows updated to use Python 3.10
  • Development: Local development environments should be updated to Python 3.10
  • Deployment: Requires coordinated deployment as all services must use the same Python version

Changes Made

📁 Core Infrastructure (4 files)
  • requirements/PYTHON_VERSION: Updated from 3.11 to 3.10
  • JIMY.md: Added project documentation
  • tox.ini: Added testing configuration
  • requirements/devenv.txt: Updated development dependencies
🐳 Docker & Configuration (30+ files)
  • All service Dockerfiles updated to use Python 3.10 base images
  • Package and service setup.py files updated
  • Makefile configurations updated across packages and services
  • GitHub Actions workflows updated for Python 3.10
📦 Dependencies (40+ files)
  • All requirements/_base.in files updated with Python 3.10 constraints
  • Package setup configurations updated across:
    • AWS library, Common library, Models library
    • Service integration, Settings library, SDK
    • All microservices (agent, api-server, autoscaling, catalog, etc.)
🧪 Tests & Minor Adjustments (10+ files)
  • Test configuration updates for Python 3.10 compatibility
  • Minor code adjustments in payment models and resource tracking
  • Updated test files across multiple services

Total: 130 files changed, 392 insertions(+), 122 deletions(-)


🎸 Generated with Jimy

pcrespov and others added 30 commits March 24, 2025 19:10
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Odei Maiz <33152403+odeimaiz@users.noreply.github.com>
Co-authored-by: Giancarlo Romeo <giancarloromeo@gmail.com>
Co-authored-by: Andrei Neagu <neagu@itis.swiss>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
…g services (ITISFoundation#7454)

Co-authored-by: Andrei Neagu <neagu@itis.swiss>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
odeimaiz and others added 28 commits May 23, 2025 13:18
…ion#7741)

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
)

Co-authored-by: Matus Drobuliak <60785969+matusdrobuliak66@users.noreply.github.com>
Co-authored-by: Andrei Neagu <neagu@itis.swiss>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
…tion#7745)

Co-authored-by: Pedro Crespo-Valero <32402063+pcrespov@users.noreply.github.com>
Timestamp: 2025-06-02 14:16:48.737
Step ID: 2
Title: Rule 3
Timestamp: 2025-06-02 14:20:18.097
Step ID: 4
Title: Rule 5
Timestamp: 2025-06-02 14:23:35.404
Step ID: 5
Title: Rule 6
Timestamp: 2025-06-02 14:31:55.570
Step ID: 7
Title: Rule 8
Timestamp: 2025-06-02 14:36:33.331
Step ID: 8
Title: Rule 9
Timestamp: 2025-06-02 14:37:42.797
Step ID: 10
Title: Rule 11
Timestamp: 2025-06-02 14:41:54.685
Step ID: 13
Title: Rule 14
Timestamp: 2025-06-02 14:50:01.149
Step ID: 18
Title: Rule 19
Timestamp: 2025-06-02 14:55:23.746
Step ID: 19
Title: Rule 20
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.

9 participants