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

Support PyPy 2.0 #1106

Closed
dstufft opened this issue May 11, 2013 · 29 comments
Closed

Support PyPy 2.0 #1106

dstufft opened this issue May 11, 2013 · 29 comments

Comments

@dstufft
Copy link

dstufft commented May 11, 2013

It would be great if Travis supported PyPy 2.0 (http://doc.pypy.org/en/latest/release-2.0.0.html).

@roidrage
Copy link
Contributor

We'd love to! Is there a known APT repository we could use for installation?

@stefanor
Copy link

It'll be in https://launchpad.net/~pypy/+archive/ppa eventually. But the PPA build queue is really long at the moment, and it usually takes several retries to find a builder with enough RAM...

@stefanor
Copy link

It's published: https://launchpad.net/~pypy/+archive/ppa

@jstasiak
Copy link

+1

1 similar comment
@glyph
Copy link

glyph commented Jul 8, 2013

+1

@glyph
Copy link

glyph commented Jul 8, 2013

In addition to the aforementioned issue with treq being unable to verify support for a recent version of PyPy, there's also the issue that PyPy 1.9 segfaults even when running "vanilla" Python code, such as pep8.py. In this build you can see that happening: https://travis-ci.org/dreid/treq/jobs/8835621#L203

When we asked a PyPy maintainer about it, the reply was "1.9 is ancient, we know it segfaults. make them upgrade to 2.0.2".

@joshk
Copy link
Contributor

joshk commented Jul 8, 2013

I will look into this hopefully later this week.

Sorry for the delay.

On 8/07/2013, at 6:48 PM, Glyph notifications@github.com wrote:

In addition to the aforementioned issue with treq being unable to verify support for a recent version of PyPy, there's also the issue that PyPy 1.9 segfaults even when running "vanilla" Python code, such as pep8.py. In this build you can see that happening: https://travis-ci.org/dreid/treq/jobs/8835621#L203

When we asked a PyPy maintainer about it, the reply was "1.9 is ancient, we know it segfaults. make them upgrade to 2.0.2".


Reply to this email directly or view it on GitHub.

@glyph
Copy link

glyph commented Jul 10, 2013

Thanks for looking into it.

@jodal
Copy link

jodal commented Jul 30, 2013

Any progress on this?

@joshk
Copy link
Contributor

joshk commented Jul 31, 2013

Sorry, things have been a bit crazy and I haven't had time to dig deeper into this yet.

On 31/07/2013, at 12:56 AM, Stein Magnus Jodal notifications@github.com wrote:

Any progress on this?


Reply to this email directly or view it on GitHub.

@nandoflorestan
Copy link

+1 for having a recent version of PyPy on travis

@squeaky-pl
Copy link

Note that PyPy 2.1 final is already out. http://morepypy.blogspot.com.es/2013/08/pypy-21-considered-armful.html

@dstufft
Copy link
Author

dstufft commented Aug 20, 2013

@joshk Wondering if you've had a chance to dig deeper into this yet?

@thedrow
Copy link

thedrow commented Sep 2, 2013

+1

2 similar comments
@andrewsmedina
Copy link

+1

@benoitc
Copy link

benoitc commented Sep 6, 2013

+1

@jodal
Copy link

jodal commented Sep 12, 2013

As of yesterday, PyPy 2.1 Debian packages are available from the PyPy PPA.

Both PyPy 2.0 and 2.1 target compatibility with CPython 2.7.3, just like PyPy 1.9, which is currently used by Travis, does. In other words, it should be straight forward to upgrade the Travis build environments from PyPy 1.9 to 2.1.

PyPy 1.9 was released back in June 2012, and has long been considered old by the core developers of the fast moving PyPy project. It is today largely unsupported.

Please upgrade Travis' build environment to provide PyPy 2.1 instead of 1.9.

@dstufft
Copy link
Author

dstufft commented Sep 12, 2013

So I've worked up a workaround to this with a gotcha.

You can see the workaround here https://github.com/alex/cryptography/pull/62, which works by installing the latest PyPy from PPA and removing the preinstalled one. However if you're using built in travis support for PyPy you'll probably need to delete the pypy virtualenv and recreate it. If you're using tox it creates a new virtualenv as part of running the tests so the Travis supplied virtualenv doesn't get used.

@joshk
Copy link
Contributor

joshk commented Oct 11, 2013

This will be supported in the next VM release :)

Blog post next week about the changes.

@thedrow
Copy link

thedrow commented Oct 12, 2013

Awesome!

@sn6uv
Copy link

sn6uv commented Oct 23, 2013

@joshk Any progress on this? I see there was a blog post on October 14th, but no mention of PyPy.

@thedrow
Copy link

thedrow commented Nov 5, 2013

@joshk Is it out yet?

@joshk
Copy link
Contributor

joshk commented Nov 5, 2013

Not yet, it got delayed, the new VMs are finalised so I am in the process of writing a blog post about the upgrades. :)

On 5/11/2013, at 6:09 pm, Omer Katz notifications@github.com wrote:

@joshk Is it out yet?


Reply to this email directly or view it on GitHub.

@nandoflorestan
Copy link

Not yet, it got delayed, the new VMs are finalised

Thanks!!!

@thedrow
Copy link

thedrow commented Nov 6, 2013

@joshk Right now my build fails with PyPy 1.9 but I don't care about it. I want to support PyPy 2.0 and above.

@alex
Copy link

alex commented Nov 17, 2013

FYI: PyPy 2.2 has been released, and is now available from the same PPA.

@peterjc
Copy link

peterjc commented Nov 21, 2013

TravisCI now supports PyPy 2.2, so this issue can be probably closed:
http://about.travis-ci.org/blog/2013-11-18-upcoming-build-environment-updates/

@joshk
Copy link
Contributor

joshk commented Nov 21, 2013

Closed :)

@joshk joshk closed this as completed Nov 21, 2013
@jstasiak
Copy link

Cheers!

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

No branches or pull requests