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

How about pypy? #8

Open
dholth opened this issue Jun 2, 2015 · 10 comments
Open

How about pypy? #8

dholth opened this issue Jun 2, 2015 · 10 comments

Comments

@dholth
Copy link

dholth commented Jun 2, 2015

Do you have any hints on getting pypy to work with this kind of setup?

@ogrisel
Copy link
Owner

ogrisel commented Jun 2, 2015

I have not tried and I don't use PyPy personally.

The appveyor free workers would be too slow to build the full PyPy project itself but it could be interesting to test third party Python projects that have cffi-based compiled extensions and check that it runs correctly when used from a PyPy program under Windows.

@dholth
Copy link
Author

dholth commented Jun 2, 2015

I'd probably have to figure out how to download and install PyPy from appveyor.yml, ideally to the Users\Appveyor... cache, and just use that Python to run the same tests as the convenient Appveyor-provided ones.

@ogrisel
Copy link
Owner

ogrisel commented Jun 2, 2015

You can reuse utility powershell functions from: https://github.com/ogrisel/python-appveyor-demo/blob/master/appveyor/install.ps1

@jayvdb
Copy link
Contributor

jayvdb commented Aug 7, 2015

#17 will make it easier to download the pypy installer.

@ogrisel
Copy link
Owner

ogrisel commented Aug 7, 2015

#17 is now merged in master.

@anthrotype
Copy link
Contributor

has anyone tried getting pypy to work on appveyor yet?

@dholth
Copy link
Author

dholth commented Oct 6, 2015

http://stackoverflow.com/questions/30822873/how-do-i-build-a-pypy-package-on-appveyor

Could probably be improved by caching into the appveyor home directory, to avoid downloading every single time.

@anthrotype
Copy link
Contributor

I'll try! thank you 👍

@jayvdb
Copy link
Contributor

jayvdb commented Jul 21, 2016

It is a bit of a nightmare getting setuptools, tox, virtualenv & pip to all work on Windows with wheels and their vendoring of other packages and fresh bugs each release. I gave up with pypy3-2.4.0 and pypy-2.6.1, and manually installed setuptools for those, avoiding the other three.
Also it is critical to move the pypy unpacked directory out of the current build directory, otherwise setuptools and pkg_resources peek inside and fail to parse parts of the pypy distribution.

PyCQA/pyflakes#76

@ghost
Copy link

ghost commented Jul 24, 2017

For future reference you can use chocolatey:

choco install python.pypy

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

No branches or pull requests

4 participants