Closed bsipocz closed 7 months ago
Ah yes. In hatchling
v1.22.0
Metadata for the
wheel
target now defaults to thePKG-INFO
metadata within source distributions
Nice.
I thought hatchling has normalized SDist names for among time? Setuptools just changed to do it too, but I though hatching basically always did it?
Yes, it’s setuptools: https://github.com/scientific-python/upload-nightly-action/blob/a5d8097406eb99827061cc20d199db55e82eef6b/tests/test_package/pyproject.toml#L2
All the other build backends have done this since nearly the beginning.
Oh right. I just totally forgot that I had to use setuptools
in PR #27 because https://github.com/anaconda/anaconda-client/issues/676 blocks using hatchling
. I should see if this is still the case.
edit: This is still the case for
python -m build --outdir ./dist tests/test_package
now createstest_package-0.0.1.tar.gz
andtest_package-0.0.1-py3-none-any.whl
thus this PR fixes the spelling for the CI to pass.