Skip to content

Support Python 3.13, deprecate Python 3.8 #1833

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

Closed
6 of 7 tasks
jvstme opened this issue Oct 15, 2024 · 4 comments · Fixed by #1910
Closed
6 of 7 tasks

Support Python 3.13, deprecate Python 3.8 #1833

jvstme opened this issue Oct 15, 2024 · 4 comments · Fixed by #1910

Comments

@jvstme
Copy link
Collaborator

jvstme commented Oct 15, 2024

Checklists

Running dstack under 3.9-3.13

  • Forbid installing the dstack and gpuhunt packages under 3.8
  • (optional) Upgrade the codebase to use 3.9 features
  • In the codebase, address removals and deprecations in 3.13, if any
  • Run tests under 3.9-3.13 in GitHub Actions

Running dstack configurations under 3.9-3.13

  • Build dstackai/base:py3.13-* docker images
  • Pre-pull dstackai/base:py3.13-* in dstack packer templates, do not pre-pull dstackai/base:py3.8-*
  • Allow specifying python: 3.13 in run configurations, deprecate specifying python: 3.8

After a few dstack releases

  • Stop building dstackai/base:py3.8-* docker images
  • Forbid specifying python: 3.8 in run configurations
@jvstme
Copy link
Collaborator Author

jvstme commented Oct 15, 2024

Running dstack under 3.13 seems to be blocked by MagicStack/asyncpg#1181. Other steps in this issue shouldn't be blocked

@un-def
Copy link
Collaborator

un-def commented Oct 19, 2024

asyncpg v0.30.0 with Python 3.13 support has just been released.

@jvstme
Copy link
Collaborator Author

jvstme commented Oct 21, 2024

@zmievsa
Copy link
Contributor

zmievsa commented Oct 25, 2024

Let me take care of the first issue.

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 a pull request may close this issue.

3 participants