Skip to content
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

Add python==3.12 #615

Merged
merged 15 commits into from
May 31, 2024
Merged

Add python==3.12 #615

merged 15 commits into from
May 31, 2024

Conversation

gabrielmbmb
Copy link
Member

@gabrielmbmb gabrielmbmb commented May 7, 2024

Description

This PR adds compatibility for python==3.12.

Caveats

  • vllm is not yet compatible with python==3.12 because ray is not yet compatible with 3.12
  • vllm needs outlines == 0.0.34, while our integration requires >= 0.0.40. I'll create a PR to vllm to relax the outlines dependency.

@gabrielmbmb
Copy link
Member Author

Ok, too early

@plaguss
Copy link
Contributor

plaguss commented May 14, 2024

maybe we can start testing this without argilla?

Base automatically changed from develop to main May 20, 2024 13:46
@gabrielmbmb gabrielmbmb changed the base branch from main to develop May 24, 2024 16:50
@gabrielmbmb
Copy link
Member Author

argilla==1.29.0 (to be released this Thursday) comes with compatibility for python==3.12 so we will wait until that for merging.

@@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
Copy link
Member

Choose a reason for hiding this comment

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

Just a heads up on Python 3.8 EOL https://devguide.python.org/versions/ (in case we want to reduce the CI time already)

Copy link
Member Author

Choose a reason for hiding this comment

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

I think we can keep it until it's deprecated, it gets executed in parallel so we're not going to gain CI time.

@gabrielmbmb gabrielmbmb force-pushed the add-python3.12 branch 2 times, most recently from 238af3c to 7b9ca4c Compare May 31, 2024 10:23
@gabrielmbmb gabrielmbmb added the enhancement New feature or request label May 31, 2024
@gabrielmbmb gabrielmbmb added this to the 1.2.0 milestone May 31, 2024
@gabrielmbmb gabrielmbmb marked this pull request as ready for review May 31, 2024 11:32
@gabrielmbmb gabrielmbmb merged commit 42efe6d into develop May 31, 2024
5 checks passed
@gabrielmbmb gabrielmbmb deleted the add-python3.12 branch May 31, 2024 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants