8000 Parse pip flags from requirements_lock.txt · Issue #438 · bazel-contrib/rules_python · GitHub
[go: up one dir, main page]

Skip to content
Parse pip flags from requirements_lock.txt #438
Closed
@hrfuller

Description

@hrfuller

Description

As a follow up to #432 and the issue brought up by @skliarpawlo we aren't capturing pip flags that may be passed in the requirements_lock.txt file.

E.g
requirements_lock.txt:

--index-url=some.index.com/simple
foo > 0.0.0
bar==1.0.0
...

--index-url is ignored, but in pip_install it works because the requirements file is passed verbatim to pip there.

Describe the solution you'd like

Let's use pip to parse those arguments out of the requirements lock and amend the extra_pip_args array with them.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0