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

Retrieve dependencies from files referenced with -r <requirements-file> #99

Open
mkniewallner opened this issue Jan 26, 2025 · 0 comments
Labels
enhancement New feature or request manager:pip Relates to pip package manager manager:pip-tools Relates to pip-tools package manager

Comments

@mkniewallner
Copy link
Owner

Right now we ignore nested requirements files referenced with -r <requirements-file>, for instance in:

-r requirements-typing.txt

pytest==8.3.4
ruff==0.8.4

This is not too problematic as it's possible to pass the file manually with --requirements-file or --dev-requirements-file on the CLI, but it could be nice to do that without the user having to specify the additional requirements file.

Note that the format without whitespace between -r and the file name is also valid, so we also need to handle -rrequirements.typing.txt for instance.

@mkniewallner mkniewallner added manager:pip Relates to pip package manager manager:pip-tools Relates to pip-tools package manager enhancement New feature or request labels Jan 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request manager:pip Relates to pip package manager manager:pip-tools Relates to pip-tools package manager
Projects
None yet
Development

No branches or pull requests

1 participant