Jython 2.7.0 Release Candidate 2

Jim Baker <[email protected]>
Newsgroups gmane.comp.lang.jython.devel
Message-ID <CAOhO=aP1HNemT5pqgDb52O8s3VeUf7qoTCScxmfLKeJhg-7zqQ@mail.gmail.com>
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

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/

_______________________________________________
Jython-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jython-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.