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 --only-extra #1959

Closed
atugushev opened this issue Aug 8, 2023 · 1 comment
Closed

Add support for --only-extra #1959

atugushev opened this issue Aug 8, 2023 · 1 comment
Labels
cli Related to command line interface things extras Handling optional dependencies feature Request for a new feature

Comments

@atugushev
Copy link
Member

Currently, pip-tools can't compile only extra dependencies. Wouls be nice to have a new option --only-extra, for example:

# includes test deps only
pip-compile --only-extra=test -c requirements.txt -o test-requirements.txt

Note -c requirements.txt so that common sub-dependencies are in sync with requirements.txt.

Originally posted by @atugushev in #1957 (comment)

@atugushev atugushev added feature Request for a new feature cli Related to command line interface things extras Handling optional dependencies labels Aug 8, 2023
@atugushev atugushev changed the title Currently, pip-tools can't compile only extra dependencies. This would require a new option which I'd call --only-extra, for example: Add support for --only-extra Aug 8, 2023
@atugushev
Copy link
Member Author

Closed as per #1960 (comment)

@atugushev atugushev closed this as not planned Won't fix, can't repro, duplicate, stale Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli Related to command line interface things extras Handling optional dependencies feature Request for a new feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant