-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Description
Summary
A project that I work on at my job is structured as a monorepo. Some of the projects within the monorepo are for automated testing and are never deployed in production. Our security check currently includes dependencies from these, which can be a waste of our time. Our security tool operates on requirements.txt files.
Right now, we can export all of our dependencies for the workspace with uv export --all-packages ... or export requirements for a single package like uv export --package [desired-package-name] ...
I would like to be able to do something like:
uv export --package [desired-package-1] [desired-package-2] ...
uv export --all-packages --except [excluded-package-1] [excluded-package-2] ...
or
uv export --package [desired-packge-1] --package [desired-package-2] ...
(I trust y'all to make good judgement on exactly how to implement it)
In short. If a monorepo has N packages in the workspace, I'd like to be able to simply export the collective requirements for X of the packages where 1 < X < N. If there is already a way to do this and I just missed it, please let me know 👍
Version: 0.9.6
Operating system: Mac / Linux
Command(s) ran: see 2nd paragraph and the commands I'd like to run above
Command output: not relevant
Example
No response