hatch-pip-compile manager support #34554
sathieu
started this conversation in
Suggest an Idea
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Tell us more.
Renovate has support for pip-compile.
However, this support is based on
requirements.txt
parsing to retrieve the pip-compile command options.This fails for a file generated by
hatch-pip-compile
which has the following header:With the error:
Here is the used regex:
renovate/lib/modules/manager/pip-compile/common.ts
Lines 110 to 113 in a622c7a
I've reported this in juftin/hatch-pip-compile#91, but fixing there is not easy and maybe not possible.
Can
hatch-pip-compile
manager support be added?Possible way to do this: add a new "hatch-pip-compile" manager, with
fileMatch
onpyproject.toml
.It can parse options:
requires
andextra-dependencies
are requiredOr alternatively, call
hatch-pip-compile
directly.I can try a PR for this once the feature is pre-accepted and path choosen.
Beta Was this translation helpful? Give feedback.
All reactions