-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid Version error running Renovate 24.52.0 against Poetry project #8740
Comments
Can reproduce it here cloned from gitlab. Looks like a cache issue, investigating.
|
@rarkins I think it's a |
I deleted the app cache for all repos about a day actually. What makes you suspect it? |
Was wrong, it's failing on semver.major (versioning -> poetry -> npm -> getMajor -> semver.major)
|
We could have npm versioning itself coerce versions before |
it's poetry versioning, but poetry versioning extends npm, so getMajor points to semver.major on renovate/lib/workers/repository/process/lookup/index.ts Lines 279 to 283 in 0e0308f
on renovate/lib/workers/repository/process/lookup/index.ts Lines 273 to 277 in 01e1f38
so this fails with mentioned error because
|
I'm also confused that we have no [
{
version: "0.13.1",
releaseTimestamp: "2010-08-30T09:07:48",
},
{
version: "1.0.1",
releaseTimestamp: "2014-10-11T14:32:10",
},
] |
I'm not sure it's wrong. |
🎉 This issue has been resolved in version 24.53.1 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
What Renovate type, platform and version are you using?
Gitlab configured using template: https://gitlab.com/renovate-bot/renovate-runner
Describe the bug
When I run Renovate version 24.52.0 against my Poetry project I get an error like
This does not occur with Renovate version 24.49.9
Relevant debug logs
I don't see any more in the debug logs than quoted above other than one line indicating the package being looked at:
Have you created a minimal reproduction repository?
I've not managed to create a minimal reproducer. I suspect it needs some specific state in the lockfile which I can't quite produce minimally.
It's exhibited by the repo here:
https://gitlab.com/hunter2.app/hunter2
Please read the minimal reproductions documentation to learn how to make a good minimal reproduction repository.
Additional context
It looks like this might be caused by #8672
It seems like it might be unconditionally expecting version numbers to be semantic versions and tripping over the two-part version of this dependency.
The text was updated successfully, but these errors were encountered: