-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Adds support for Python 3.12 #11306
Adds support for Python 3.12 #11306
Conversation
✅ Deploy Preview for prefect-docs-preview ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Anything preventing this? Would like to use 3.12 heading into the new year. |
Hi @nanthony007. |
async def server_process(): | ||
|
||
@contextlib.asynccontextmanager | ||
async def start_server_process(): |
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.
Great idea for a workaround!
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.
Nice work!
In my own personal repos, I have noticed that Python 3.12 GitHub actions tests are much (e.g. 25%) slower than <=3.11, and I see the same here. Do y'all have any ideas why this might be? |
Overview
Adds Python 3.12 support and CI test coverage. Support is noted as experimental in the install docs.
Closes #10974.
Also adds conda-flavored Python 3.11 to the test matrix, as conda support for 3.11 has been added.
pendulum
To minimize user facing impact, pendulum 2.X is installed alongside any prefect version using Python 3.11 or earlier and pendulum 3.X is installed alongside any prefect version using Python 3.12 or later.
Maintenance issue added here to track upgrading or vendoring
pendulum
#11619.Checklist
<link to issue>
"fix
,feature
,enhancement
,docs
.For documentation changes:
netlify.toml
for files that are removed or renamed