Skip to content

Support for Python's ~= version specifier #8280

Answered by rarkins
slmtpz asked this question in Request Help
Discussion options

You must be logged in to vote

Renovate already has support for Python's ~= operator, although there's always a possibility there's a bug. You can see existing tests in this test file: https://github.com/renovatebot/renovate/blob/master/lib/versioning/pep440/index.spec.ts

For any language, if you want Renovate to update a constraint when the new version satisfies the existing range, then you must configure "rangeStrategy": "bump". You'll never get an in-range update with the default rangeStrategy=replace.

If you want patch updates when minor updates also exist then you also need to configure "separateMinorPatch": true. Otherwise default behaviour is to propose the latest non-major update.

Can you configure both of thes…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by slmtpz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants