Skip to content

Upgrade Python to 3.12#147

Merged
tisnik merged 1 commit into
lightspeed-core:mainfrom
omertuc:py312
Jul 1, 2025
Merged

Upgrade Python to 3.12#147
tisnik merged 1 commit into
lightspeed-core:mainfrom
omertuc:py312

Conversation

@omertuc
Copy link
Copy Markdown
Contributor

@omertuc omertuc commented Jun 30, 2025

Description

llama-stack starting with version v0.2.13 requires Python 3.12 or later.
This commit updates the lightspeed-stack codebase and CI workflows to
support only Python 3.12 and above so we can bump the version to
v0.2.13 later

Type of change

  • Refactor
  • New feature
  • Bug fix
  • CVE fix
  • Optimization
  • Documentation Update
  • Configuration Update
  • Bump-up service version
  • Bump-up dependent library
  • Bump-up library or tool used for development (does not change the final image)
  • CI configuration change
  • Konflux configuration change
  • Unit tests improvement
  • Integration tests improvement
  • End to end tests improvement

Related Tickets & Documents

  • Related Issue #

MGMT-20959

  • Closes #

Checklist before requesting a review

  • I have performed a self-review of my code.
  • PR has passed all pre-merge test jobs.
    • What these are? How do I run them?
  • n/a - If it is a core feature, I have added thorough tests.

Testing

  • Please provide detailed steps to perform tests related to this code change.
  • How were the fix/results from this change verified? Please provide relevant screenshots or results.

Comment thread pyproject.toml Outdated
Copy link
Copy Markdown
Contributor

@tisnik tisnik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it looks ok

@omertuc
Copy link
Copy Markdown
Contributor Author

omertuc commented Jun 30, 2025

I've failed to reproduce these 3.13 github action failures
image
locally

Are they normal, or should I get to the bottom of them before merging?

@tisnik
Copy link
Copy Markdown
Contributor

tisnik commented Jun 30, 2025

Probably worth to check https://techoverflow.net/2022/04/16/how-to-fix-python-pillow-pip-install-exception-requireddependencyexception-jpeg/

@omertuc omertuc force-pushed the py312 branch 2 times, most recently from 6942606 to a5b496c Compare July 1, 2025 09:38
llama-stack starting with version v0.2.13 requires Python 3.12 or later.
This commit updates the lightspeed-stack codebase and CI workflows to
support only Python 3.12 and above so we can bump the version to
v0.2.13 later
Copy link
Copy Markdown
Contributor

@tisnik tisnik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved, thank you!

@tisnik tisnik merged commit b1fc0de into lightspeed-core:main Jul 1, 2025
16 checks passed
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.

2 participants