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

Support Python 3.12 #10974

Closed
3 tasks done
discdiver opened this issue Oct 17, 2023 · 1 comment · Fixed by #11306
Closed
3 tasks done

Support Python 3.12 #10974

discdiver opened this issue Oct 17, 2023 · 1 comment · Fixed by #11306
Labels
enhancement An improvement of an existing feature

Comments

@discdiver
Copy link
Contributor

First check

  • I added a descriptive title to this issue.
  • I used the GitHub search to find a similar request and didn't find it.
  • I searched the Prefect documentation for this feature.

Prefect Version

2.x

Describe the current behavior

Python 3.12 was released to GA on Oct. 2, 2023.

Describe the proposed behavior

Support Python 3.12.

Example Use

No response

Additional context

GitHub Actions and Conda support Python 3.12.

Local testing: installing Prefect 2.13.7 into a conda env with Python 3.12 fails on pendulum install (maybe other issues, too).

Pendulum has added Python 3.12 support on their main branch, but not cut a release yet as of Oct. 17, 2023.

3.12 support for most common Python packages is tracked here. As of this writing, requests, pydantic, fastapi, and many other popular packages are not yet showing support.

@discdiver discdiver added enhancement An improvement of an existing feature needs:triage labels Oct 17, 2023
@oaustegard
Copy link

Arrived here after attempting to upgrade my local environment from 3.11 to 3.12 and found that prefect & marvin expect a version of pendulum <3.0, and pendulum only supports 3.12 from v 3.0.0.b1 onwards. Could be good to have a list of dependencies and THEIR compatibility with 3.12 as an indicator of the progress of prefect and marvin towards 3.12 support?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An improvement of an existing feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants