-
Notifications
You must be signed in to change notification settings - Fork 206
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
PyPy CFFI and Cython builds fail on Travis #161
Comments
Mkay but this only happens only on pypy 2.6 (which is kinda ancient and irrelevant) right? |
Also another thing, now I realize cython shouldn't be in deps in pyproject.toml - maintainers are expected to pre-cythonize their modules so that users don't have slow source installs. |
No idea. I've never tried PyPy, so I don't know much about that. It's whatever the tox.ini is pulling up. Disabling PyPy certainly makes the build pass.
Possibly. The point of having pyproject.toml is just to try to avoid Do you mean to remove CFFI from pyproject.toml too? There's supposedly a way to use pyproject.toml to specify that a package should be installed with Flit or Poetry rather than pip. Poetry also says it can handle more complex pyproject.toml files. I can't quite figure out how that's supposed to work --- maybe pyproject.toml gets read twice? --- but that might allow more sophisticated behavior from pyproject.toml. |
Flit will eventually work with the src layout. Anyway, something really weird is going on in the CI, cause upgrading cffi on pypy works well locally. |
Trying some stuff in https://travis-ci.org/ionelmc/cookiecutter-pylibrary/builds/596992568 - cross fingers! |
When the CFFI option is enabled, testenv
pypy
fails withCFFI 1.0 is distributed with PyPy 2.6, so normally I might think this is just failing to find it because it's already included, but also...
When the Cython option is enabled, testenv
pypy
fails withIn both cases, the error is presumably emanating from
setup_requires
in setup.py: cython or cffi>=1.0.0. Why it's failing to install, though...that's a mystery. Both Cython and CFFI are supposed to work with PyPy: http://packages.pypy.org/setup_requires
uses easy_install rather than pip, but I don't see why it would matter that the Python running is PyPy.I see some vague noise about PyPy not having easy_install installed by default. In that case, we would expect both
cookiecutter.setup_py_uses_test_runner
andcookiecutter.setup_py_uses_setuptools_scm
to also fail on PyPy, since those both needsetup_requires
. Neither is currently part of the test matrix. But something is reporting "Could not find a version", so it seems like easy_install must be around to say that.https://bitbucket.org/pypy/pypy/issues/735/unable-to-install-twisted-via-easy_install
The text was updated successfully, but these errors were encountered: