Re: Jython 2.7b4 released!
Jim Baker <[email protected]>
| Newsgroups | gmane.comp.lang.jython.user |
|---|---|
| Message-ID | <CAOhO=aPg1G-x-3YBJ397q2GJqk2k3uN2vv+ToNt43v9nUSdbZA@mail.gmail.com> |
On Sun, Feb 22, 2015 at 2:59 PM, Jeff Allen <[email protected]> wrote: > Thanks for that endorsement. (Go us!) The ctrl-D/ctrl-Z thing is > contrary to (user) expectations I agree. I took a look at http://bugs.jython.org/issue2276 (control Z support for Windows) and we now have a workaround and hopefully soon a fix. > On 20/02/2015 01:15, Pekka Klärck wrote: >> 2015-02-19 7:18 GMT+02:00 Jim Baker <[email protected]>: >>> It's worth test driving. I just downloaded the jar that's linked to make >>> sure everything is still working. After doing a standard install, I go to my >>> installation directory: >>> >>> $ bin/jython -m ensurepip >> First of all, pip support is awesome! Yes, it's really changes things now that we have this working again, just as we had with 2.5. But even better, it uses requests and so we know it's also secure, instead of going over HTTP. Also we have wheel support, requirements.txt support, etc. We don't yet support C extension libraries, but otherwise please report a bug if you find it doesn't install a package from PyPI or other source like github for you. FWIW, I usually start with installing bin\pip install pytest nose just so I can start testing packages like Werkzeug or Flask. >> How complicated would it be to >> have pip installation as an optional functionality in the installer? >> That's, AFAIK, how CPython installers on Windows handle pip nowadays. It will be simple to add to the Jython installer as an additional step, so expect to see this in the release candidate. We can also test in the installer for the presence of CPython 2.7 on non Windows systems, and if so, copy bin/jython.py to bin/jython Also, Jython trunk as of a couple of days now supports jython -m ensurepip on Windows too. It does so by constructing a jython.exe (as supported by bundling python27.dll from CPython!). Executable scripts such as pip.exe are now installed as well in the bin directory, such as by ensurepip or by your favorite setup.py. >> >>> Try the built-in tab complete too. >> This is great too! >> >>> Note that this functionality does not yet work on Windows, but I'm working >>> on that at this moment, once I figure out how wrapper exe scripts work :) Wrapper exe scripts on Windows now work - the needed piece was being able to support directly executing zip files and directories, per https://hg.python.org/jython/rev/5d62f637a8d1 >> Tab completion seems to work fine on Windows, but I assume the above >> comment was about pip support. The only problem I noticed with Jython >> console on a quick test on Windows was that exiting it requires Ctrl-D >> and not Ctrl-Z as with CPython. >> >> Anyway, Jython 2.7 beta 4 seems to be a great release. Based on my >> testing on Linux and Windows it is so solid that we can finally drop >> Jython 2.5 support with Robot Framework. Already looking forward for >> rc1! Very glad to hear this! We will be fixing bugs as they come up. There are the following urgent bugs reported so far, where urgent means must fix for our first release candidate (RC1): - http://bugs.jython.org/issue2272 - support of __dict__ in __slots__, as needed for the popular Werkzeug WSGI framework. There's a workaround attached to the bug, but we need to find a better solution. - http://bugs.jython.org/issue2084 - better probing of signal support - http://bugs.jython.org/issue2271 - datetime conversion to Java regression Only the first issue is at all somewhat complicated, the others are pretty much trivial to fix and have solutions identified. High bugs will also be fixed as we have time, but we really should get a RC1 out ASAP. Please test away! - 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-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jython-users