Skip to content
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

Support .python-version with multiple versions for pyenv manager #31850

Open
rarkins opened this issue Oct 8, 2024 Discussed in #31837 · 0 comments
Open

Support .python-version with multiple versions for pyenv manager #31850

rarkins opened this issue Oct 8, 2024 Discussed in #31837 · 0 comments
Labels
manager:pyenv Related to the pyenv manager priority-4-low Low priority, unlikely to be done unless it becomes important to more people type:feature Feature (new functionality)

Comments

@rarkins
Copy link
Collaborator

rarkins commented Oct 8, 2024

Discussed in #31837

Originally posted by mkniewallner October 7, 2024

Tell us more.

Renovate implements pyenv manager to update Python version defined in a .python-version file. Per pyenv documentation, it is also possible to set multiple Python versions in a single .python-version file, separated by newlines:

You can also specify multiple versions in a .python-version file by hand,
separated by newlines. Lines starting with a # are ignored.

Would it make sense for Renovate to support that, by extracting all possible Python versions defined in the file? Currently, the content of the file is trimmed, assuming that only one version can be specified.

If it makes sense, I'm willing to implement support for it.

@rarkins rarkins added manager:pyenv Related to the pyenv manager type:feature Feature (new functionality) priority-4-low Low priority, unlikely to be done unless it becomes important to more people labels Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
manager:pyenv Related to the pyenv manager priority-4-low Low priority, unlikely to be done unless it becomes important to more people type:feature Feature (new functionality)
Projects
None yet
Development

No branches or pull requests

1 participant