Open
Description
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
"poetry": [
{
"deps": [
{
"datasource": "pypi",
"currentValue": "^1!13.18.0",
"managerData": {"nestedVersion": false},
"versioning": "poetry",
"depName": "simplepycons",
"depType": "dependencies",
"lockedVersion": "1!13.18.0",
"updates": [
{
"bucket": "non-major",
"newVersion": "1!13.21.0",
"newValue": "^13.18.0",
"releaseTimestamp": "2024-12-24T14:29:05.000Z",
"newMajor": 13,
"newMinor": 21,
"newPatch": 0,
"updateType": "minor",
"isRange": true,
"branchName": "renovate/simplepycons-13.x"
},
{
"bucket": "major",
"newVersion": "1!14.4.0",
"newValue": "^14.0.0",
"releaseTimestamp": "2025-01-26T15:39:57.000Z",
"newMajor": 14,
"newMinor": 4,
"newPatch": 0,
"updateType": "major",
"isRange": true,
"branchName": "renovate/simplepycons-14.x"
}
],
"packageName": "simplepycons",
"warnings": [],
"sourceUrl": "https://github.com/carstencodes/simplepycons",
"registryUrl": "https://pypi.org/pypi",
"currentVersion": "1!13.18.0",
"currentVersionTimestamp": "2024-11-24T18:21:17.000Z",
"isSingleVersion": false,
"fixedVersion": "1!13.18.0"
},
Activity