Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for multiple input files #86

Open
keith opened this issue Jul 23, 2024 · 4 comments
Open

Add support for multiple input files #86

keith opened this issue Jul 23, 2024 · 4 comments

Comments

@keith
Copy link
Contributor

keith commented Jul 23, 2024

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.

@mark-thm
Copy link
Contributor

We support including additional files in data, but the assumption is that you use -r or -c lines in some primary constraint file.

@mark-thm
Copy link
Contributor

@keith
Copy link
Contributor Author

keith commented Jul 23, 2024

oh ok, good to know that's what data is for. does -r / -c support using a pyproject.toml file?

@mark-thm
Copy link
Contributor

I haven't spent much time with the docs -- if you want there to be multiple input constraint files and for them all to automatically show up in the command, I think that's something we can easily grow these rules to do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants