Bump required-python to major.minor and .python-version to major.minor.patch #38201
Unanswered
Wesztman
asked this question in
Request Help
Replies: 1 comment 1 reply
-
|
Hey, I had the {
packageRules: [
{
matchDepTypes: [
"requires-python",
],
rangeStrategy: "bump",
extractVersion: "^(?<version>\\d+\\.\\d+)",
},
],
}As for Hope this helps you or someone else! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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.
Npx azure pipelines
Please tell us more about your question or problem
Hi there, I have a UV python project, when I run renovate with default config it tries to update .python-version from 3.10 to 3.13 and the requires-python from >=3.10 to >=3.13.7
I would like it to be the other way around, for requires-python to be the loose version and .python-version to be the exact one.
So instead I would like requires-python to be updated to >=3.13 and .python-version to be set to 3.13.7
I've spent the whole day trying to get this to work, but I can't seem to get it.
Is it possible and does anyone know how to configure this?
Cheers
Carl
Logs (if relevant)
Logs
Beta Was this translation helpful? Give feedback.
All reactions