Project

General

Profile

Bug #52646

install-deps.sh old pip version

Added by Matan Breizman over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

When running ./install-deps.sh an old version of pip causes errors.

although pip comes with virtualenv, having a recent version of pip matters to use wheel packages.

Collecting coverage>=5.2.1 (from pytest-cov->-r requirements-test.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/af/a7/c4d5a5f0dc3f06184ec5c4fdd3d8d57a8e454e677945386859238ab220e7/coverage-5.5-cp36-cp36m-manylinux1_x86_64.whl (240kB)
    100% |################################| 245kB 6.8MB/s
  Saved ./wheelhouse-wip/coverage-5.5-cp36-cp36m-manylinux1_x86_64.whl
Collecting cryptography>=3.2 (from pyopenssl->-r requirements.txt (line 5))
  Downloading https://files.pythonhosted.org/packages/cc/98/8a258ab4787e6f835d350639792527d2eb7946ff9fc0caca9c3f4cf5dcfe/cryptography-3.4.8.tar.gz (546kB)
    100% |################################| 552kB 3.1MB/s
  Complete output from command python setup.py egg_info:

          =============================DEBUG ASSISTANCE==========================
          If you are seeing an error here please try the following to  
          successfully install cryptography:                     
          Upgrade to the latest pip and try again. This will fix errors for most      
          users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip            
          =============================DEBUG ASSISTANCE==========================              
    Traceback (most recent call last):                              
      File "<string>", line 1, in <module>            
      File "/tmp/pip-build-r8vt6ev3/cryptography/setup.py", line 14, in <module>    
        from setuptools_rust import RustExtension                
    ModuleNotFoundError: No module named 'setuptools_rust'   
    ----------------------------------------                    
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-r8vt6ev3/cryptography/   
You are using pip version 9.0.3, however version 21.2.4 is available.         
You should consider upgrading via the 'pip install --upgrade pip' command.

Related issues

Copied to Ceph - Bug #56540: install-deps.sh w/ very old pip version New

History

#1 Updated by Kefu Chai over 2 years ago

  • Status changed from New to Resolved

#2 Updated by Ronen Friedman over 1 year ago

  • Copied to Bug #56540: install-deps.sh w/ very old pip version added

Also available in: Atom PDF