Message10354
Running 2.7.1b2, we see that there is additional SSLContext work to do. Need to figure out scope, but here are the user visible problems:
First, let's upgrade pip:
$ bin/jython -m pip install --upgrade pip
/Users/jbaker/jython2.7.1b2/Lib/site-packages/pip/_vendor/requests/cacert.pem
Downloading/unpacking pip from https://pypi.python.org/packages/py2.py3/p/pip/pip-7.1.2-py2.py3-none-any.whl#md5=5ff9fec0be479e4e36df467556deed4d
Downloading pip-7.1.2-py2.py3-none-any.whl (1.1MB): 1.1MB downloaded
Installing collected packages: pip
Found existing installation: pip 1.6.dev1
Uninstalling pip:
Successfully uninstalled pip
Successfully installed pip
Cleaning up...
jimbaker:jython2.7.1b2 jbaker$ bin/jython -m pip install pytest
Collecting pytest
/usr/local/etc/openssl/cert.pem
/usr/local/etc/openssl/cert.pem
Could not find a version that satisfies the requirement pytest (from versions: )
No matching distribution found for pytest
/usr/local/etc/openssl/cert.pem
I tried with the develop branch of pip as well:
$ /Users/jbaker/jython2.7.1b2/bin/jython -m pip install bottle
Collecting bottle
/usr/local/etc/openssl/cert.pem
Could not find a version that satisfies the requirement bottle (from versions: )
No matching distribution found for bottle
/usr/local/etc/openssl/cert.pem
requests is the other main target, especially since pip vendors it; using the master branch:
$ /Users/jbaker/jython2.7.1b2/bin/jython test_requests.py
.............................................................../Users/jbaker/opensource/requests/requests/cacert.pem
............/Users/jbaker/opensource/requests/requests/cacert.pem
...........F...............................................................
======================================================================
FAIL: test_response_iter_lines_reentrant (__main__.RequestsTestCase)
Response.iter_lines() is not reentrant safe
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_requests.py", line 1127, in test_response_iter_lines_reentrant
assert len(list(r.iter_lines())) == 3
AssertionError
----------------------------------------------------------------------
Ran 150 tests in 28.703s
FAILED (failures=1) |
|
Date |
User |
Action |
Args |
2015-10-16 20:49:22 | zyasoft | set | messageid: <1445028562.14.0.768947854145.issue2390@psf.upfronthosting.co.za> |
2015-10-16 20:49:22 | zyasoft | set | recipients:
+ zyasoft, darjus |
2015-10-16 20:49:22 | zyasoft | link | issue2390 messages |
2015-10-16 20:49:20 | zyasoft | create | |
|