From: Jim B. <jim...@py...> - 2015-03-30 20:04:18
|
We have identified the following four bugs that need to be fixed for the next release candidate of Jython 2.7.0: http://bugs.jython.org/issue2297 - the installer on Windows currently assumes that jython.bat still exists, instead of its replacement, a native jython.exe installer. This problem slipped through because we were not testing the installer on Windows, assuming it was not platform dependent. I also plan to make the new Jython launcher script, src/shell/jython.py, which is wrapped as jython.exe by PyInstaller, be the default launcher on non-Windows platforms if CPython 2.7 is available, since we are going to be touching this codepath in the installer to fix this jython.bat vs jython.exe issue. Also, since the installer is touched, we should be able to add automatic installation of ensurepip. http://bugs.jython.org/issue2300 - the new Jython launcher (jython.py) currently swallows arguments. jython.py uses argparse, but the arg parsing needs more help because jython.py is then used as the launcher for tools like pip, yolk, etc. I have a fix that's almost ready to go. http://bugs.jython.org/issue2298 - setuptools currently doesn't check if the underlying platform is Windows, so it uses the wrong approach for building executable scripts. This is an easy fix, and we fixed the same issue in distlib. We are going to build our own wheel for now that we bundle as part of ensurepip, however I've been in contact with Jason Coombs, maintainer of setuptools to get this upstreamed once we have finalized our fixes. Vinay Sajip, the maintainer of distlib, is also working on an upstream fix for the changes we need. http://bugs.jython.org/issue2301 - ensurepip fails on Japanese locales, because of a problem in logging timestamps from the ensurepip module. Such timestamps are written like "日 3/29 14:55:13 2015". Naturally the last thing we want is for logging to cause failures like this! Should be an easy fix. So three fairly small bugs, plus one with straightforward changes to the installer. I hope to see a soft availability of the RC2 in the next few days. - Jim |
From: Jim B. <jim...@py...> - 2015-04-02 03:19:42
|
These installer bugs are now fixed. We should be ready to try another soft release candidate. In addition, the Jython installer now will install setuptools and pip by default (runs jython -m ensurepip) except for standalone jar (doesn't make sense). One can also deselect this installation in the custom install. - Jim On Mon, Mar 30, 2015 at 2:03 PM, Jim Baker <jim...@py...> wrote: > We have identified the following four bugs that need to be fixed for the > next release candidate of Jython 2.7.0: > > http://bugs.jython.org/issue2297 - the installer on Windows currently > assumes that jython.bat still exists, instead of its replacement, a native > jython.exe installer. This problem slipped through because we were not > testing the installer on Windows, assuming it was not platform dependent. > > I also plan to make the new Jython launcher script, src/shell/jython.py, > which is wrapped as jython.exe by PyInstaller, be the default launcher on > non-Windows platforms if CPython 2.7 is available, since we are going to be > touching this codepath in the installer to fix this jython.bat vs > jython.exe issue. Also, since the installer is touched, we should be able > to add automatic installation of ensurepip. > > http://bugs.jython.org/issue2300 - the new Jython launcher (jython.py) > currently swallows arguments. jython.py uses argparse, but the arg parsing > needs more help because jython.py is then used as the launcher for tools > like pip, yolk, etc. I have a fix that's almost ready to go. > > http://bugs.jython.org/issue2298 - setuptools currently doesn't check if > the underlying platform is Windows, so it uses the wrong approach for > building executable scripts. This is an easy fix, and we fixed the same > issue in distlib. We are going to build our own wheel for now that we > bundle as part of ensurepip, however I've been in contact with Jason > Coombs, maintainer of setuptools to get this upstreamed once we have > finalized our fixes. Vinay Sajip, the maintainer of distlib, is also > working on an upstream fix for the changes we need. > > http://bugs.jython.org/issue2301 - ensurepip fails on Japanese locales, > because of a problem in logging timestamps from the ensurepip module. Such > timestamps are written like "日 3/29 14:55:13 2015". Naturally the last > thing we want is for logging to cause failures like this! Should be an easy > fix. > > So three fairly small bugs, plus one with straightforward changes to the > installer. I hope to see a soft availability of the RC2 in the next few > days. > > - Jim > -- - Jim jim.baker@{colorado.edu|python.org|rackspace.com|zyasoft.com} twitter.com/jimbaker github.com/jimbaker bitbucket.com/jimbaker |
From: Pekka K. <pe...@ik...> - 2015-04-02 12:56:12
|
2015-04-02 6:19 GMT+03:00 Jim Baker <jim...@py...>: > > In addition, the Jython installer now will install setuptools and pip by > default (runs jython -m ensurepip) except for standalone jar (doesn't make > sense). One can also deselect this installation in the custom install. Does "jython -m ensurepip" require network connection or are all needed modules bundled in the installer? Cheers, .peke -- Agile Tester/Developer/Consultant :: http://eliga.fi Lead Developer of Robot Framework :: http://robotframework.org |
From: Jim B. <jim...@py...> - 2015-04-02 13:10:29
|
Peke, I'm glad you asked! Curiously enough I did do some of this installer testing while riding a bus without any internet connectivity (left my usual hotspot at home), and it worked just fine. This is explained by the way ensurepip works: ensurepip uses bundled wheels for setuptools and pip, so no internet connectivity is used. You can also see this with the log message ensurepip emits: Ignoring indexes: https://pypi.python.org/simple/ Likewise pip can be used for other offline access, but it becomes substantially more interesting when it can access the PyPI site or a suitable mirror. That's also why it needed suitable SSL support, as provided by the socket-reboot work that took so much time last year. - Jim On Thu, Apr 2, 2015 at 6:56 AM, Pekka Klärck <pe...@ik...> wrote: > 2015-04-02 6:19 GMT+03:00 Jim Baker <jim...@py...>: > > > > In addition, the Jython installer now will install setuptools and pip by > > default (runs jython -m ensurepip) except for standalone jar (doesn't > make > > sense). One can also deselect this installation in the custom install. > > Does "jython -m ensurepip" require network connection or are all > needed modules bundled in the installer? > > Cheers, > .peke > -- > Agile Tester/Developer/Consultant :: http://eliga.fi > Lead Developer of Robot Framework :: http://robotframework.org > -- - Jim jim.baker@{colorado.edu|python.org|rackspace.com|zyasoft.com} twitter.com/jimbaker github.com/jimbaker bitbucket.com/jimbaker |
From: Jim B. <jim...@py...> - 2015-04-02 15:56:27
|
Re timing of the soft RC2: the last dependency is updating NEWS so that it reflects the work that has been done during the release candidate cycle. I expect to have this complete in the next few hours, then Frank can put together the release. On Thu, Apr 2, 2015 at 7:10 AM, Jim Baker <jim...@py...> wrote: > Peke, > > I'm glad you asked! Curiously enough I did do some of this installer > testing while riding a bus without any internet connectivity (left my usual > hotspot at home), and it worked just fine. This is explained by the way > ensurepip works: ensurepip uses bundled wheels for setuptools and pip, so > no internet connectivity is used. You can also see this with the log > message ensurepip emits: Ignoring indexes: https://pypi.python.org/simple/ > > Likewise pip can be used for other offline access, but it becomes > substantially more interesting when it can access the PyPI site or a > suitable mirror. That's also why it needed suitable SSL support, as > provided by the socket-reboot work that took so much time last year. > > - Jim > > On Thu, Apr 2, 2015 at 6:56 AM, Pekka Klärck <pe...@ik...> wrote: > >> 2015-04-02 6:19 GMT+03:00 Jim Baker <jim...@py...>: >> > >> > In addition, the Jython installer now will install setuptools and pip by >> > default (runs jython -m ensurepip) except for standalone jar (doesn't >> make >> > sense). One can also deselect this installation in the custom install. >> >> Does "jython -m ensurepip" require network connection or are all >> needed modules bundled in the installer? >> >> Cheers, >> .peke >> -- >> Agile Tester/Developer/Consultant :: http://eliga.fi >> Lead Developer of Robot Framework :: http://robotframework.org >> > > > > -- > - Jim > > jim.baker@{colorado.edu|python.org|rackspace.com|zyasoft.com} > twitter.com/jimbaker > github.com/jimbaker > bitbucket.com/jimbaker > -- - Jim jim.baker@{colorado.edu|python.org|rackspace.com|zyasoft.com} twitter.com/jimbaker github.com/jimbaker bitbucket.com/jimbaker |