-
Notifications
You must be signed in to change notification settings - Fork 713
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
Update Python v3.10.4 to add hatchling build backend #16402
Update Python v3.10.4 to add hatchling build backend #16402
Conversation
1b0386e
to
e2c3aa6
Compare
Test report by @SebastianAchilles |
Test report by @SebastianAchilles |
@boegelbot please test @ jsc-zen2 |
@SebastianAchilles: Request for testing this PR well received on jsczen2l1.int.jsc-zen2.easybuild-test.cluster PR test command '
Test results coming soon (I hope)... - notification for comment with ID 1277875015 processed Message to humans: this is just bookkeeping information for me, |
Test report by @boegelbot |
@SebastianAchilles This is a pretty painful change to make at this point (especially because rebuilding on existing installation of Python 3.10.4 will have a big impact). Can you elaborate on this remark?
|
Yes, I understand. My idea was to open this MR to be able to have a discussion. If we decide to close this MR, it could still be helpful for Python in a future toolchain version.
|
Hatchling will soon require 22.0 when released pypa/packaging#569 (comment) |
Short update: At JSC we decided to use this patched Python easyconfig to support hatchling, c.f. https://github.com/easybuilders/JSC/blob/2023/Golden_Repo/p/Python/Python-3.10.4-GCCcore-11.3.0.eb |
@SebastianAchilles For software built on top of a toolchain that uses a |
Note that file inclusion logic/options are backend-specific |
Closing, because Python in the 2022b toolchain generation includes |
(created using
eb --new-pr
)This MR is in draft, because it is meant as a proposal which we would need to discuss.
Currently the
hatchling
build backend is not supported in Python. It is not possible to addhatchling
asPythonBundle
, becausehatchling
andPoetry
1.1.13
will exclude each other.Since a few python packages are switching to
hatchling
as build backend, not supportinghatchling
would mean that we can not use the latesst version of these packages.Changes:
pathspec
0.9.0
->0.10.1
packaging
20.9
->21.3
platformdirs
2.4.1
->2.5.0
tomlkit
0.10.2
->0.11.4
shellingham
1.4.0
->1.5.0
jsonschema
4.4.0
->4.16.0
poetry-core
1.0.8
->1.1.0
cleo
0.8.1
->1.0.0a5
poetry
1.1.13
->1.2.0
Additional new extensions:
hatchling
1.9.0
hatch_vcs
0.2.0
hatch_fancy_pypi_readme
22.7.0
dulwich
0.20.46
poetry-plugin-export
1.0.6