Track down pypy test failures #261
Comments
As an aside, maybe @anthmgoogle or @craigcitro or someone else can explain why we have Or why
|
Pretty simple "fix" from pyca/cryptography#2275
|
Looking at http://docs.travis-ci.com/user/languages/python/#PyPy-Support it points to https://launchpad.net/~pypy/+archive/ubuntu/ppa which currently has |
@dhermes the container infra uses pyenv and has pypy-2.5.1. You can see how we worked around it in the cryptography travis config here: https://github.com/pyca/cryptography/blob/master/.travis/install.sh#L54 and |
Thanks @reaperhulk! For book-keeping purposes, these get run as: install:
- ./.travis/install.sh
script:
- ./.travis/run.sh |
we have the pyopenssl configs to match the versions available somewhere -- maybe GAE? (also possibly internal.) we dropped the 0.13 one to just have fewer tests to run. unpinning the version should be ok -- i'd do |
I doubt it's GAE, I tried importing both |
oh -- i might be mixing up pycrypto and pyopenssl. in that case, maybe it's just the internal version we had at the time? |
The For posterity, here is my sleuthing: $ git log -1 --pretty=%H # Current HEAD
3bd3fc5a903ebb73f38e473ec6decde85c270b87
$ git blame tox.ini | grep openssl13
4823cc90 (Craig Citro 2014-12-17 18:23:22 -0800 52) [testenv:py26openssl13]
4823cc90 (Craig Citro 2014-12-17 18:23:22 -0800 58) [testenv:py27openssl13]
$ git log -1 4823cc90 --pretty=%H
4823cc900c4b3f8f498db6731d68275f60ecbd4d
$ git blame 4823cc900c4b3f8f498db6731d68275f60ecbd4d^ -- tox.ini | grep openssl13
55ca16d5 (Pat Ferate 2014-07-18 09:01:46 -0700 2) envlist = py26openssl13, py26openssl14,
55ca16d5 (Pat Ferate 2014-07-18 09:01:46 -0700 3) py27openssl13, py27openssl14,
7dff2c14 (Craig Citro 2014-12-12 17:13:22 -0800 6) pypyopenssl13, pypyopenssl14,
c16eba36 (Pat Ferate 2014-07-17 13:19:26 -0700 25) [testenv:py26openssl13]
c16eba36 (Pat Ferate 2014-07-17 13:19:26 -0700 35) [testenv:py27openssl13]
55ca16d5 (Pat Ferate 2014-07-18 09:01:46 -0700 55) [testenv:pypyopenssl13]
$ git log -1 c16eba36 --pretty=%H
c16eba364d5602ab3e07eabd9ed5d95ec8546b7c
$ git log -1 c16eba364d5602ab3e07eabd9ed5d95ec8546b7c
commit c16eba364d5602ab3e07eabd9ed5d95ec8546b7c
Author: Pat Ferate <pferate+github@gmail.com>
Date: Thu Jul 17 13:19:26 2014 -0700
Setting up multiple tox test environments
$ git blame c16eba364d5602ab3e07eabd9ed5d95ec8546b7c^ -- tox.ini | grep openssl13
$ # No output means there were no py*openssl13 targets before this point |
Looking at my comments in issue #25, it looks like there were some major changes in pyOpenSSL between 0.13 and 0.14 that caused tests to pass on 0.13 (from my dev environment at the time) but fail on 0.14 (released during my development). I wanted to test using both versions of pyOpenSSL in all of the applicable versions of Python, so that's why I added them at the time. |
@dhermes No problem. It's been over a year since the update, so I would assume that it would be safe to drop the old version at this point. |
Great thanks! |
https://travis-ci.org/google/oauth2client/jobs/75439836
https://travis-ci.org/google/oauth2client/jobs/75439618
https://travis-ci.org/google/oauth2client/jobs/75349545
Relates to release of
cryptography==1.0
./cc @nathanielmanistaatgoogle
The text was updated successfully, but these errors were encountered: