-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
'extras_require' must be a dictionary
when using git+ link in extras_require
#2048
Comments
@xkortex can you try this (notice the updated PEP 508 syntax for the direct url requirement): # setup.py
from setuptools import setup, find_packages
# The link is actually to a client library, I'm using six to demonstrate
setup(
name="dummy",
packages=find_packages(),
extras_require={
'myextra': ['six @ git+https://github.com/benjaminp/six.git'],
}
) |
sbrugman
added a commit
to sbrugman/synthsonic
that referenced
this issue
May 20, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
moved from pypa/pip#7906
I don't know why it says I added a
Python 2
label. I don't even see a button to add labels. This is a python 3 thing (well it probably affects both, but I don't care about py2 :) ).here's the error for quick reference:
setuptools/setuptools/dist.py
Lines 246 to 255 in 8bbdc60
Environment1
virtualenv
Environment2
Anaconda virtualenv
My test env:
Description
pip install "./[myextra]"
or
pip install .
fails with
Expected behavior
successful pip install of my app plus the extras (a client library in this case). I can pip install a git link, and I can install extras_require, but I can't do extras with a git link
How to Reproduce
Output
The text was updated successfully, but these errors were encountered: