pypa / hatch

Modern, extensible Python project management
https://hatch.pypa.io/latest/
MIT License
6.1k stars 309 forks source link

Can hatch install Python release candidates? #1728

Closed mihaimaruseac closed 1 month ago

mihaimaruseac commented 2 months ago

Asked first in https://github.com/pypa/hatch/discussions/1722 but since I couldn't find a way to work I think it is not possible now, so making an issue as a feature request, if possible

Originally posted by **mihaimaruseac** September 15, 2024 Hello, Thank you for the amazing tool, I really enjoy using it. Now that [Python 3.13 is in RC2](https://www.python.org/downloads/release/python-3130rc2/), I wanted to test my project using it to detect and fix breakages before the final version of Python 3.13 is released. However, reading through the documentation on `hatch python` it looks like this doesn't seem to work? I must have been holding this wrong, so I decided to ask here if there is a way to test Python release candidates. While here, a side question: how long does it take between a new Python version being released and the release being visible to hatch? Thank you!
kpfleming commented 1 month ago

Hatch uses 'standalone' Python builds from https://github.com/indygreg/python-build-standalone, and builds of Python 3.13.0 were just completed a few minutes ago. Minor releases usually show up there within a day or so of the source code release, but it took a few months to get the 3.13 major release built because there had been a large number of changes in the CPython build system.

mihaimaruseac commented 1 month ago

Thank you! I'll close this since it's no longer needed then