Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
extras not installed when a dep is mentioned in a constraints file #3046
Comments
added a commit
to nakato/pip
that referenced
this issue
Aug 24, 2015
added a commit
to nakato/pip
that referenced
this issue
Sep 29, 2015
piotr-dobrogost
referenced this issue
Oct 1, 2015
Closed
Does pip support extras in extras_require? #3147
|
I think this is a special case of the more general one I filed as #3189 . I think its worth closing this as a dupe and making the patch for the other be sure to include a constraints test. |
rbtcollins
closed this
Oct 19, 2015
xavfernandez
added
the
topic - constraint
label
Oct 22, 2015
added a commit
to s-t-e-v-e-n-k/pip
that referenced
this issue
Nov 10, 2015
added a commit
to s-t-e-v-e-n-k/pip
that referenced
this issue
Nov 20, 2015
added a commit
to s-t-e-v-e-n-k/pip
that referenced
this issue
Nov 20, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
rbtcollins commentedAug 21, 2015
Workaround
Include the extras to be installed in the constraints file
details
Whats happening is that we're not updating the requirement with additional extras encountered. This is a subset of the 'we don't do resolution' problem - we should be merging in all extras referenced anywhere in the dep graph today, and in future we should be doing that as part of full resolution too.
The minimal test case today would be two packages A and B, A declares an extra containing B, a constraints file that contains A, and pip install -c file A[extra].