Message10400

Author zyasoft
Recipients alexgs, jeff.allen, zyasoft
Date 2015-10-29.02:04:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1446084281.31.0.683021730293.issue2365@psf.upfronthosting.co.za>
In-reply-to
Content
I finally set up a Fedora 22 system with a very recent Java 8:

[jbaker@spear ~]$ java -version
openjdk version "1.8.0_60"
OpenJDK Runtime Environment (build 1.8.0_60-b27)
OpenJDK 64-Bit Server VM (build 25.60-b23, mixed mode)

I next built from Jython trunk (as of https://hg.python.org/jython/rev/93c09145137e) a Jython installer jar, and installed it. This has the latest upstream pip and setuptools as part of ensurepip bundling; and also has updates to SSL:

$ java -jar jython-installer.jar -s -d ~/jython2.7.1
Performing silent installation
 10 %
 20 %
 30 %
 40 %
 50 %
 60 %
 70 %
Generating start scripts ...
Installing pip and setuptools
 90 %
Ignoring indexes: https://pypi.python.org/simple
Collecting setuptools
Collecting pip
Installing collected packages: setuptools, pip
Successfully installed pip-7.1.2 setuptools-18.4
 100 %
Congratulations! You successfully installed Jython 2.7.1b2 to directory /home/jbaker/jython2.7.1.

Then I installed requests with the bundled pip:

$ ~/jython2.7.1/bin/jython -m pip install requests
Collecting requests
  Downloading requests-2.8.1-py2.py3-none-any.whl (497kB)
    100% |████████████████████████████████| 499kB 70kB/s 
Installing collected packages: requests
Successfully installed requests-2.8.1

I also tried with the Jython 2.7.0 release:

$ java -jar ~/Downloads/jython-installer-2.7.0.jar -s -d ~/jython2.7.0
Performing silent installation
 10 %
 20 %
 30 %
 40 %
 50 %
 60 %
 70 %
Generating start scripts ...
Installing pip and setuptools
 90 %
Ignoring indexes: https://pypi.python.org/simple/
Downloading/unpacking setuptools
Downloading/unpacking pip
Installing collected packages: setuptools, pip
Successfully installed setuptools pip
Cleaning up...
 100 %
Congratulations! You successfully installed Jython 2.7.0 to directory /home/jbaker/jython2.7.0.

$ ~/jython2.7.0/bin/jython -m pip install requests
Downloading/unpacking requests
  Downloading requests-2.8.1-py2.py3-none-any.whl (497kB): 497kB downloaded
Installing collected packages: requests
Successfully installed requests
Cleaning up...

So I'm unable to reproduce the issue. Is it because of subsequent Fedora 22 patches (I need to install a few more after I submit this message...)? A more recent Java 8 - build 65 vs build 45? The one thing we see is it not a change in Jython 2.7.0 vs what will soon be 2.7.1.

It's going to be hard to pin down. I cannot reproduce.

Note that the os.geteuid problem that Jeff Allen pointed out is tracked in #2360, which should be fixed.
History
Date User Action Args
2015-10-29 02:04:41zyasoftsetmessageid: <1446084281.31.0.683021730293.issue2365@psf.upfronthosting.co.za>
2015-10-29 02:04:41zyasoftsetrecipients: + zyasoft, jeff.allen, alexgs
2015-10-29 02:04:41zyasoftlinkissue2365 messages
2015-10-29 02:04:40zyasoftcreate