Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

pycrypto _fastmath sometimes fails to build under PyPy #669

Closed
pjenvey opened this issue Sep 23, 2016 · 3 comments · Fixed by #818
Closed

pycrypto _fastmath sometimes fails to build under PyPy #669

pjenvey opened this issue Sep 23, 2016 · 3 comments · Fixed by #818
Assignees
Labels

Comments

@pjenvey
Copy link
Member

pjenvey commented Sep 23, 2016

This only happens in environments where libgmp-dev or libmpir-dev are installed. Without those, _fastmath is disabled so the build succeeds.

It can be disabled via "with_gmp=no pip install pycrypto". We should be able to work that env variable into the requirements files.

The pypy docker build doesn't have those libs, so it builds fine

(pycrypto/pycrypto#59 for more information)

@pjenvey pjenvey self-assigned this Oct 20, 2016
@pjenvey pjenvey changed the title pycrypto _fastmath sometimes fails to build under PyPy pycrypto _fastmath sometimes fails to build under PyPy Oct 20, 2016
@pjenvey
Copy link
Member Author

pjenvey commented Oct 20, 2016

We actually can't workaround this in requirements files like I thought.

We could add a mention of the issue in the install docs

@pjenvey
Copy link
Member Author

pjenvey commented Feb 13, 2017

We'll fix this in the Makefile since the install docs direct you to run make to build autopush. That probably won't cover every potential case of this in the right environment, but it's just not that important (and eventually #785 will get rid of the pycrypto dep anyway)

@pjenvey
Copy link
Member Author

pjenvey commented Feb 13, 2017

and in tox.. that should cover it, really

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants