A minimal Pipfile
now fails to lock with pipenv==11.0.2
installed via Homebrew.
Pipfile.lock
is generated after running pipenv install
.
pip.exceptions.InstallationError: Command "python setup.py egg_info" failed with error code 1
Using this Pipifile
in an otherwise empty directory:
[[source]]
url = "https://pypi.python.org/simple"
verify_ssl = true
name = "pypi"
[requires]
python_version = "3"
[dev-packages]
sniffer = "*"
MacFSEvents = {version = "*", sys_platform = "== 'darwin'"}
$ pipenv install
Pipfile.lock not found, creating…
Locking [dev-packages] dependencies…
nv/patched/piptools/resolver.py", line 279, in _iter_dependencies
for dependency in self.repository.get_dependencies(ireq):
File "/usr/local/Cellar/pipenv/11.0.2/libexec/lib/python3.6/site-packages/pipenv/patched/piptools/repositories/pypi.py", line 162, in get_dependencies
legacy_results = self.get_legacy_dependencies(ireq)
File "/usr/local/Cellar/pipenv/11.0.2/libexec/lib/python3.6/site-packages/pipenv/patched/piptools/repositories/pypi.py", line 199, in get_legacy_dependencies
result = reqset._prepare_file(self.finder, ireq)
File "/usr/local/Cellar/pipenv/11.0.2/libexec/lib/python3.6/site-packages/pipenv/patched/pip/req/req_set.py", line 639, in _prepare_file
abstract_dist.prep_for_dist()
File "/usr/local/Cellar/pipenv/11.0.2/libexec/lib/python3.6/site-packages/pipenv/patched/pip/req/req_set.py", line 134, in prep_for_dist
self.req_to_install.run_egg_info()
File "/usr/local/Cellar/pipenv/11.0.2/libexec/lib/python3.6/site-packages/pipenv/patched/pip/req/req_install.py", line 438, in run_egg_info
command_desc='python setup.py egg_info')
File "/usr/local/Cellar/pipenv/11.0.2/libexec/lib/python3.6/site-packages/pipenv/patched/pip/utils/__init__.py", line 707, in call_subprocess
% (command_desc, proc.returncode, cwd))
pip.exceptions.InstallationError: Command "python setup.py egg_info" failed with error code 1 in /var/folders/h1/2b6gts3x37zcnj5khyv8y5180000gn/T/tmp0jkxg5jebuild/pync/
At a minimum, I would expect more debugging information to be displayed.
Can you run again with “--verbose”? That should show what’s up!
On Tue, Mar 6, 2018 at 9:22 AM Jace Browning notifications@github.com
wrote:
Be sure to check the existing issues, both open and closed.
A minimal Pipfile now fails to lock with pipenv==11.0.2 installed with
Homebrew.
Describe your environment
- macOS
- Python version: Python 3.6.4
- Pipenv version: pipenv, version 11.0.2
Expected result
Pipfile.lock is generated after running pipenv install.
Actual resultpip.exceptions.InstallationError: Command "python setup.py egg_info"
failed with error code 1Steps to replicate
Using this Pipifile in an otherwise empty directory:
[[source]]
url = "https://pypi.python.org/simple"verify_ssl = truename = "pypi"[requires]
python_version = "3"[dev-packages]
sniffer = ""MacFSEvents = {version = "", sys_platform = "== 'darwin'"}$ pipenv install
Pipfile.lock not found, creating…
Locking [dev-packages] dependencies…
nv/patched/piptools/resolver.py", line 279, in _iter_dependencies
for dependency in self.repository.get_dependencies(ireq):
File "/usr/local/Cellar/pipenv/11.0.2/libexec/lib/python3.6/site-packages/pipenv/patched/piptools/repositories/pypi.py", line 162, in get_dependencies
legacy_results = self.get_legacy_dependencies(ireq)
File "/usr/local/Cellar/pipenv/11.0.2/libexec/lib/python3.6/site-packages/pipenv/patched/piptools/repositories/pypi.py", line 199, in get_legacy_dependencies
result = reqset._prepare_file(self.finder, ireq)
File "/usr/local/Cellar/pipenv/11.0.2/libexec/lib/python3.6/site-packages/pipenv/patched/pip/req/req_set.py", line 639, in _prepare_file
abstract_dist.prep_for_dist()
File "/usr/local/Cellar/pipenv/11.0.2/libexec/lib/python3.6/site-packages/pipenv/patched/pip/req/req_set.py", line 134, in prep_for_dist
self.req_to_install.run_egg_info()
File "/usr/local/Cellar/pipenv/11.0.2/libexec/lib/python3.6/site-packages/pipenv/patched/pip/req/req_install.py", line 438, in run_egg_info
command_desc='python setup.py egg_info')
File "/usr/local/Cellar/pipenv/11.0.2/libexec/lib/python3.6/site-packages/pipenv/patched/pip/utils/__init__.py", line 707, in call_subprocess
% (command_desc, proc.returncode, cwd))
pip.exceptions.InstallationError: Command "python setup.py egg_info" failed with error code 1 in /var/folders/h1/2b6gts3x37zcnj5khyv8y5180000gn/T/tmp0jkxg5jebuild/pync/At a minimum, I would expect more debugging information to be displayed.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/pypa/pipenv/issues/1567, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABhjq54vpIGa5cKYmGp2Sz8xJFzvhDwlks5tbsW2gaJpZM4SfGuM
.
$ pipenv install --verbose
Pipfile.lock not found, creating…
Locking [dev-packages] dependencies…
nv/patched/piptools/resolver.py", line 279, in _iter_dependencies
for dependency in self.repository.get_dependencies(ireq):
File "/usr/local/Cellar/pipenv/11.0.2/libexec/lib/python3.6/site-packages/pipenv/patched/piptools/repositories/pypi.py", line 162, in get_dependencies
legacy_results = self.get_legacy_dependencies(ireq)
File "/usr/local/Cellar/pipenv/11.0.2/libexec/lib/python3.6/site-packages/pipenv/patched/piptools/repositories/pypi.py", line 199, in get_legacy_dependencies
result = reqset._prepare_file(self.finder, ireq)
File "/usr/local/Cellar/pipenv/11.0.2/libexec/lib/python3.6/site-packages/pipenv/patched/pip/req/req_set.py", line 639, in _prepare_file
abstract_dist.prep_for_dist()
File "/usr/local/Cellar/pipenv/11.0.2/libexec/lib/python3.6/site-packages/pipenv/patched/pip/req/req_set.py", line 134, in prep_for_dist
self.req_to_install.run_egg_info()
File "/usr/local/Cellar/pipenv/11.0.2/libexec/lib/python3.6/site-packages/pipenv/patched/pip/req/req_install.py", line 438, in run_egg_info
command_desc='python setup.py egg_info')
File "/usr/local/Cellar/pipenv/11.0.2/libexec/lib/python3.6/site-packages/pipenv/patched/pip/utils/__init__.py", line 707, in call_subprocess
% (command_desc, proc.returncode, cwd))
pip.exceptions.InstallationError: Command "python setup.py egg_info" failed with error code 1 in /var/folders/h1/2b6gts3x37zcnj5khyv8y5180000gn/T/tmpnzo89jp7build/pync/
are you totally sure that you are using latest version of pipenv? I swear I
pushed a PR that should show more debug output when you use --verbose.
Just for my sanity, can you run: "pipenv --version && pipenv install
--verbose"?
Thanks!
On Tue, Mar 6, 2018 at 9:39 AM Jace Browning notifications@github.com
wrote:
$ pipenv install --verbose
Pipfile.lock not found, creating…
Locking [dev-packages] dependencies…
nv/patched/piptools/resolver.py", line 279, in _iter_dependencies
for dependency in self.repository.get_dependencies(ireq):
File "/usr/local/Cellar/pipenv/11.0.2/libexec/lib/python3.6/site-packages/pipenv/patched/piptools/repositories/pypi.py", line 162, in get_dependencies
legacy_results = self.get_legacy_dependencies(ireq)
File "/usr/local/Cellar/pipenv/11.0.2/libexec/lib/python3.6/site-packages/pipenv/patched/piptools/repositories/pypi.py", line 199, in get_legacy_dependencies
result = reqset._prepare_file(self.finder, ireq)
File "/usr/local/Cellar/pipenv/11.0.2/libexec/lib/python3.6/site-packages/pipenv/patched/pip/req/req_set.py", line 639, in _prepare_file
abstract_dist.prep_for_dist()
File "/usr/local/Cellar/pipenv/11.0.2/libexec/lib/python3.6/site-packages/pipenv/patched/pip/req/req_set.py", line 134, in prep_for_dist
self.req_to_install.run_egg_info()
File "/usr/local/Cellar/pipenv/11.0.2/libexec/lib/python3.6/site-packages/pipenv/patched/pip/req/req_install.py", line 438, in run_egg_info
command_desc='python setup.py egg_info')
File "/usr/local/Cellar/pipenv/11.0.2/libexec/lib/python3.6/site-packages/pipenv/patched/pip/utils/__init__.py", line 707, in call_subprocess
% (command_desc, proc.returncode, cwd))
pip.exceptions.InstallationError: Command "python setup.py egg_info" failed with error code 1 in /var/folders/h1/2b6gts3x37zcnj5khyv8y5180000gn/T/tmpnzo89jp7build/pync/—
You are receiving this because you commented.Reply to this email directly, view it on GitHub
https://github.com/pypa/pipenv/issues/1567#issuecomment-370864567, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABhjq0oTD-zlR3jdvuaMcqNL4SCtXeaXks5tbsnBgaJpZM4SfGuM
.
$ pipenv --version && pipenv install --verbose
pipenv, version 11.0.2
Pipfile.lock not found, creating…
Locking [dev-packages] dependencies…
nv/patched/piptools/resolver.py", line 279, in _iter_dependencies
for dependency in self.repository.get_dependencies(ireq):
File "/usr/local/Cellar/pipenv/11.0.2/libexec/lib/python3.6/site-packages/pipenv/patched/piptools/repositories/pypi.py", line 162, in get_dependencies
legacy_results = self.get_legacy_dependencies(ireq)
File "/usr/local/Cellar/pipenv/11.0.2/libexec/lib/python3.6/site-packages/pipenv/patched/piptools/repositories/pypi.py", line 199, in get_legacy_dependencies
result = reqset._prepare_file(self.finder, ireq)
File "/usr/local/Cellar/pipenv/11.0.2/libexec/lib/python3.6/site-packages/pipenv/patched/pip/req/req_set.py", line 639, in _prepare_file
abstract_dist.prep_for_dist()
File "/usr/local/Cellar/pipenv/11.0.2/libexec/lib/python3.6/site-packages/pipenv/patched/pip/req/req_set.py", line 134, in prep_for_dist
self.req_to_install.run_egg_info()
File "/usr/local/Cellar/pipenv/11.0.2/libexec/lib/python3.6/site-packages/pipenv/patched/pip/req/req_install.py", line 438, in run_egg_info
command_desc='python setup.py egg_info')
File "/usr/local/Cellar/pipenv/11.0.2/libexec/lib/python3.6/site-packages/pipenv/patched/pip/utils/__init__.py", line 707, in call_subprocess
% (command_desc, proc.returncode, cwd))
pip.exceptions.InstallationError: Command "python setup.py egg_info" failed with error code 1 in /var/folders/h1/2b6gts3x37zcnj5khyv8y5180000gn/T/tmp36whfbqgbuild/pync/
I recently switched over to the version on Homebrew, if that matters. Maybe it was packaged incorrectly?
okay, I'll try to take a look at this tonight and see if I can reproduce it
(and also why there's no debug output coming out)
On Tue, Mar 6, 2018 at 10:14 AM Jace Browning notifications@github.com
wrote:
$ pipenv --version && pipenv install --verbose
pipenv, version 11.0.2
Pipfile.lock not found, creating…
Locking [dev-packages] dependencies…
nv/patched/piptools/resolver.py", line 279, in _iter_dependencies
for dependency in self.repository.get_dependencies(ireq):
File "/usr/local/Cellar/pipenv/11.0.2/libexec/lib/python3.6/site-packages/pipenv/patched/piptools/repositories/pypi.py", line 162, in get_dependencies
legacy_results = self.get_legacy_dependencies(ireq)
File "/usr/local/Cellar/pipenv/11.0.2/libexec/lib/python3.6/site-packages/pipenv/patched/piptools/repositories/pypi.py", line 199, in get_legacy_dependencies
result = reqset._prepare_file(self.finder, ireq)
File "/usr/local/Cellar/pipenv/11.0.2/libexec/lib/python3.6/site-packages/pipenv/patched/pip/req/req_set.py", line 639, in _prepare_file
abstract_dist.prep_for_dist()
File "/usr/local/Cellar/pipenv/11.0.2/libexec/lib/python3.6/site-packages/pipenv/patched/pip/req/req_set.py", line 134, in prep_for_dist
self.req_to_install.run_egg_info()
File "/usr/local/Cellar/pipenv/11.0.2/libexec/lib/python3.6/site-packages/pipenv/patched/pip/req/req_install.py", line 438, in run_egg_info
command_desc='python setup.py egg_info')
File "/usr/local/Cellar/pipenv/11.0.2/libexec/lib/python3.6/site-packages/pipenv/patched/pip/utils/__init__.py", line 707, in call_subprocess
% (command_desc, proc.returncode, cwd))
pip.exceptions.InstallationError: Command "python setup.py egg_info" failed with error code 1 in /var/folders/h1/2b6gts3x37zcnj5khyv8y5180000gn/T/tmp36whfbqgbuild/pync/I recently switched over to the version on Homebrew, if that matters.
—
You are receiving this because you were assigned.Reply to this email directly, view it on GitHub
https://github.com/pypa/pipenv/issues/1567#issuecomment-370875546, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABhjq5eh274aIhjf3tJw0L36992xXxKpks5tbtHWgaJpZM4SfGuM
.
On further investigation, the error seems to be coming from https://github.com/SeTeM/pync/issues/34.
I still think that pipenv
needs to:
--verbose
Should I rename this issue or open a new one?
can't d oanything about bad setup.pys
Pipenv used to tell me which package failed to install. Isn't this a regression?
i'll work on fixing it
Yeah --verbose
used to tell you this and also dump debug output, that should be fixed (sorry I haven't been able to look at this yet).
we totally reworked all that code (well, I did) recently.
we totally reworked all that code (well, I did) recently.
Yeah I figured :) if you end up with time to poke at this - awesome! - otherwise when I find time I'll try to work with a failing setup.py and get it to dump debug output
excellent
Most helpful comment
i'll work on fixing it