-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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 #931
Comments
FilesFile names: RegistryPyPi Example URL: https://pypi.python.org/pypi/Versio/json VersioningSimilar to semver, defined in https://www.python.org/dev/peps/pep-0440/ |
Either write python version logic in JS, or call external python script, e.g. https://stackoverflow.com/questions/23450534/how-to-call-python-function-from-nodejs The regex is mega: https://stackoverflow.com/questions/37972029/regex-to-match-pep440-compliant-version-strings |
Since suggesting python, I have found https://github.com/pyupio/pyup |
Some discussions relevant to the python requirements process: |
The officially recommended tool for Python is now Pipenv, which uses Pipfile and Pipfile.lock: https://docs.pipenv.org/basics/#example-pipfile-pipfile-lock |
For context, I found |
Python packaging tools and requirement files that should be supported:
|
We've added basic
|
Next step is to implement (port) pep440 to JS so that we can use its validation and comparison functions instead of semver. We may do this in a stand-alone repo to avoid any licensing concerns with related python implementations. |
Thanks @rarkins |
Useful article on pipenv: https://buff.ly/2KcoT7S |
Python support has now been expanded to support all stable "equals" values (e.g. It remains disabled by default, so you need to manually enable it as mentioned previously. I have opened #2085 to specifically track support for advanced PEP440 specifiers. |
Thank you for your work @rarkins. It seems that the basic support for Python is already done, but it isn't mentioned in the documentation. Are you waiting for some milestone to be reached, or are you just waiting for a volunteer to document it? :) |
I'm not @rarkins, but I'd love to see documentation for Renovate's Python support. We've already started to use it in our organization, and I don't personally have any concerns with advertising it's usage to our wider community through dedicated, top-level, Renovate documentation. |
I left this issue open because the list of requirements in it was only partially complete. However it is true that
@dserodio I wasn't explicitly waiting for a volunteer but you are very welcome to jump in :) |
I've now added a few new issues to track remaining functionality for python. All have the new #python hashtag |
Python support is now enabled by default, so closing this issue. Thanks for everyone's help and suggestions |
As suggested by @khornberg and @hbetts in #121
This issue is for building up (a) support (please +1 if you would like to see python support) and (b) requirements, e.g. helping suggest what scope is required and what APIs can be used.
The text was updated successfully, but these errors were encountered: