You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the issues of this repo and believe that this is not a duplicate.
If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).
OS version and name: Linux 5.10.15-1024 ClearLinux
Poetry version: 1.1.4
Issue
we use the git short commit as part of our version scheme for the wheels (and the rpm package that we ultimately build). however, when the short commit (8 chars) has leading zeros, then Poetry treats that as a number and removes them. Which ultimately leads to a different wheel name than we expect.
To me, this looks like a bug and the version string should not change the output...
$ poetry version 2.2.0.dev0+build.05669607
Bumping version from 2.2.0-dev0 to 2.2.0.dev0+build.05669607
$ poetry build
Building ourpkg (2.2.0.dev0+build.05669607)
- Building sdist
- Built ourpkg-2.2.0.dev0+build.5669607.tar.gz
- Building wheel
- Built ourpkg-2.2.0.dev0+build.5669607-py3-none-any.whl
$
The text was updated successfully, but these errors were encountered:
Really a bummer... Makes every 16th commit unusable. Can confirm in 1.1.5.
From what I see inside the generated sdist setup.py is also impacted, but pyproject.toml is not.
-vvv
option).Issue
we use the git short commit as part of our version scheme for the wheels (and the rpm package that we ultimately build). however, when the short commit (8 chars) has leading zeros, then Poetry treats that as a number and removes them. Which ultimately leads to a different wheel name than we expect.
To me, this looks like a bug and the version string should not change the output...
The text was updated successfully, but these errors were encountered: