Re: Jython 2.7.1 beta 1 soft launch
Jeff Allen <[email protected]>
| Newsgroups | gmane.comp.lang.jython.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Frank. Thanks for building this. Glad my last minute changes were in
time and not fatal.
I am testing on Windows 7 64 bit and Java 7. It installed fine like this:
> java -jar d:\InstKits\jython.org\jython-installer-2.7.1b1.jar
Ignoring indexes: https://pypi.python.org/simple/
Downloading/unpacking setuptools
Downloading/unpacking pip
Installing collected packages: setuptools, pip
Successfully installed setuptools pip
Cleaning up...
I don't understand the message "Ignoring indexes:
https://pypi.python.org/simple/", but then pip's always a puzzle: is
that expected?
I ran:
> jython -m test.regrtest -e
...
17 fails unexpected:
test___all__ test_classpathimporter test_file2k test_httpservers
test_jython_initializer test_netrc test_os_jy test_runpy
test_select test_shutil test_sys test_sys_jy test_tarfile
test_threading test_urllib2 test_zipfile test_zipimport_jy
This is about average, and these are the usual suspects with the usual
failures. This one is new I think:
test_threading
test test_threading failed -- Traceback (most recent call last):
File "C:\jython\2.7.1b1\Lib\test\lock_tests.py", line 413, in
test_timeout
self.assertTrue(dt >= 0.2, dt)
AssertionError: 0.199999809265
I ran with only 14 failures after the merge last night, but that was
unusual in recent experience.
I tested under Java 8 too. It hangs at test_logging, although that runs
ok standalone. With that excluded:
>jython -m test.regrtest -e -x test_logging
...
19 fails unexpected:
test___all__ test_classpathimporter test_file2k test_httpservers
test_jython_initializer test_list_jy test_marshal test_netrc
test_os_jy test_runpy test_select test_shutil test_sort test_sys
test_sys_jy test_tarfile test_urllib2 test_zipfile
test_zipimport_jy
Interesting new additions on Java 8 relate to sort(). ISTR that has been
noted elsewhere but I couldn't find the issue tracked. The specific
failure in test_list_jy is:
======================================================================
ERROR: test_sort (__main__.JavaListTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\jython\2.7.1b1\Lib\test\list_tests.py", line 442, in test_sort
self._test_sort()
File "C:\jython\2.7.1b1\Lib\test\list_tests.py", line 446, in _test_sort
u.sort()
TypeError: sort(): expected 1 args; got 0
----------------------------------------------------------------------
This looks fundamental, but also a bit odd: if u.sort() calls an
instance method, isn't that instance argument one at the place we check it?
Jeff
On 11/09/2015 04:24, [email protected] wrote:
> Hi all,
>
> Doing the soft launch thing for 2.7.1 beta1.
> Please test, especially if you can test on windows!
>
> The releases:
>
> installer: https://oss.sonatype.org/content/repositories/orgpython-1055/org/python/jython-installer/2.7.1b1/jython-installer-2.7.1b1.jar
>
> standalone: https://oss.sonatype.org/content/repositories/orgpython-1056/org/python/jython-standalone/2.7.1b1/jython-standalone-2.7.1b1.jar
>
> The parent directories of each of the above have the checksums, source
> jars, javadocs, etc.
>
> -Frank
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Jython-dev mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jython-dev
>
------------------------------------------------------------------------------