这是indexloc提供的服务,不要输入任何密码
Skip to content

Renovate fails to parse poetry versions like a.b.c, !=a.b.c.d #37126

@RahulGautamSingh

Description

@RahulGautamSingh

Discussed in #37086

Originally posted by doc-sheet July 21, 2025

How are you running Renovate?

Self-hosted Renovate

If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.

Github

Please tell us more about your question or problem

Hi!
I stepped on an issue similar to #30929

Poetry allows to specify exact dependency without ==

my-cool-package = "1.2.3, !=1.2.3.4"

However such format is invalid for renovatebot.

Minimal reproduction is here https://github.com/doc-sheet/renovate-poetry-fails-semver

Logs (if relevant)

Logs

https://github.com/doc-sheet/renovate-poetry-fails-semver/actions/runs/16414449993/job/46377013937#step:3:411


                {
                 "datasource": "pypi",
                 "currentValue": "69.0.0.20240115, !=69.0.0.20240106",
                 "managerData": {"nestedVersion": false},
                 "skipReason": "invalid-version",
                 "depName": "types-setuptools",
                 "depType": "dependencies",
                 "lockedVersion": "69.0.0.20240115",
                 "updates": [],
                 "packageName": "types-setuptools"
               },

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority-3-mediumDefault priority, "should be done" but isn't prioritised ahead of othersversioning:poetryPoetry versioning scheme

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions