Skip to content

Installing conu from PyPi failed. #387

@phracek

Description

@phracek

In our GitLab ansible script, we are trying to install conu from PyPi, but it failed on dependency on cryptography

- name: Install docker-squash and conu from PyPi and enable it for root
  shell: |
    [ -d /usr/local/python36-tools ] || scl enable rh-python36 -- virtualenv --python python3 /usr/local/python36-tools
    . /usr/local/python36-tools/bin/activate
    pip install docker-squash conu

The failure is:

"Collecting zipp>=0.5 (from importlib-metadata>=0.12; python_version < \"3.8\"->pytest->conu)"
"  Downloading https://files.pythonhosted.org/packages/0f/8c/715c54e9e34c0c4820f616a913a7de3337d0cd79074dd1bed4dd840f16ae/zipp-3.4.1-py3-none-any.whl"
"Collecting pyasn1-modules>=0.2.1 (from google-auth>=1.0.1->kubernetes==8.0.0->conu)"
"  Downloading https://files.pythonhosted.org/packages/95/de/214830a981892a3e286c3794f41ae67a4495df1108c3da8a9f62159b9a9d/pyasn1_modules-0.2.8-py2.py3-none-any.whl (155kB)"
"Collecting cachetools<5.0,>=2.0.0 (from google-auth>=1.0.1->kubernetes==8.0.0->conu)"
"  Downloading https://files.pythonhosted.org/packages/bb/72/8df2e0dc991f1a1d2c6869404e7622e8ee50d80bff357dbb57c3df70305b/cachetools-4.2.1-py3-none-any.whl"
"Collecting rsa<5,>=3.1.4; python_version >= \"3.6\" (from google-auth>=1.0.1->kubernetes==8.0.0->conu)"
"  Downloading https://files.pythonhosted.org/packages/e9/93/0c0f002031f18b53af7a6166103c02b9c0667be528944137cc954ec921b3/rsa-4.7.2-py3-none-any.whl"
"Collecting oauthlib>=3.0.0 (from requests-oauthlib->kubernetes==8.0.0->conu)"
"  Downloading https://files.pythonhosted.org/packages/05/57/ce2e7a8fa7c0afb54a0581b14a65b56e62b5759dbc98e80627142b8a3704/oauthlib-3.1.0-py2.py3-none-any.whl (147kB)"
"Collecting cryptography>=1.1.0 (from adal>=1.0.2->kubernetes==8.0.0->conu)"
"  Downloading https://files.pythonhosted.org/packages/9b/77/461087a514d2e8ece1c975d8216bc03f7048e6090c5166bc34115afdaa53/cryptography-3.4.7.tar.gz (546kB)"
"    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-yigtemwf/cryptography/setup.py\", line 14, in <module>"
"        from setuptools_rust import RustExtension"
"    ModuleNotFoundError: No module named 'setuptools_rust'"
"    "

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions