-
-
Notifications
You must be signed in to change notification settings - Fork 387
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
feat: add python 3.12 #2063
feat: add python 3.12 #2063
Conversation
@JacobCoffee what's the progress here? How many libs are still blocking this? |
Still the same - grpc.io and greenlet |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a friendly reminder not to use 3.12 syntax anywhere just yet :)
Most tools with just fail to parse it, like mypy does :(
Congrats on 3.12 release 🎉
python-version: "3.11" | ||
|
||
python-version: "3.12" | ||
allow-prereleases: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can remove this line now :)
3.12.0 is final!
pydantic-version: ["1", "2"] | ||
uses: ./.github/workflows/test.yaml | ||
with: | ||
coverage: ${{ matrix.python-version == '3.11' && matrix.pydantic-version == '2' }} | ||
coverage: ${{ matrix.python-version == '3.12' && matrix.pydantic-version == '2' }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I recommend not to use coverage with 3.12 just yet, there are some possible (and known) bugs, which can result in invalid coverage percentage or line numbers. 3.11 is fine.
python-version: "3.11" | ||
|
||
python-version: "3.12" | ||
allow-prereleases: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
^
@@ -14,7 +14,8 @@ jobs: | |||
- uses: actions/checkout@v4 | |||
- uses: actions/setup-python@v4 | |||
with: | |||
python-version: "3.11" | |||
python-version: "3.12" | |||
allow-prereleases: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
^
python-version: "3.11" | ||
|
||
python-version: "3.12" | ||
allow-prereleases: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
^
python-version: "3.11" | ||
|
||
python-version: "3.12" | ||
allow-prereleases: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
^
@@ -32,6 +32,7 @@ jobs: | |||
uses: actions/setup-python@v4 | |||
with: | |||
python-version: ${{ inputs.python-version }} | |||
allow-prereleases: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
^
Pull Request Checklist
Description
Close Issue(s)