bazel-contrib / bazel-contrib/rules_uv

Add support for multiple input files

Open
#86 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Starlark
Stars
29
Forks
12
PR merge metrics
No merged PRs in 30d

Description

`uv` supports passing any number of requirements.in files, and also any number of pyproject.toml files. This can be useful if your dependencies are split across multiple tools that are consumed in other ways, so you don't want to duplicate their requirements. I haven't tried but it looks like I could potentially hack this with `data` + `args`, but I think it would be nice if this was supported.

Contributor guide

Open the contributing guide

Research direction

Start by reading uv's handling of requirements.in and pyproject.toml inputs, then inspect the repository's current rule entry point and tests for single-file inputs. Done means the rule accepts any number of each supported input file and consumes dependencies from all of them as intended.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.