Open jblaine opened 6 years ago
I'll add that if I mask the problem by setting wheel_version false
in my resource, it just falls through to the next problem (virtualenv):
* python_package[virtualenv] action install
================================================================================
Error executing action `install` on resource 'python_package[virtualenv]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '1'
---- Begin output of ["/usr/bin/python", "-", "virtualenv"] ----
STDOUT:
STDERR: No handlers could be found for logger "pip.index"
Traceback (most recent call last):
File "<stdin>", line 38, in <module>
File "/usr/lib/python2.7/site-packages/pip/index.py", line 514, in find_requirement
'No matching distribution found for %s' % req
pip.exceptions.DistributionNotFound: No matching distribution found for virtualenv
---- End output of ["/usr/bin/python", "-", "virtualenv"] ----
Ran ["/usr/bin/python", "-", "virtualenv"] returned 1
...
...
Pip released a new rev yesterday, so that might be related. Does it get better if you lock pip to 9.0.2?
(or 9.0.1)
Observing this as well, but intermittently between multiple runs on the same node.
Ours stopped freaking out sometime over the weekend on all of our nodes. I could be wrong, but it seemed to only be happening on RHEL 7 nodes.
Happening for us on our macOS nodes.
This might also be due to the pending removal of TLS 1.0 and 1.1 on PyPI. They have been doing rolling brownouts to test the removal so you might be failing. You will need to upgrade to versions of things which support TLS 1.2 to use PyPI going forward.
the workaround here https://github.com/poise/poise-python/issues/140#issuecomment-462688078
poise 2.8.1 poise-languages 2.1.1 poise-python 1.6.0
Cannot really make sense out of what is happening here.