hatch icon indicating copy to clipboard operation
hatch copied to clipboard

"hatch python install all" installs outdated versions for Python 3.9 and above

Open rhjdjong opened this issue 2 months ago • 1 comments

When running `hatch python install all, outdated versions get installed for releases newer than 3.8. E.g. 3.9.21 in stead of 3.9.23, 3.13.1 in stead of 3.13.7, etc.

I noticed that the versions to install are hard-coded in the file python/distributions.py, which explain this phenomenon. This file fixes all releases to what was current on Oct 8, 2024. It must be tedious to maintain this, and apparently this has not been done for almost a year now.

rhjdjong avatar Oct 05 '25 17:10 rhjdjong

Thanks for raising this issue. There is a script that handles updating those distributions. There is a new release of hatch coming soon and I will discuss with @ofek about getting the distributions updated as a part of that release.

cjames23 avatar Oct 09 '25 01:10 cjames23