pep440
and poetry
versionings strip Epoch
segment
#34461
Labels
priority-3-medium
Default priority, "should be done" but isn't prioritised ahead of others
versioning:pep440
PEP440 versioning scheme
versioning:poetry
Poetry versioning scheme
Discussed in #34449
Originally posted by chkpwd February 25, 2025
How are you running Renovate?
A Mend.io-hosted app
There is an issue with the newValue for pep440 versioning, where the Epoch segment is being stripped. The versioning should correctly retain the Epoch segment, e.g., ^1!13.18.0 instead of ^13.18.0.
Actual Behavior: The Epoch segment is being stripped from the version range (^1!13.18.0 → ^13.18.0).
Test package: https://pypi.org/project/simplepycons/
Poetry:
Package Name: simplepycons
Current Version: ^1!13.18.0
Locked Version: 1!13.18.0
New Version: 1!13.21.0
New Value: ^13.18.0 (Note: The Epoch segment 1! has been stripped)
Logs
The text was updated successfully, but these errors were encountered: