-
-
Notifications
You must be signed in to change notification settings - Fork 629
Closed
Description
Running pip-tools compile with --all-extras
on multiple sources containing extras always fails with the following error:
Error: Invalid value: --extra has no effect when used with --all-extras
Environment Versions
- Linux
- Python version:
python 3.10.8
- pip version:
pip 22.2.2
- pip-tools version:
pip-compile, version 7.3.1.dev21
Steps to replicate
- Create two small projects with
pyproject.toml
containing
[project]
name = "package-a"
version = "0.1.0"
[project.optional-dependencies]
test = []
- Run
python -m piptools compile --all-extras package-a/pyproject.toml package-b/pyproject.toml
Expected result
A requirements.txt
file for the combined projects including all extras should be generated.
Actual result
Error: Invalid value: --extra has no effect when used with --all-extras
Metadata
Metadata
Assignees
Labels
No labels