-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
support for multiple sources #716
Comments
let me take a look |
are you using the latest version? |
this is confirmed as working on the latest version. |
please ensure you're using the latest version and enclose the full traceback if so. Closing until then. |
Thanks for taking a look. Here's the full set of commands:
|
Ah, interesting. |
Do as the warning suggests, and use |
I tried it and got a stacktrace:
|
try latest, v8.0.6. I think I fixed it. |
Seems to be working now, thanks! |
excellent news! |
i think you're our first customer using that feature haha |
Hey @kennethreitz, second customer here :) Been giving pipenv another shot since yesterday, but install hangs on some packages. I've tried removing my second source (we have internal, private packages), and no longer hangs.
Tried in Mac and Ubuntu. |
One thing I did differently than @egustavson is I only specified my private index and left pypi untouched:
|
Tried this and still hangs:
Here's the output:
|
Confirmed with this Pipfile: [[source]]
url = "http://pypi.home.kennethreitz.org/simple"
verify_ssl = false
name = "home"
[[source]]
url = "https://testpypi.python.org/pypi"
verify_ssl = true
name = "test"
[[source]]
url = "https://pypi.python.org/simple"
verify_ssl = true
name = "pypi"
[packages]
flask = {version="*", index="home"}
"cs18-sidecar" = {version="*", index="test"}
django = {version="*", index="pypi"}
[dev-packages] |
Hmm, everything should be working as expected:
digging in... |
@kennethreitz I have some code on this as of yesterday which started to handle the cross-index resolution problem. It worked actually but it wrote the wrong info to the lockfile. I did note that we currently write no info to the lockfile |
About indexes that is |
@techalchemy please focus on the issues i have assigned to you :) |
Those are the areas i need help with currently :) |
I think we are supporting this properly now, closing! |
@techalchemy - can you elaborate why you think this is supported now? |
@jonlil this is supported because the example Pipfile can be installed, locked, etc without issue: [[source]]
url = "https://pypi.python.org/simple"
verify_ssl = true
name = "pypi"
[[source]]
url = "https://testpypi.python.org/pypi"
verify_ssl = true
name = "testpypi"
[packages]
pipenv-test-private-package = {version = "*", index = "testpypi"}
requests = "*" |
I have tried to define two sources in Pipfile, something like this:
However, when I try
pipenv install
I run into an error, which includes a 404, saying that pipenv is looking for 'my-private-package' in https://pypi.python.org/simple./~https://github.com/kennethreitz/pipenv/blob/1faec7f251780e318264dee0699e6936e0c2000b/pipenv/project.py#L412-L413
Seems like the code might just be grabbing the first source in the Pipfile?
The text was updated successfully, but these errors were encountered: