-
-
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
pip install
from Pypi does not install dependencies
#952
Comments
I do not see a need to auto-generate We can generate a |
I agree, this should be done on purpose (no auto generation). For my issue, so every modules pushed to Pypi should have this requirements.txt automatically done during build before building sdist/bdist/wheel ? Because for the moment, I don't have the dependencies of my package installed when I do The issue with |
First:
I'm not sure I follow what you're expecting here, maybe I'm missing something. Second:
Ah, yes, that's discussed in https://github.com/kennethreitz/pipenv/issues/942. Finally:
Personal idea: You could use that tool to obtain those 2 separate requirements file from the Pipfile, and then use pip-tools to perform the dependency resolution (lock) on the |
I use PBR that does all of this automatically. But it does not support Pipfile yet, apparently. |
Weirdly, I get the following with
|
Hmmm @vphilippon haven't we seen this bug before? Doesn't this depend on how pipenv is installed and whether it will respect environment markers? The details are a bit murky at the moment but I'm pretty sure this might relate to #857 |
I should note that we do not officially support python 2.6. Not that it's causing this, just wanted to acknowledge it. |
@stibbons can you post an automatically generated |
I have fixed this by ensuring i don’t use markers in my library. If i resume:
|
PBR does not generate a setup.py, it is pluged into it and does everything « magically ». But it definitely support « requirements.txt », it is described on their doc, I have opened an issue on their side to support Pipfile as well. By the way, parsing à Pipfile using pipenv adds so many dependencies (ex: flake8), is it possible to split the parsing part from the pipenv CLI in two different packages?). That could help other projects to read Pipfile |
@techalchemy I think you're right, especially if I take @stibbons comment:
This might be yet another case of "the python version running And finally
That should be discussed in a separate issue. Tracking becomes impossible otherwise 😄 . |
Donc in #967 :) I don't use pyenv, only brew python on my mac and default python 2.7 on ubuntu 16.04. I have seen this behavior on both the Travis build and my local machine. |
Hello
I really prefer pipenv to handle
Pipfile
andPipfile.lock
over the oldrequirements.txt
, however, my packages that uses pipenv (ex: here), when installed withpip install txrwlock
, get no dependency at all.I wonder if, for the moment at least, auto-generating a
requirements.txt
is not necessary, at least waiting for official support ofPipfile
bypip
(and other tools such as ReadTheDoc or Pyup that only supportrequirements.txt
).What's your thoughts?
The text was updated successfully, but these errors were encountered: