Closed mxjeff closed 6 months ago
Can you try with the version of setuptools that used to worked? If you find the latest version that worked and the first one that doesn’t, you’ll be able to report this to the setuptools tracker.
Probably related to this: https://github.com/pypa/setuptools/issues/3593#issuecomment-2052499814
The issue is indeed in setuptools cf. pypa/setuptools#4302, thanks for your help
Problem description
Building a release for a version with trailing zeros, ie. x.x.0 or x.0.0 will strip zero in source distribution but not in wheel.
For instance:
will build
mymodule-1.tar.gz
andmymodule-1.0.0-py3-none-any.whl
.I'm pretty sure it previously kept last zeros, here is a build (cf. l168) where it builds as expected.
Am I missing something?