From: Jeff A. <ja...@fa...> - 2020-03-18 18:54:23
|
I've a day free this week so I think I shall use that for Jython 2.7.2, which with due care, means it should be public by Monday. Jeff Allen On 17/03/2020 09:21, Pekka Klärck wrote: > H, > > JAVA_OPTS seems to work pretty well in our case. Somewhat unfortunate > that value that works with Java 11 causes and error with Java 8 and we > thus need to set it conditionally before test execution starts. > > Console encodings are hard. Just using UTF-8 would be a good choice, > that's what CPython nowadays does on Windows as well. I hope this > insn't changed in future Jython 2.7.x releases, though. It would be > quite badly backwards incompatible change. > > Do you have plans when Jython 2.7.2 final would be released? > > Cheers, > .peke > > pe 13. maalisk. 2020 klo 22.24 Jeff Allen (ja...@fa...) kirjoitti: >> Thanks for testing that, and for the feedback (especially as it's not a blocker). >> >> It may help to look at where we test violating accessibility rules deliberately. There we prepare the ground like this: https://hg.python.org/jython/file/v2.7.2rc1/Lib/test/test_java_visibility.py#l240 . Note also that Jython respects the environment variable JAVA_OPTS, see https://github.com/jythontools/jython/issues/171#issuecomment-598889263. >> >> Console encoding has been such a pain. I spent a long time getting it as "right" as possible, even for Greek and Chinese, but at the expense of some buffering that proved unacceptable later. ISTR the solution to that partly undid the complicated layer-cake I'd built. I'm pretty sure there's a mistake here too involving multiple system states. >> >> If I touch this again, console encoding will be fixed at utf-8 as far as Python knows and Java will translate to whatever system encoding it would use for strings. (At least, ... if that can be made satisfactory for users.) Thanks for your tolerance! >> >> Jeff Allen >> >> On 12/03/2020 11:22, Pekka Klärck wrote: >> >> Hi, >> >> We run Robot Framework's >> (https://github.com/robotframework/robotframework/) acceptance tests >> with 2.7.2rc1 both on Linux and Windows with Java 8 and results look >> very good. On Linux there were no failures and on Windows the only >> regression we encountered was change to `sys.stdxxx.encoding` in some >> special cases (https://bugs.jython.org/issue2868). I personally don't >> consider that a release blocker as the bug only occurs if outputs are >> redirected and we could argue that the value has always been wrong. >> With Python 2 the encoding is `None` in this case and with Python 3 >> you get the encoding of the created file. >> >> We also run tests with Java 11, but due to illegal reflective access >> warnings logged to the console >> (https://github.com/jythontools/jython/issues/171) all tests >> validating console output fail and it's hard to tell are there real >> failures. Being able to disable these warnings would be great but I >> wouldn't post-pone the great looking release due to that. >> >> Cheers, >> .peke >> >> to 5. maalisk. 2020 klo 22.12 Jeff Allen (ja...@fa...) kirjoitti: >> >> Now published. See: https://www.jython.org/download >> >> Are we all content for this to go out with our names on it? I've tried >> to arrange we make only safe changes between beta and rc, but it would >> be good to try it on as many platforms as we have amongst us. >> >> I built and it on Windows 10 and ran on Java 8 and 11 there. I also >> downloaded (the -install version) on Ubuntu with Java 11. >> >> How long an interval would you like? Precedents run from 2 days to we're >> still waiting, but I was thinking a week or two. Then I might try >> migrating to GitHub as we have said previously that we would. >> >> The CI does a good job, but of course does not install the way a user might. >> >> Jeff Allen >> >> On 02/03/2020 08:23, Jeff Allen wrote: >> >> On 23/02/2020 21:50, Jeff Allen wrote: >> >> It's beginning to look like we might be ready for a release >> candidate. Does anyone object? Have I missed a treasured patch? >> >> ... >> >> Bit busy this week, so probably this will be late in the week, and >> appear over next weekend. >> >> As we were all content, Jython 2.7.2rc1 is now staged at: >> >> https://oss.sonatype.org/service/local/repo_groups/staging/content/org/python/jython-installer/2.7.2rc1/jython-installer-2.7.2rc1.jar >> >> >> Other 3 jars at corresponding URLs. This this is the temporary >> location, "pre-publication", although publicly accessible. >> >> Jeff >> >> >> _______________________________________________ >> Jython-dev mailing list >> Jyt...@li... >> https://lists.sourceforge.net/lists/listinfo/jython-dev >> >> > |