Python module setup.py (pip_setup) dependency updates by Renovate combined with GitLab Package Registry #26308
Replies: 2 comments
-
You could do either of these things:
However it's not clear to me what you'd like such a dependency updated to or the logic Renovate should use. The presence of a git SHA in the path instead of a versioned tag makes it difficult |
Beta Was this translation helpful? Give feedback.
-
Our use case is to link Python modules hosted in a GitLab Package Registry inside a pip install dummy-module --index-url https://gitlab.local.com/api/v4/projects/5379/packages/pypi/simple The only way we figured out (so far) to be able to install Python modules defined inside the In our use case, the logic should simply be to replace the current URL with the URL of the newest package. |
Beta Was this translation helpful? Give feedback.
-
How are you running Renovate?
Self-hosted
If you're self-hosting Renovate, tell us what version of Renovate you run.
If you're self-hosting Renovate, select which platform you are using.
GitLab self-hosted
What is your question?
We have Python modules, which were referencing other Python modules from an internal GitLab Package Registry (no authentication needed for downloading packages). The
setup.py
looks like the following:Our goal is to install all dependencies directly when installing the Python module
dummy-module
. This works so far by using thesetup.py
withinstall_requires
, as shown above.Renovate is configured and also able to detect and update
python-ldap
inside thesetup.py
. However, theother-internal-module
will not be updated. Might it's because of the "direct reference" (->@ https://gitlab.local.com/api/v4/projects/1/packages/pypi/files/0635d9dc9b32911047c19d2814b0b574be7c91756de2283f5217d9e098f79bab/other-internal-module-0.1.0-py3-none-any.whl
) or Renovate is not able to handle this kind of references.So my question would be:
other-internal-module
in this kind of construct?Logs (if relevant)
Logs
Beta Was this translation helpful? Give feedback.
All reactions