- 18 May, 2015 11 commits
-
-
A. Jesse Jiryu Davis authored
Patch by @ajdavis. https://github.com/gevent/gevent/issues/349#issuecomment-31665013 Close #350.
-
Denis Bilenko authored
-
Jason Madden authored
Add Python 3.4 to test set. Fixes #408. Fixes #487. The build is green for PyPy, Py26 and Py34. Py27 intermittently displays a timing issue; Py33 intermittently displays a refcount "leak".
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
Mark test__socket_dns as FLAKY: It works locally, but under Travis (due to different DNS configuration?) the IPV6 values differ by one for several of the hosts, and Python 3 returns those values here.
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
Fix test__ssl and test__socket under Py3.3; mostly a bytes/unicode thing. These tests, however, now hang under Py3.4 (previously they weren't getting far enough to do so), so temporarily remove from the Travis test matrix while debugging.
-
Jason Madden authored
-
Jason Madden authored
-
- 17 May, 2015 1 commit
-
-
Jason Madden authored
PyPy 2.5.1 support improvements, and ssl 2.7.9 support. Fixes #546.
-
- 16 May, 2015 4 commits
-
-
Jason Madden authored
-
Jason Madden authored
Fix the test_ssl failures for Python 2.6. Add a basic tox.ini to make it easier to locally test different environments.
-
Jason Madden authored
-
Jason Madden authored
-
- 08 May, 2015 1 commit
-
-
Jason Madden authored
Back out the changes to _ssl2.SSLSocket.__init__; with the addition of _sslgte279 they should no longer be necessary.
-
- 17 Apr, 2015 9 commits
-
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
Fix test_ares_timeout to not require a root port. Because it is still a constant port, don't fail the test if it can't be bound, like 7960b8c3.
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
gevent/gevent#248 and gevent/gevent#434. Fix test__ares_host_result under PyPy the same way that test_ares_timeout is by simply ignoring it. PyPy now has 4 expected failures; CPython2.7 has one (test__socket_dns6). Includes gevent/gevent#546 with modifications for PyPy.
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
-
- 16 Apr, 2015 6 commits
-
-
Jason Madden authored
-
Jason Madden authored
Fix the subprocess tests on PyPy: they fail even in a stock build, so skip the one that's a problem.
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
-
- 27 Mar, 2015 1 commit
-
-
Jason Madden authored
Add __all__ for _sslgte279, fixing test__all under 2.7.9. Adjust test__all and test__execmodule to not examine _sslgte279 on < 2.7.9, making them pass under earlier versions.
-
- 25 Mar, 2015 6 commits
-
-
Jason Madden authored
Fix the last test_ssl failure (test_protocol_sslv2) for CPython 2.7.8 and .9. In python Issue 20207, the SSLv2 protocol was disabled by default, and thus the test was changed to expect a failure (see https://github.com/python/cpython/commit/65f2fdce200b800bd95ac6690e9654afc37897c6). Match that change.
-
Jason Madden authored
-
Jason Madden authored
The same flush calls that were needed for PyPy are needed to make CPython's test__pywsgi tests pass.
-
Jason Madden authored
-
Jason Madden authored
Tested under Python 2.7.8 and all the test_ssl tests pass, EXCEPT for: -- test_algorithms. That test is disabled in the 2.7.8 sourcecode, so disable it here; -- test_protocol_sslv2, which fails with the same EOF error as described in the last commit for 2.7.9.
-
Jason Madden authored
Fixes several test failures under 2.7.9, notably test__pywsgi and test__ssl. There are lots of whitespace differences in the tests due to forking for CPython <= 2.7.8. The complete failure list follows. The ONLY failure in 2.7/test_ssl has this traceback; I'm not sure what the cause is yet: ====================================================================== ERROR: test_protocol_sslv2 (__main__.ThreadedTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "test_ssl.py", line 71, in f return func(*args, **kwargs) File "test_ssl.py", line 1205, in test_protocol_sslv2 try_protocol_combo(ssl.PROTOCOL_SSLv2, ssl.PROTOCOL_SSLv23, True) File "test_ssl.py", line 979, in try_protocol_combo chatty=False, connectionchatty=False) File "test_ssl.py", line 909, in server_params_test s.connect((HOST, server.port)) File "/gevent/gevent/_sslgte279.py", line 546, in connect self._real_connect(addr, False) File "/gevent/gevent/_sslgte279.py", line 537, in _real_connect self.do_handshake() File "/gevent/gevent/_sslgte279.py", line 504, in do_handshake return self._sslobj.do_handshake() SSLEOFError: EOF occurred in violation of protocol (_ssl.c:581) ---------------------------------------------------------------------- 3/123 expected failures - //bin/python -u -m monkey_test test_ssl.py - //bin/python -u test__socket_dns6.py - //bin/python -u -m monkey_test --Event test_ssl.py 4/123 unexpected failures - //bin/python -u test__all__.py - //bin/python -u test_ares_timeout.py - //bin/python -u -m monkey_test test_httpservers.py - //bin/python -u -m monkey_test --Event test_httpservers.py
-
- 21 Mar, 2015 1 commit
-
-
Steffen Prince authored
Resolves #477. In Python 2.7.9, we have new SSL interfaces, that are not quite the old Python 2 interfaces, nor the same as the Python 3 interfaces. This creates a new SSL module, _sslgte279.py, for Python 2 versions greater than or equal 2.7.9, ported from Python 2.7.9's ssl.py: https://hg.python.org/cpython/file/648dcafa7e5f/Lib/ssl.py. The process of porting was done by starting with gevent's ssl3.py and backporting Python 2.7.9's ssl.py. Fixes these tests under Python 2.7.9: - /usr/local/bin/python -u -m monkey_test --Event test_urllib2net.py - /usr/local/bin/python -u -m monkey_test test_urllib2net.py - /usr/local/bin/python -u test__ssl.py No new test failures. Still failing since 72119c8c: - /usr/local/bin/python -u -m monkey_test --Event test_ssl.py - /usr/local/bin/python -u -m monkey_test test_ssl.py - /usr/local/bin/python -u test__pywsgi.py - /usr/local/bin/python -u test__makefile_ref.py - /usr/local/bin/python -u test__socket.py - /usr/local/bin/python -u test___example_servers.py - /usr/local/bin/python -u -m monkey_test --Event test_ftplib.py - /usr/local/bin/python -u test__socket_ssl.py - /usr/local/bin/python -u -m monkey_test test_ftplib.py - /usr/local/bin/python -u test__all__.py In addition, basic HTTPS requests were tested with urllib3==1.10.2 and requests==2.6.0.
-