Skip to content
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

fix: odcs install issue #9

Merged
merged 1 commit into from
Feb 10, 2021
Merged

fix: odcs install issue #9

merged 1 commit into from
Feb 10, 2021

Conversation

manusa
Copy link
Member

@manusa manusa commented Feb 10, 2021

Description

Transitive dependency on cryptography module from odcs module prevents dependency to install with the following StackTrace:

Collecting cryptography>=3.2 (from pyOpenSSL->odcs)
  Downloading https://files.pythonhosted.org/packages/27/5a/007acee0243186123a55423d49cbb5c15cb02d76dd1b6a27659a894b13a2/cryptography-3.4.4.tar.gz (545kB)
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-j6_46wx2/cryptography/setup.py", line 14, in <module>
        from setuptools_rust import RustExtension
    ModuleNotFoundError: No module named 'setuptools_rust'
    
            =============================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==========================
    
    
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-j6_46wx2/cryptography/
child_process.js:660
    throw err;
    ^

Error: Command failed: pip3 install odcs

Applying workaround suggested in: pyca/cryptography#5753 (comment)

See also

@manusa manusa merged commit d499326 into master Feb 10, 2021
@manusa manusa deleted the fix/odcs-dependency branch February 10, 2021 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant