You can subscribe to this list here.
| 2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(6) |
Nov
(8) |
Dec
(51) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2001 |
Jan
(105) |
Feb
(93) |
Mar
(194) |
Apr
(145) |
May
(100) |
Jun
(111) |
Jul
(117) |
Aug
(126) |
Sep
(233) |
Oct
(138) |
Nov
(164) |
Dec
(109) |
| 2002 |
Jan
(216) |
Feb
(175) |
Mar
(216) |
Apr
(194) |
May
(157) |
Jun
(140) |
Jul
(158) |
Aug
(73) |
Sep
(105) |
Oct
(164) |
Nov
(104) |
Dec
(95) |
| 2003 |
Jan
(72) |
Feb
(69) |
Mar
(81) |
Apr
(151) |
May
(101) |
Jun
(139) |
Jul
(99) |
Aug
(118) |
Sep
(115) |
Oct
(151) |
Nov
(161) |
Dec
(102) |
| 2004 |
Jan
(120) |
Feb
(175) |
Mar
(106) |
Apr
(111) |
May
(54) |
Jun
(78) |
Jul
(76) |
Aug
(105) |
Sep
(94) |
Oct
(143) |
Nov
(75) |
Dec
(85) |
| 2005 |
Jan
(99) |
Feb
(77) |
Mar
(164) |
Apr
(97) |
May
(79) |
Jun
(57) |
Jul
(65) |
Aug
(102) |
Sep
(95) |
Oct
(129) |
Nov
(123) |
Dec
(52) |
| 2006 |
Jan
(48) |
Feb
(99) |
Mar
(90) |
Apr
(51) |
May
(81) |
Jun
(136) |
Jul
(56) |
Aug
(109) |
Sep
(50) |
Oct
(44) |
Nov
(74) |
Dec
(75) |
| 2007 |
Jan
(92) |
Feb
(137) |
Mar
(93) |
Apr
(79) |
May
(52) |
Jun
(74) |
Jul
(143) |
Aug
(175) |
Sep
(154) |
Oct
(137) |
Nov
(88) |
Dec
(90) |
| 2008 |
Jan
(58) |
Feb
(113) |
Mar
(167) |
Apr
(88) |
May
(105) |
Jun
(37) |
Jul
(87) |
Aug
(72) |
Sep
(56) |
Oct
(41) |
Nov
(102) |
Dec
(70) |
| 2009 |
Jan
(115) |
Feb
(113) |
Mar
(126) |
Apr
(58) |
May
(125) |
Jun
(45) |
Jul
(90) |
Aug
(125) |
Sep
(84) |
Oct
(61) |
Nov
(111) |
Dec
(61) |
| 2010 |
Jan
(85) |
Feb
(86) |
Mar
(130) |
Apr
(58) |
May
(57) |
Jun
(32) |
Jul
(25) |
Aug
(50) |
Sep
(41) |
Oct
(65) |
Nov
(63) |
Dec
(24) |
| 2011 |
Jan
(43) |
Feb
(31) |
Mar
(28) |
Apr
(68) |
May
(53) |
Jun
(42) |
Jul
(58) |
Aug
(26) |
Sep
(51) |
Oct
(76) |
Nov
(60) |
Dec
(9) |
| 2012 |
Jan
(16) |
Feb
(32) |
Mar
(32) |
Apr
(39) |
May
(16) |
Jun
(19) |
Jul
(3) |
Aug
(11) |
Sep
(35) |
Oct
(47) |
Nov
(28) |
Dec
(18) |
| 2013 |
Jan
(18) |
Feb
(36) |
Mar
(10) |
Apr
(7) |
May
(7) |
Jun
(27) |
Jul
(17) |
Aug
(35) |
Sep
(19) |
Oct
(31) |
Nov
(8) |
Dec
(22) |
| 2014 |
Jan
(5) |
Feb
(11) |
Mar
(18) |
Apr
(23) |
May
(26) |
Jun
(14) |
Jul
(18) |
Aug
(26) |
Sep
(20) |
Oct
(48) |
Nov
(13) |
Dec
(9) |
| 2015 |
Jan
(9) |
Feb
(15) |
Mar
(25) |
Apr
(10) |
May
(26) |
Jun
(6) |
Jul
(13) |
Aug
(5) |
Sep
(14) |
Oct
(36) |
Nov
(24) |
Dec
(18) |
| 2016 |
Jan
(24) |
Feb
(11) |
Mar
(1) |
Apr
(6) |
May
(7) |
Jun
(3) |
Jul
(9) |
Aug
(15) |
Sep
(22) |
Oct
(5) |
Nov
(5) |
Dec
(2) |
| 2017 |
Jan
(20) |
Feb
(4) |
Mar
(4) |
Apr
(1) |
May
(5) |
Jun
(7) |
Jul
(14) |
Aug
(9) |
Sep
(18) |
Oct
(2) |
Nov
(3) |
Dec
(3) |
| 2018 |
Jan
(7) |
Feb
(6) |
Mar
(1) |
Apr
(2) |
May
|
Jun
|
Jul
(1) |
Aug
(18) |
Sep
(8) |
Oct
(9) |
Nov
(4) |
Dec
(6) |
| 2019 |
Jan
(5) |
Feb
|
Mar
(2) |
Apr
(4) |
May
(6) |
Jun
(8) |
Jul
(11) |
Aug
(10) |
Sep
(6) |
Oct
|
Nov
(1) |
Dec
|
| 2020 |
Jan
(8) |
Feb
(3) |
Mar
(1) |
Apr
(4) |
May
(1) |
Jun
(1) |
Jul
|
Aug
|
Sep
(1) |
Oct
(5) |
Nov
(2) |
Dec
(1) |
| 2021 |
Jan
|
Feb
|
Mar
(5) |
Apr
(2) |
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2022 |
Jan
|
Feb
(2) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
(7) |
Aug
(1) |
Sep
(1) |
Oct
|
Nov
|
Dec
|
| 2023 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
(5) |
Jul
(15) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2024 |
Jan
|
Feb
(1) |
Mar
|
Apr
(2) |
May
|
Jun
(5) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2025 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Juniarti S. <jun...@ya...> - 2023-06-09 02:15:16
|
Hi, When I use jython2.7.2 I am hitting issue #93 <https://github.com/jython/jython/issues/93>. I thought the fix is in jython2.7.3 but even after I am using jython2.7.3 the file permission behavior remains. Is there anything else need to be done to have the file permission working as before jython2.7.2? Here is how to demonstrate the regression issue in jython: Using jython271 Jython 2.7.1 (default:0df7adb1b397, Jun 30 2017, 19:02:43) [OpenJDK 64-Bit Server VM (Red Hat, Inc.)] on java1.8.0_372 Type "help", "copyright", "credits" or "license" for more information. ">>> import copy" Checking the permission of the newly compile script: [root@juniredhat1 Lib]# ls -la copy* -rw-r--r-- 1 root root 28015 Jun 2 09:45 'copy$py.class' ===> NOTED THE FILE PERMISSION THE SAME AS THE SOURCE -rw-r--r-- 1 root root 27996 Jun 30 2017 'copy$py.class.org' -rw-r--r-- 1 root root 11519 Jun 30 2017 copy.py -rw-r--r-- 1 root root 13490 Jun 2 09:45 'copy_reg$py.class' -rw-r--r-- 1 root root 6800 Jun 30 2017 copy_reg.py ========================================================================= Using jython273 Jython 2.7.3 (tags/v2.7.3:5f29801fe, Sep 10 2022, 18:52:49) [OpenJDK 64-Bit Server VM (Red Hat, Inc.)] on java1.8.0_372 Type "help", "copyright", "credits" or "license" for more information. ">>> import copy" Checking the permission of the newly compile script: -rw------- 1 root root 26875 Jun 2 09:48 'copy$py.class' ===> NOTED THE FILE PERMISSION GOT CHANGE AS ISSUE #93 <https://github.com/jython/jython/issues/93> -rw-r--r-- 1 root root 26856 Sep 10 2022 'copy$py.class.org' -rw-r--r-- 1 root root 11519 Sep 10 2022 copy.py -rw-r--r-- 1 root root 12955 Sep 10 2022 'copy_reg$py.class' -rw-r--r-- 1 root root 6800 Sep 10 2022 copy_reg.py I opened GitHub issue https://github.com/jython/jython/issues/246 but no one has looked at it. I am hoping, I will get quicker respond from posting it too. Can someone please help on this regression issue as it is breaking our customers? Thank you, Juni. |
|
From: o lu <olu...@gm...> - 2023-06-05 20:02:59
|
On 6/5/23 04:20, Jeff Allen wrote: > > Jython 2 is built with Java 8 and tested with Java 8 and Java 11. > > The backwards compatibility of Java versions is very high. The byte > code is stable. What varies slightly is the Java API, where methods > may have been removed, or others overloaded in ways that affect > exactly which is found during a call. > > ... > > Jeff > My (2¢) concern would be for newer features in Java like modules and, more recently, Virtual Threads and things of that nature. |
|
From: Anamitra B. <abh...@us...> - 2023-06-05 12:22:22
|
thanks a lot for all the great info - we will do an end to end test with Jython soon on java 17 - based on our use cases. Will post the results when we get there. thanks Anamitra Bhattacharyya Maximo STSM IBM Master Inventor ________________________________ From: Jeff Allen <ja...@fa...> Sent: Monday, June 5, 2023 4:20 AM To: jyt...@li... <jyt...@li...> Subject: [EXTERNAL] Re: [Jython-users] Java 17 and support for jython Jython 2 is built with Java 8 and tested with Java 8 and Java 11. The backwards compatibility of Java versions is very high. The byte code is stable. What varies slightly is the Java API, where methods may have been removed, or others overloaded ZjQcmQRYFpfptBannerStart This Message Is From an Untrusted Sender You have not previously corresponded with this sender. ZjQcmQRYFpfptBannerEnd Jython 2 is built with Java 8 and tested with Java 8 and Java 11. The backwards compatibility of Java versions is very high. The byte code is stable. What varies slightly is the Java API, where methods may have been removed, or others overloaded in ways that affect exactly which is found during a call. I ran the regression tests on an installed 2.7.3 with Java 17. The expected result is explained here: https://jython-devguide.readthedocs.io/en/latest/release_jy.html#installation-regrtest<https://jython-devguide.readthedocs.io/en/latest/release_jy.html#installation-regrtest> With Java 17 I got an additional failure from test_httplib that is to do with header data not expected by the test. That may well be satisfactory for your application. You'll do your own tests, of course, and can repeat ours fairly easily. There may be a 2.7.4 this year, and it may be tested with Java 17, but an eventual Jython 3 will get most of the time. Jeff On 04/06/2023 13:24, Oti wrote: It starts: ➜ ~ java -version openjdk version "17.0.7" 2023-04-18 OpenJDK Runtime Environment Temurin-17.0.7+7 (build 17.0.7+7) OpenJDK 64-Bit Server VM Temurin-17.0.7+7 (build 17.0.7+7, mixed mode, sharing) ➜ ~ java -jar ~/Downloads/jython-standalone-2.7.3.jar Jython 2.7.3 (tags/v2.7.3:5f29801fe, Sep 10 2022, 18:52:49) [OpenJDK 64-Bit Server VM (Eclipse Adoptium)] on java17.0.7 Type "help", "copyright", "credits" or "license" for more information. >>> Best wishes, Oti. On Wed, May 31, 2023 at 10:15 PM Anamitra Bhattacharyya via Jython-users <jyt...@li...<mailto:jyt...@li...>> wrote: havent tested it yet - we were contemplating a move to java 17 - and since the https://www.jython.org/download<https://www.jython.org/download> for 2.7.3 only lists java 8 and 11 - was not sure if there was another version that would be released for java 17. Not sure if anyone here have tried with java 17 - and any issues with jython 2.7.3 on that. Downloads<https://www.jython.org/download> The Python runtime on the JVM www.jython.org<http://www.jython.org> thanks Anamitra Bhattacharyya Maximo STSM IBM Master Inventor ________________________________ From: Chris Clark <Chr...@ac...<mailto:Chr...@ac...>> Sent: Wednesday, May 31, 2023 4:00 PM To: Anamitra Bhattacharyya <abh...@us...<mailto:abh...@us...>>; jyt...@li...<mailto:jyt...@li...> <jyt...@li...<mailto:jyt...@li...>> Subject: [EXTERNAL] RE: Java 17 and support for jython Are you saying it’s not working? Worth opening a ticket if that’s the case with detailed error/test case. From: Anamitra Bhattacharyya via Jython-users <jython-users@ lists. sourceforge. net><mailto:jython-users@ lists. sourceforge. net> Sent: Wednesday, May 31, 2023 11: 50 ZjQcmQRYFpfptBannerStart This Message Is From an External Sender This message came from outside your organization. ZjQcmQRYFpfptBannerEnd Are you saying it’s not working? Worth opening a ticket if that’s the case with detailed error/test case. From: Anamitra Bhattacharyya via Jython-users <jyt...@li...<mailto:jyt...@li...>> Sent: Wednesday, May 31, 2023 11:50 AM To: jyt...@li...<mailto:jyt...@li...> Subject: [Jython-users] Java 17 and support for jython Hi just wondering if jython 273 supports java 17? From the jython.org<http://jython.org> website - its java 8 and java 11 - does not mention java 17. If not - is there a version of jython that is coming up that will support java 17? thanks Anamitra Bhattacharyya Maximo STSM IBM Master Inventor _______________________________________________ Jython-users mailing list Jyt...@li...<mailto:Jyt...@li...> https://lists.sourceforge.net/lists/listinfo/jython-users<https://lists.sourceforge.net/lists/listinfo/jython-users> _______________________________________________ Jython-users mailing list Jyt...@li...<mailto:Jyt...@li...> https://lists.sourceforge.net/lists/listinfo/jython-users<https://lists.sourceforge.net/lists/listinfo/jython-users> -- Jeff Allen |
|
From: Jeff A. <ja...@fa...> - 2023-06-05 08:58:37
|
Jython 2 is built with Java 8 and tested with Java 8 and Java 11. The backwards compatibility of Java versions is very high. The byte code is stable. What varies slightly is the Java API, where methods may have been removed, or others overloaded in ways that affect exactly which is found during a call. I ran the regression tests on an installed 2.7.3 with Java 17. The expected result is explained here: https://jython-devguide.readthedocs.io/en/latest/release_jy.html#installation-regrtest With Java 17 I got an additional failure from test_httplib that is to do with header data not expected by the test. That may well be satisfactory for your application. You'll do your own tests, of course, and can repeat ours fairly easily. There may be a 2.7.4 this year, and it may be tested with Java 17, but an eventual Jython 3 will get most of the time. Jeff On 04/06/2023 13:24, Oti wrote: > It starts: > > *➜**~*java -version > > openjdk version "17.0.7" 2023-04-18 > > OpenJDK Runtime Environment Temurin-17.0.7+7 (build 17.0.7+7) > > OpenJDK 64-Bit Server VM Temurin-17.0.7+7 (build 17.0.7+7, mixed mode, > sharing) > > *➜**~*java -jar ~/Downloads/jython-standalone-2.7.3.jar > > Jython 2.7.3 (tags/v2.7.3:5f29801fe, Sep 10 2022, 18:52:49) > > [OpenJDK 64-Bit Server VM (Eclipse Adoptium)] on java17.0.7 > > Type "help", "copyright", "credits" or "license" for more information. > > >>> > > > > Best wishes, > Oti. > > > > On Wed, May 31, 2023 at 10:15 PM Anamitra Bhattacharyya via > Jython-users <jyt...@li...> wrote: > > havent tested it yet - we were contemplating a move to java 17 - > and since the https://www.jython.org/download for 2.7.3 only lists > java 8 and 11 - was not sure if there was another version that > would be released for java 17. Not sure if anyone here have tried > with java 17 - and any issues with jython 2.7.3 on that. > Downloads <https://www.jython.org/download> > The Python runtime on the JVM > www.jython.org <http://www.jython.org> > > > > thanks > Anamitra Bhattacharyya > Maximo STSM > IBM Master Inventor > ------------------------------------------------------------------------ > *From:* Chris Clark <Chr...@ac...> > *Sent:* Wednesday, May 31, 2023 4:00 PM > *To:* Anamitra Bhattacharyya <abh...@us...>; > jyt...@li... > <jyt...@li...> > *Subject:* [EXTERNAL] RE: Java 17 and support for jython > Are you saying it’s not working? Worth opening a ticket if that’s > the case with detailed error/test case. From: Anamitra > Bhattacharyya via Jython-users > <jython-users@ lists. sourceforge. net> Sent: Wednesday, May 31, > 2023 11: 50 > ZjQcmQRYFpfptBannerStart > This Message Is From an External Sender > This message came from outside your organization. > ZjQcmQRYFpfptBannerEnd > > Are you saying it’s not working? Worth opening a ticket if that’s > the case with detailed error/test case. > > *From:* Anamitra Bhattacharyya via Jython-users > <jyt...@li...> > *Sent:* Wednesday, May 31, 2023 11:50 AM > *To:* jyt...@li... > *Subject:* [Jython-users] Java 17 and support for jython > > Hi > > just wondering if jython 273 supports java 17? From the jython.org > <http://jython.org> website - its java 8 and java 11 - does not > mention java 17. If not - is there a version of jython that is > coming up that will support java 17? > > thanks > > Anamitra Bhattacharyya > > Maximo STSM > > IBM Master Inventor > > _______________________________________________ > Jython-users mailing list > Jyt...@li... > https://lists.sourceforge.net/lists/listinfo/jython-users > > > > _______________________________________________ > Jython-users mailing list > Jyt...@li... > https://lists.sourceforge.net/lists/listinfo/jython-users -- Jeff Allen |
|
From: Oti <oh...@gm...> - 2023-06-04 12:24:57
|
It starts: *➜ **~* java -version openjdk version "17.0.7" 2023-04-18 OpenJDK Runtime Environment Temurin-17.0.7+7 (build 17.0.7+7) OpenJDK 64-Bit Server VM Temurin-17.0.7+7 (build 17.0.7+7, mixed mode, sharing) *➜ **~* java -jar ~/Downloads/jython-standalone-2.7.3.jar Jython 2.7.3 (tags/v2.7.3:5f29801fe, Sep 10 2022, 18:52:49) [OpenJDK 64-Bit Server VM (Eclipse Adoptium)] on java17.0.7 Type "help", "copyright", "credits" or "license" for more information. >>> Best wishes, Oti. On Wed, May 31, 2023 at 10:15 PM Anamitra Bhattacharyya via Jython-users < jyt...@li...> wrote: > havent tested it yet - we were contemplating a move to java 17 - and since > the https://www.jython.org/download for 2.7.3 only lists java 8 and 11 - > was not sure if there was another version that would be released for java > 17. Not sure if anyone here have tried with java 17 - and any issues with > jython 2.7.3 on that. > Downloads <https://www.jython.org/download> > The Python runtime on the JVM > www.jython.org > > > thanks > Anamitra Bhattacharyya > Maximo STSM > IBM Master Inventor > ------------------------------ > *From:* Chris Clark <Chr...@ac...> > *Sent:* Wednesday, May 31, 2023 4:00 PM > *To:* Anamitra Bhattacharyya <abh...@us...>; > jyt...@li... <jyt...@li...> > *Subject:* [EXTERNAL] RE: Java 17 and support for jython > > Are you saying it’s not working? Worth opening a ticket if that’s the case > with detailed error/test case. From: Anamitra Bhattacharyya via > Jython-users <jython-users@ lists. sourceforge. net> Sent: Wednesday, May > 31, 2023 11: 50 > ZjQcmQRYFpfptBannerStart > This Message Is From an External Sender > This message came from outside your organization. > > ZjQcmQRYFpfptBannerEnd > > Are you saying it’s not working? Worth opening a ticket if that’s the case > with detailed error/test case. > > > > *From:* Anamitra Bhattacharyya via Jython-users < > jyt...@li...> > *Sent:* Wednesday, May 31, 2023 11:50 AM > *To:* jyt...@li... > *Subject:* [Jython-users] Java 17 and support for jython > > > > Hi > > just wondering if jython 273 supports java 17? From the jython.org > website - its java 8 and java 11 - does not mention java 17. If not - is > there a version of jython that is coming up that will support java 17? > > > > thanks > > Anamitra Bhattacharyya > > Maximo STSM > > IBM Master Inventor > _______________________________________________ > Jython-users mailing list > Jyt...@li... > https://lists.sourceforge.net/lists/listinfo/jython-users > |
|
From: Chris C. <Chr...@ac...> - 2023-05-31 20:17:11
|
Are you saying it's not working? Worth opening a ticket if that's the case with detailed error/test case. From: Anamitra Bhattacharyya via Jython-users <jyt...@li...> Sent: Wednesday, May 31, 2023 11:50 AM To: jyt...@li... Subject: [Jython-users] Java 17 and support for jython Hi just wondering if jython 273 supports java 17? From the jython.org website - its java 8 and java 11 - does not mention java 17. If not - is there a version of jython that is coming up that will support java 17? thanks Anamitra Bhattacharyya Maximo STSM IBM Master Inventor |
|
From: Anamitra B. <abh...@us...> - 2023-05-31 20:14:20
|
havent tested it yet - we were contemplating a move to java 17 - and since the https://www.jython.org/download for 2.7.3 only lists java 8 and 11 - was not sure if there was another version that would be released for java 17. Not sure if anyone here have tried with java 17 - and any issues with jython 2.7.3 on that. Downloads<https://www.jython.org/download> The Python runtime on the JVM www.jython.org thanks Anamitra Bhattacharyya Maximo STSM IBM Master Inventor ________________________________ From: Chris Clark <Chr...@ac...> Sent: Wednesday, May 31, 2023 4:00 PM To: Anamitra Bhattacharyya <abh...@us...>; jyt...@li... <jyt...@li...> Subject: [EXTERNAL] RE: Java 17 and support for jython Are you saying it’s not working? Worth opening a ticket if that’s the case with detailed error/test case. From: Anamitra Bhattacharyya via Jython-users <jython-users@ lists. sourceforge. net> Sent: Wednesday, May 31, 2023 11: 50 ZjQcmQRYFpfptBannerStart This Message Is From an External Sender This message came from outside your organization. ZjQcmQRYFpfptBannerEnd Are you saying it’s not working? Worth opening a ticket if that’s the case with detailed error/test case. From: Anamitra Bhattacharyya via Jython-users <jyt...@li...> Sent: Wednesday, May 31, 2023 11:50 AM To: jyt...@li... Subject: [Jython-users] Java 17 and support for jython Hi just wondering if jython 273 supports java 17? From the jython.org website - its java 8 and java 11 - does not mention java 17. If not - is there a version of jython that is coming up that will support java 17? thanks Anamitra Bhattacharyya Maximo STSM IBM Master Inventor |
|
From: Anamitra B. <abh...@us...> - 2023-05-31 18:50:26
|
Hi just wondering if jython 273 supports java 17? From the jython.org website - its java 8 and java 11 - does not mention java 17. If not - is there a version of jython that is coming up that will support java 17? thanks Anamitra Bhattacharyya Maximo STSM IBM Master Inventor |
|
From: Jeff A. <ja...@fa...> - 2022-09-14 07:36:31
|
The Jython Project is pleased to announce the general availability of Jython 2.7.3 at Sonatype. (https://search.maven.org/search?q=g:org.python) This is a maintenance release that incorporates a number of bug-fixes, some kindly offered as PRs by users. It is identical to the recent release candidate (rc1) of about 2 weeks ago. Please report problems on the issue tracker (https://github.com/jython/jython/issues). We are no longer inviting bugs at bugs.jython.org, which in due course will become read-only (as its python.org equivalent did this year). Bugs on the old tracker, whilst not entirely ignored, will not be migrated en masse to GitHub: if you care about one particularly, it would help us if you could raise it on GitHub, with a link to the b.j.o. entry. Jeff -- Jeff Allen _______________________________________________ Jython-dev mailing list Jyt...@li... https://lists.sourceforge.net/lists/listinfo/jython-dev |
|
From: Jeff A. <ja...@fa...> - 2022-08-31 21:08:47
|
The Jython Project is pleased to announce the availability of the first release candidate of Jython 2.7.3 at Sonatype. (https://search.maven.org/search?q=g:org.python) This is a maintenance release that incorporates a number of bug-fixes, some kindly offered as PRs by users. The release candidate only includes one change from the beta. Please report problems on the issue tracker (https://github.com/jython/jython/issues). If there are no show-stoppers, a 2.7.3 final will follow in about 2 weeks. We are no longer inviting bugs at bugs.jython.org, which in due course will become read-only (as its python.org equivalent did this year). Bugs on the old tracker, whilst not entirely ignored, will not be migrated en masse to GitHub: if you care about one particularly, it would help us if you could raise it on GitHub, with a link to the b.j.o. entry. Jeff -- Jeff Allen |
|
From: Jeff M. <jef...@za...> - 2022-07-13 13:48:40
|
Thanks for the updates Jeff! (Great write up in VSJ, as well.) Jython is an amazing work, and I'm glad to see its still alive :) On Wed, Jul 13, 2022 at 3:25 AM Jeff Allen <ja...@fa...> wrote: > Further to the off-repo experimental work (VSJ) Jim references, as I > became reasonably sure of the implementation approach, I migrated code to > the "main" (not "master") branch of the Jython repo,. We will make "main" > the default when Jython 3 is viable (agreed on jython-dev). > > See https://github.com/jython/jython/tree/main > > Where possible, the migration is a graft into prior work moved from Jython > 2. For this reason, a lot of Jython 2 code waits unchanged on this branch > in ~/src, but this folder is not referenced in the build. (~/core is where > it's at.) I'm re-using even the core built-ins, but the problem of "new > patch, old garment" means there is not much original but the shape, by the > end of the replacement. As Jim says, I expect to re-use increasingly, with > change only at the detailed level. > > I took a break to release 2.7.3, so as to honour the contributions people > had made since 2.7.2,. I hope the beta is nearly adequate, so I can work > mostly on VSJ and 3.8. > > Jeff > On 11/07/2022 15:25, Jeff Mitchell wrote: > > Any update on Jython3? Every once in awhile I do a quick check and it > seems pretty dead, but maybe I'm looking in the wrong git etc? > > https://github.com/jython/jython3 is years old .. just an experiment I > gather > > The main git is https://github.com/jython/jython it appears; not sure if > theres python 3 stuff mixed in there somewhere? > > > On Sun, Jul 10, 2022 at 8:47 PM Yaqiang Wang <yaq...@gm...> > wrote: > >> Thanks for your work on the Jython project and so it's great to see the >> new version of Jython! Hope Jython 3 will come soon! >> >> Regards >> Yaqiang >> >> On Mon, Jul 11, 2022 at 3:31 AM Jeff Allen <ja...@fa...> wrote: >> >>> The Jython Project is pleased to announce the availability of the first >>> beta release of Jython 2.7.3, at Sonatype. ( >>> https://search.maven.org/search?q=g:org.python) >>> >>> This is a maintenance release that incorporates a number of bug-fixes, >>> some kindly offered as PRs by users. Please try it out and report problems >>> on the issue tracker (https://github.com/jython/jython/issues). >>> >>> If there are no show-stoppers, a 2.7.3rc1 will follow in no less than 4 >>> weeks and hopefully a 2.7.3 release by the end of August. >>> >>> We are no longer inviting bugs at bugs.jython.org, which in due course >>> will become read-only (as it's python.org equivalent did this year). >>> Bugs on the old tracker, whilst not entirely ignored, will not be migrated >>> en masse to GitHub: if you care about one particularly, it would help us if >>> you could raise it on GitHub, with a link to the b.j.o. entry. >>> >>> -- >>> >>> Jeff Allen >>> The Jython Project >>> >>> _______________________________________________ >>> Jython-users mailing list >>> Jyt...@li... >>> https://lists.sourceforge.net/lists/listinfo/jython-users >>> >> >> >> -- >> ************************************************* >> Dr. Yaqiang Wang >> Chinese Academy of Meteorological Sciences (CAMS) >> 46, Zhong-Guan-Cun South Avenue >> Beijing, 100081 >> China >> >> yaq...@gm... >> >> www.meteothink.org >> ************************************************** >> _______________________________________________ >> Jython-users mailing list >> Jyt...@li... >> https://lists.sourceforge.net/lists/listinfo/jython-users >> > > > -- > > Jeff Mitchell > > jef...@za... > > Zayo | Our Fiber Fuels Global Innovation > > 1821 30th Street | Unit A | Boulder, CO 80301 > > > This communication is the property of Zayo and may contain confidential or > privileged information. If you have received this communication in error, > please promptly notify the sender by reply e-mail and destroy all copies of > the communication and any attachments. > > He who dies with the best barbecue sauce, wins. > > -- > > Jeff Allen > > -- Jeff Mitchell jef...@za... Zayo | Our Fiber Fuels Global Innovation 1821 30th Street | Unit A | Boulder, CO 80301 This communication is the property of Zayo and may contain confidential or privileged information. If you have received this communication in error, please promptly notify the sender by reply e-mail and destroy all copies of the communication and any attachments. He who dies with the best barbecue sauce, wins. |
|
From: Jeff A. <ja...@fa...> - 2022-07-13 07:45:53
|
Further to the off-repo experimental work (VSJ) Jim references, as I became reasonably sure of the implementation approach, I migrated code to the "main" (not "master") branch of the Jython repo,. We will make "main" the default when Jython 3 is viable (agreed on jython-dev). See https://github.com/jython/jython/tree/main Where possible, the migration is a graft into prior work moved from Jython 2. For this reason, a lot of Jython 2 code waits unchanged on this branch in ~/src, but this folder is not referenced in the build. (~/core is where it's at.) I'm re-using even the core built-ins, but the problem of "new patch, old garment" means there is not much original but the shape, by the end of the replacement. As Jim says, I expect to re-use increasingly, with change only at the detailed level. I took a break to release 2.7.3, so as to honour the contributions people had made since 2.7.2,. I hope the beta is nearly adequate, so I can work mostly on VSJ and 3.8. Jeff On 11/07/2022 15:25, Jeff Mitchell wrote: > Any update on Jython3? Every once in awhile I do a quick check and it > seems pretty dead, but maybe I'm looking in the wrong git etc? > > https://github.com/jython/jython3 is years old .. just an experiment I > gather > > The main git is https://github.com/jython/jython it appears; not sure > if theres python 3 stuff mixed in there somewhere? > > > On Sun, Jul 10, 2022 at 8:47 PM Yaqiang Wang <yaq...@gm...> > wrote: > > Thanks for your work on the Jython project and so it's great to > see the new version of Jython! Hope Jython 3 will come soon! > > Regards > Yaqiang > > On Mon, Jul 11, 2022 at 3:31 AM Jeff Allen <ja...@fa...> wrote: > > The Jython Project is pleased to announce the availability of > the first beta release of Jython 2.7.3, at Sonatype. > (https://search.maven.org/search?q=g:org.python) > > This is a maintenance release that incorporates a number of > bug-fixes, some kindly offered as PRs by users. Please try it > out and report problems on the issue tracker > (https://github.com/jython/jython/issues). > > If there are no show-stoppers, a 2.7.3rc1 will follow in no > less than 4 weeks and hopefully a 2.7.3 release by the end of > August. > > We are no longer inviting bugs at bugs.jython.org > <http://bugs.jython.org>, which in due course will become > read-only (as it's python.org <http://python.org> equivalent > did this year). Bugs on the old tracker, whilst not entirely > ignored, will not be migrated en masse to GitHub: if you care > about one particularly, it would help us if you could raise it > on GitHub, with a link to the b.j.o. entry. > > -- > > Jeff Allen > The Jython Project > > _______________________________________________ > Jython-users mailing list > Jyt...@li... > https://lists.sourceforge.net/lists/listinfo/jython-users > > > > -- > ************************************************* > Dr. Yaqiang Wang > Chinese Academy of Meteorological Sciences (CAMS) > 46, Zhong-Guan-Cun South Avenue > Beijing, 100081 > China > > yaq...@gm... > > www.meteothink.org <http://www.meteothink.org> > ************************************************** > _______________________________________________ > Jython-users mailing list > Jyt...@li... > https://lists.sourceforge.net/lists/listinfo/jython-users > > > > -- > > Jeff Mitchell > > jef...@za... > > Zayo | Our Fiber Fuels Global Innovation > > 1821 30th Street | Unit A | Boulder, CO 80301 > > > This communication is the property of Zayo and may contain > confidential or privileged information. If you have received this > communication in error, please promptly notify the sender by reply > e-mail and destroy all copies of the communication and any attachments. > > He who dies with the best barbecue sauce, wins. > -- Jeff Allen |
|
From: Jim B. <jim...@py...> - 2022-07-12 16:16:19
|
Jeff, This is really awesome news! Glad for the hard work that it took to get to this point. - Jim On Sun, Jul 10, 2022 at 1:31 PM Jeff Allen <ja...@fa...> wrote: > The Jython Project is pleased to announce the availability of the first > beta release of Jython 2.7.3, at Sonatype. ( > https://search.maven.org/search?q=g:org.python) > > This is a maintenance release that incorporates a number of bug-fixes, > some kindly offered as PRs by users. Please try it out and report problems > on the issue tracker (https://github.com/jython/jython/issues). > > If there are no show-stoppers, a 2.7.3rc1 will follow in no less than 4 > weeks and hopefully a 2.7.3 release by the end of August. > > We are no longer inviting bugs at bugs.jython.org, which in due course > will become read-only (as it's python.org equivalent did this year). Bugs > on the old tracker, whilst not entirely ignored, will not be migrated en > masse to GitHub: if you care about one particularly, it would help us if > you could raise it on GitHub, with a link to the b.j.o. entry. > > -- > > Jeff Allen > The Jython Project > > |
|
From: Jim B. <jim...@py...> - 2022-07-12 16:15:29
|
Jeff M., I would take a look at Jeff A.'s work on https://the-very-slow-jython-project.readthedocs.io/en/latest/index.html to see the design notes and some implementation details for what could be Jython 3 core. This represents a much more sustainable effort that fits into current Java's capabilities, at the risk of taking a very long time to complete. However, I would suspect that a lot of the current library code could be reused in some way. Lastly, I see you are also in the Boulder area. - Jim On Mon, Jul 11, 2022 at 8:25 AM Jeff Mitchell <jef...@za...> wrote: > Any update on Jython3? Every once in awhile I do a quick check and it > seems pretty dead, but maybe I'm looking in the wrong git etc? > > https://github.com/jython/jython3 is years old .. just an experiment I > gather > > The main git is https://github.com/jython/jython it appears; not sure if > theres python 3 stuff mixed in there somewhere? > > > On Sun, Jul 10, 2022 at 8:47 PM Yaqiang Wang <yaq...@gm...> > wrote: > >> Thanks for your work on the Jython project and so it's great to see the >> new version of Jython! Hope Jython 3 will come soon! >> >> Regards >> Yaqiang >> >> On Mon, Jul 11, 2022 at 3:31 AM Jeff Allen <ja...@fa...> wrote: >> >>> The Jython Project is pleased to announce the availability of the first >>> beta release of Jython 2.7.3, at Sonatype. ( >>> https://search.maven.org/search?q=g:org.python) >>> >>> This is a maintenance release that incorporates a number of bug-fixes, >>> some kindly offered as PRs by users. Please try it out and report problems >>> on the issue tracker (https://github.com/jython/jython/issues). >>> >>> If there are no show-stoppers, a 2.7.3rc1 will follow in no less than 4 >>> weeks and hopefully a 2.7.3 release by the end of August. >>> >>> We are no longer inviting bugs at bugs.jython.org, which in due course >>> will become read-only (as it's python.org equivalent did this year). >>> Bugs on the old tracker, whilst not entirely ignored, will not be migrated >>> en masse to GitHub: if you care about one particularly, it would help us if >>> you could raise it on GitHub, with a link to the b.j.o. entry. >>> >>> -- >>> >>> Jeff Allen >>> The Jython Project >>> >>> _______________________________________________ >>> Jython-users mailing list >>> Jyt...@li... >>> https://lists.sourceforge.net/lists/listinfo/jython-users >>> >> >> >> -- >> ************************************************* >> Dr. Yaqiang Wang >> Chinese Academy of Meteorological Sciences (CAMS) >> 46, Zhong-Guan-Cun South Avenue >> Beijing, 100081 >> China >> >> yaq...@gm... >> >> www.meteothink.org >> ************************************************** >> _______________________________________________ >> Jython-users mailing list >> Jyt...@li... >> https://lists.sourceforge.net/lists/listinfo/jython-users >> > > > -- > > Jeff Mitchell > > jef...@za... > > Zayo | Our Fiber Fuels Global Innovation > > 1821 30th Street | Unit A | Boulder, CO 80301 > > > This communication is the property of Zayo and may contain confidential or > privileged information. If you have received this communication in error, > please promptly notify the sender by reply e-mail and destroy all copies of > the communication and any attachments. > > > He who dies with the best barbecue sauce, wins. > |
|
From: Jeff M. <jef...@za...> - 2022-07-11 14:48:02
|
Any update on Jython3? Every once in awhile I do a quick check and it seems pretty dead, but maybe I'm looking in the wrong git etc? https://github.com/jython/jython3 is years old .. just an experiment I gather The main git is https://github.com/jython/jython it appears; not sure if theres python 3 stuff mixed in there somewhere? On Sun, Jul 10, 2022 at 8:47 PM Yaqiang Wang <yaq...@gm...> wrote: > Thanks for your work on the Jython project and so it's great to see the > new version of Jython! Hope Jython 3 will come soon! > > Regards > Yaqiang > > On Mon, Jul 11, 2022 at 3:31 AM Jeff Allen <ja...@fa...> wrote: > >> The Jython Project is pleased to announce the availability of the first >> beta release of Jython 2.7.3, at Sonatype. ( >> https://search.maven.org/search?q=g:org.python) >> >> This is a maintenance release that incorporates a number of bug-fixes, >> some kindly offered as PRs by users. Please try it out and report problems >> on the issue tracker (https://github.com/jython/jython/issues). >> >> If there are no show-stoppers, a 2.7.3rc1 will follow in no less than 4 >> weeks and hopefully a 2.7.3 release by the end of August. >> >> We are no longer inviting bugs at bugs.jython.org, which in due course >> will become read-only (as it's python.org equivalent did this year). >> Bugs on the old tracker, whilst not entirely ignored, will not be migrated >> en masse to GitHub: if you care about one particularly, it would help us if >> you could raise it on GitHub, with a link to the b.j.o. entry. >> >> -- >> >> Jeff Allen >> The Jython Project >> >> _______________________________________________ >> Jython-users mailing list >> Jyt...@li... >> https://lists.sourceforge.net/lists/listinfo/jython-users >> > > > -- > ************************************************* > Dr. Yaqiang Wang > Chinese Academy of Meteorological Sciences (CAMS) > 46, Zhong-Guan-Cun South Avenue > Beijing, 100081 > China > > yaq...@gm... > > www.meteothink.org > ************************************************** > _______________________________________________ > Jython-users mailing list > Jyt...@li... > https://lists.sourceforge.net/lists/listinfo/jython-users > -- Jeff Mitchell jef...@za... Zayo | Our Fiber Fuels Global Innovation 1821 30th Street | Unit A | Boulder, CO 80301 This communication is the property of Zayo and may contain confidential or privileged information. If you have received this communication in error, please promptly notify the sender by reply e-mail and destroy all copies of the communication and any attachments. He who dies with the best barbecue sauce, wins. |
|
From: Yaqiang W. <yaq...@gm...> - 2022-07-11 00:47:40
|
Thanks for your work on the Jython project and so it's great to see the new version of Jython! Hope Jython 3 will come soon! Regards Yaqiang On Mon, Jul 11, 2022 at 3:31 AM Jeff Allen <ja...@fa...> wrote: > The Jython Project is pleased to announce the availability of the first > beta release of Jython 2.7.3, at Sonatype. ( > https://search.maven.org/search?q=g:org.python) > > This is a maintenance release that incorporates a number of bug-fixes, > some kindly offered as PRs by users. Please try it out and report problems > on the issue tracker (https://github.com/jython/jython/issues). > > If there are no show-stoppers, a 2.7.3rc1 will follow in no less than 4 > weeks and hopefully a 2.7.3 release by the end of August. > > We are no longer inviting bugs at bugs.jython.org, which in due course > will become read-only (as it's python.org equivalent did this year). Bugs > on the old tracker, whilst not entirely ignored, will not be migrated en > masse to GitHub: if you care about one particularly, it would help us if > you could raise it on GitHub, with a link to the b.j.o. entry. > > -- > > Jeff Allen > The Jython Project > > _______________________________________________ > Jython-users mailing list > Jyt...@li... > https://lists.sourceforge.net/lists/listinfo/jython-users > -- ************************************************* Dr. Yaqiang Wang Chinese Academy of Meteorological Sciences (CAMS) 46, Zhong-Guan-Cun South Avenue Beijing, 100081 China yaq...@gm... www.meteothink.org ************************************************** |
|
From: Jeff A. <ja...@fa...> - 2022-07-10 19:31:21
|
The Jython Project is pleased to announce the availability of the first beta release of Jython 2.7.3, at Sonatype. (https://search.maven.org/search?q=g:org.python) This is a maintenance release that incorporates a number of bug-fixes, some kindly offered as PRs by users. Please try it out and report problems on the issue tracker (https://github.com/jython/jython/issues). If there are no show-stoppers, a 2.7.3rc1 will follow in no less than 4 weeks and hopefully a 2.7.3 release by the end of August. We are no longer inviting bugs at bugs.jython.org, which in due course will become read-only (as it's python.org equivalent did this year). Bugs on the old tracker, whilst not entirely ignored, will not be migrated en masse to GitHub: if you care about one particularly, it would help us if you could raise it on GitHub, with a link to the b.j.o. entry. -- Jeff Allen The Jython Project |
|
From: Anamitra B. <ana...@ya...> - 2022-03-11 19:34:03
|
Hi I was going through the https://www.jython.org/jython-3-mvp.html and I was happy to see that the community is considering to continue supporting jsr223 spec for this. The link did not describe any timeline - was wondering if anyone here had more information about the timeline for this.thanksAnamitra |
|
From: Jeff A. <ja...@fa...> - 2022-02-19 12:21:56
|
Hi Hartmut. Thanks for experimenting with solutions. I've never used coverage myself, but when I run jython (on Windows) it picks up the JVM on my path. I do not understand why, in your account of the error, coverage-script.py is in the Jython bin directory. I would expect that to be in site-packages, or somewhere of its own, and the paths to modules it needs would then be on the sys.path. The error about not being able to find a module does not scream "wrong JVM" to me. pkg_resources is in site-packages, as part of the pip installation we do. However, pip as a whole is broken for all versions of Jython thanks to changes at pypi.org and our slowness to adapt. pkg_resources is not necessarily affected. Running the jython.jar directly may not work well because additional JARs you may need are precluded by the -jar option. The jython.exe launcher has a --print command that tells you what it would have done, which is useful when you need to roll your own command line. --help will tell you which environment variables it pays attention to in creating that command. -- Jeff Allen On 15/02/2022 10:33, Niemann, Hartmut wrote: > > Hi! > > I need to specify which java is used for a coverage run. > > I am using Jython 2.7.0 and coverage 3.4.3 > > I used to use “coverage.exe” but how could I tell it which java to start? > > I succeded starting “jython.exe coverage-script.py” , but same > problem: which java VM is used? > > I can run Jython with an explicit JAVA executable and some simple example > > %JAVA64% -jar "somepath\jython.jar" %JYTHON_DIR%\bin\hello.py > > But when I combine these to > > %JAVA64% -jar "C:\SIBAS32\JAVA_LIBS\jython\jython.jar" > %JYTHON_DIR%\bin\coverage-script.py > > I get > > Traceback (most recent call last): > > File "C:\DEVTOOLS\Jython\2.7.0\bin\coverage-script.py", line 5, in > <module> > > from pkg_resources import load_entry_point > > ImportError: No module named pkg_resources > > So I would need to convince coverage.exe or jython.exe to use the > Java.exe I want, or teach java.exe -jar … coverage-script.py where to > look for the pkg_resources directory. > > On > > https://www.jython.org/jython-old-sites/archive/21/docs/interpreter.html > > I found the sentence > > “jythonis a short script that invokes your local JVM, [..]” > > which unfortunately does not tell me how the JVM is selected from the > (four?) JVMs I have installed. > > What would you recommend? > > Regards > > Hartmut > > |
|
From: Niemann, H. <har...@si...> - 2022-02-15 10:49:06
|
Hi!
I need to specify which java is used for a coverage run.
I am using Jython 2.7.0 and coverage 3.4.3
I used to use "coverage.exe" but how could I tell it which java to start?
I succeded starting "jython.exe coverage-script.py" , but same problem: which java VM is used?
I can run Jython with an explicit JAVA executable and some simple example
%JAVA64% -jar "somepath\jython.jar" %JYTHON_DIR%\bin\hello.py
But when I combine these to
%JAVA64% -jar "C:\SIBAS32\JAVA_LIBS\jython\jython.jar" %JYTHON_DIR%\bin\coverage-script.py
I get
Traceback (most recent call last):
File "C:\DEVTOOLS\Jython\2.7.0\bin\coverage-script.py", line 5, in <module>
from pkg_resources import load_entry_point
ImportError: No module named pkg_resources
So I would need to convince coverage.exe or jython.exe to use the Java.exe I want, or teach java.exe -jar ... coverage-script.py where to look for the pkg_resources directory.
On
https://www.jython.org/jython-old-sites/archive/21/docs/interpreter.html
I found the sentence
"jython is a short script that invokes your local JVM, [..]"
which unfortunately does not tell me how the JVM is selected from the (four?) JVMs I have installed.
What would you recommend?
Regards
Hartmut
|
|
From: Simon K. <sim...@do...> - 2021-06-16 10:02:33
|
Dear Jython Users, I can see that you have published a page with a roadmap to Jython 3 and that this question has been asked a few times in the past! We use Jython in one of our products and some customers would like to have Python 3 scripting supported. So, can I ask about the status of Jython 3 and when support for Python 3 scripting might be released? Many thanks, Simon Disclaimer This electronic mail and its attachments are intended solely for the person(s) to whom they are addressed and contain information which is confidential or otherwise protected from disclosure, except for the purpose for which they are intended. Dissemination, distribution, or reproduction by anyone other than the intended recipients is prohibited and may be illegal. If you are not an intended recipient, please immediately inform the sender and return the electronic mail and its attachments and destroy any copies which may be in your possession. Dotmatics Limited screens electronic mails for viruses but does not warrant that this electronic mail is free of any viruses. Dotmatics Limited accepts no liability for any damage caused by any virus transmitted by this electronic mail. Dotmatics Limited is registered in England & Wales No. 5614524 with offices at The Old Monastery, Windhill, Bishops Stortford, Herts, CM23 2ND, UK. |
|
From: Nicolas F. <ni...@pn...> - 2021-04-22 06:37:17
|
Hello Jython users, We use Jython to allow our customers to write extensions for our software written in Java. The public code is accessible in a jar, say *a.jar*, and the javadoc bundle for that jar is say, *a.zip*. Users writing non-trivial Python script extensions would like to use full-blown IDEs like Eclipse+pydev or PyCharm. I was wondering how to integrate javadoc as Python documentation within those projects: can those IDEs somewhat take the javadoc zip and figure out what doc entry to fetch and how to convert it from the javadoc html format? Example: a.jar contains com/abc/Foo.class; a.zip has a javadoc entry for Foo from com.abc import Foo a = Foo() I would like the IDE to know that the doc for com.abc.Foo is located in the javadoc zip archive, fetch it and offer it to the user. Do you know of any existing IDE plugin that could do that? Thank you, -- Nicolas Falliere (ni...@pn...) JEB Decompiler, Founder and Architect PNF Software <https://www.pnfsoftware.com/> | Follow us on Twitter <https://twitter.com/jebdec> | Join us on Slack <https://www.pnfsoftware.com/chat> | Bulletin Board <https://www.pnfsoftware.com/forum> |
|
From: Fabio Z. <fa...@gm...> - 2021-04-10 13:59:17
|
PyDev 8.3.0 Release Highlights
-
*Java 11* is now required to run PyDev.
-
*External linters*
- Configurations of the linters can be saved to the project or user
settings.
- Flake8 has a more flexible UI for configuration.
-
*Others*
- Option to add comments all at a single indent (note: this is now the
default).
- LRU for context-insensitive completion/quick fix.
- Fixed some code-completion cases where *self* was wrongly added.
- Environment variables are now supported in *.pydevproject*
(expected format: *${env_var:VAR_NAME}*).
About PyDev
PyDev is an open-source Python IDE on top of Eclipse for Python, Jython and
IronPython development, now also available for Python on Visual Studio Code.
It comes with goodies such as code completion, syntax highlighting, syntax
analysis, code analysis, refactor, debug, interactive console, etc.
It is also available as a standalone through LiClipse with goodies such as
multiple cursors, theming and support for many other languages, such as
Django Templates, Jinja2, Html, JavaScript, etc.
Links:
PyDev: http://pydev.org
PyDev Blog: http://pydev.blogspot.com
PyDev on VSCode: http://pydev.org/vscode
LiClipse: http://www.liclipse.com
PyVmMonitor - Python Profiler: http://www.pyvmmonitor.com/
Cheers,
Fabio Zadrozny
|
|
From: James K. <jwk...@gm...> - 2021-03-31 17:16:21
|
I’m using Netbeans with Python and jython plugins. I started a python project and wrote my code. I import standard JAVA packages and only one Java add-in import gnu.io import gnu.io.RXTXPort as RXTX (RXTX is added to JDK/JRE and JRE I assume this will be a dependency) The program runs fine from within Netbeans and now I want to make an egg. The project SRC folder contains 29 .py + 25 .class + 7 .jpg + 2 .XML files and __INIT__.py I right-click the project and use CLEAN and BUILD EGG This puts a setup.py file in the source directory and creates a built and info folder. I also issued the Jython command from within the project SRC folder jython setup.py bdist_egg Both methods run to completion and produce the following <folder> build> <subfolder> bdist.java1.80_251 (which is empty) + <folder> dist <file> JythonProject0.1-py2.7.egg (contents = list of egg-info files) + <folder>JythonProject.egg-info with <file> dependency_links.txt (no content) <file> PKG-INFO (summary of setup.py entries) <file> SOURCES.txt (setup.py + list of these files) <file> top_level.txt (no content) I’ve studied about the structure of the setup.py file but I’ll admit that without an example I’m left confused about the syntax of filling in the blanks. QUESTION: how do I add my source data to get a working egg? Setup.py = from setuptools import setup, find_packages setup ( name='JythonProject', version='0.1', packages=find_packages(), *** (supposed to find all .PY files ?) *** how to include CLASS files? # Declare your packages' dependencies here, for eg: install_requires=[], *** my RXTX? <path>xx.JAR? # Fill in these to make your Egg ready for upload to # PyPI author='jwkel', author_email='jwk...@gm...', #summary = 'Just another Python package for the cheese shop', url='', *** none license='', *** I understand long_description='Long description of the package', |
|
From: Stefan R. <ste...@gm...> - 2021-03-02 10:54:10
|
Hello Régis, Pillow appears to be largely written in C, looking at https://github.com/python-pillow/Pillow/tree/master/src. C-extensions are not supported by Jython. I once started the JyNI project to compensate this gap, but I never tested Pillow and probably it wouldn't work with current JyNI out of the box. Unfortunately I cannot afford to continue work on JyNI in foreseeable future. I think you'd be best off by using a Java-native imaging solution, e.g. ImageJ. (However, I am not aware of how Pillow and ImageJ features compare in detail.) If it really must be Pillow, then Jython is probably not the right choice for you. You'd like to try JEP, Py4J or JPY. There is also GraalPython, but AFAIK its C-extension support is still fairly experimental. Probably still worth a try. Best regards Stefan Am Di., 2. März 2021 um 10:50 Uhr schrieb Régis Ramillien < reg...@gm...>: > Thank you Jeef, > > I tried to copy lib into a 'contrib' folder without installing it. > It's a bit better, but it still doesn't work... > > Caused by: org.python.core.PySyntaxError: SyntaxError: no viable > alternative at input '"module '{__name__}' has no attribute '{name}'"' > (__init__.py, line 42) > at org.python.core.ParserFacade.fixParseError(ParserFacade.java:95) > ~[jython-2.7.2.jar:2.7.2] > at org.python.core.ParserFacade.parse(ParserFacade.java:190) > ~[jython-2.7.2.jar:2.7.2] > at org.python.core.imp.compileSource(imp.java:542) > ~[jython-2.7.2.jar:2.7.2] > at org.python.core.imp.createFromSource(imp.java:575) > ~[jython-2.7.2.jar:2.7.2] > at org.python.core.imp.loadFromSource(imp.java:944) > ~[jython-2.7.2.jar:2.7.2] > at org.python.core.imp.find_module(imp.java:769) ~[jython-2.7.2.jar:2.7.2] > at org.python.core.imp.import_next(imp.java:1158) ~[jython-2.7.2.jar:2.7.2] > at org.python.core.imp.import_module_level(imp.java:1350) > ~[jython-2.7.2.jar:2.7.2] > at org.python.core.imp.importName(imp.java:1528) ~[jython-2.7.2.jar:2.7.2] > at org.python.core.ImportFunction.__call__(__builtin__.java:1285) > ~[jython-2.7.2.jar:2.7.2] > at org.python.core.PyObject.__call__(PyObject.java:433) > ~[jython-2.7.2.jar:2.7.2] > at org.python.core.__builtin__.__import__(__builtin__.java:1232) > ~[jython-2.7.2.jar:2.7.2] > at org.python.core.imp.importFromAs(imp.java:1620) > ~[jython-2.7.2.jar:2.7.2] > at org.python.core.imp.importFrom(imp.java:1595) ~[jython-2.7.2.jar:2.7.2] > at > openpyxl.drawing.image$py.f$0(C:/Tools/jython2.7.2/Lib/site-packages/openpyxl/drawing/image.py:23) > ~[na:na] > at > openpyxl.drawing.image$py.call_function(C:/Tools/jython2.7.2/Lib/site-packages/openpyxl/drawing/image.py) > ~[na:na] > > I can't figure where it comes from. I commented all functions in image.py > but still get the same error... > > Thanks again ! :) > > Régis > > Le mar. 2 mars 2021 à 00:02, Jeff Mitchell <jef...@za...> a > écrit : > >> fwiw, with xlsxwriter, I just imported that and good to go. >> >> https://xlsxwriter.readthedocs.io/ >> >> I don't even bother with pip in this one project, I have a 'contrib' >> directory that I drop in various libs. (Connectivity to internet is >> unavailable on this target server, and working on cached egg files or >> whatever seemed like work.) So in this case, I clone the repo to a dir in >> contrib, use sys.path.append ( contrib-dir-path ), and then import >> xlsxwriter >> >> >> On Mon, Mar 1, 2021 at 5:33 PM Régis Ramillien <reg...@gm...> >> wrote: >> >>> Dear jython users, >>> >>> I'm new to python, and I would like to call a python script from java. >>> After a little bit of research, I decided to use jython. >>> >>> I want the java program to let an admin generate custom excel files >>> using python. >>> >>> That's why I need to install openpyxl, multiprocessing and >>> finally pillow to load images into the xlsx. >>> >>> But installing pillow gives me some troubles. >>> First, I got a "java heap space" exception. So I tried installing it >>> using this command: >>> >>> ---------------------------------------------------------------------------------------------- >>> jython -J-Xmx1g -m pip install pillow. >>> >>> ---------------------------------------------------------------------------------------------- >>> I know, you're right, 1g seems enormous ! But I still get java heap >>> space with 512mb... >>> >>> And with 1g of memory, I receive this stack: >>> >>> ---------------------------------------------------------------------------------------------- >>> c:\Tools\jython2.7.2\bin>jython -J-Xmx1g -m pip install pillow >>> [33mDEPRECATION: A future version of pip will drop support for Python >>> 2.7. [0m >>> Collecting pillow >>> Using cached >>> https://files.pythonhosted.org/packages/b3/d0/a20d8440b71adfbf133452d4f6e0fe80de2df7c2578c9b498fb812083383/Pillow-6.2.2.tar.gz >>> [31m ERROR: Complete output from command python setup.py egg_info: [0m >>> [31m ERROR: Traceback (most recent call last): >>> File "<string>", line 1, in <module> >>> File >>> "C:\Users\RGISRA~1\AppData\Local\Temp\pip-install-ctmgop\pillow\setup.py", >>> line 25, in <module> >>> import mp_compile >>> File "mp_compile.py", line 11, in <module> >>> from multiprocessing import Pool, cpu_count >>> File >>> "C:\Tools\jython2.7.2\Lib\site-packages\multiprocessing\__init__.py", line >>> 64, in <module> >>> import multiprocessing.patch >>> File >>> "C:\Tools\jython2.7.2\Lib\site-packages\multiprocessing\patch.py", line 58, >>> in <module> >>> class ConditionPatch(object): >>> File >>> "C:\Tools\jython2.7.2\Lib\site-packages\multiprocessing\patch.py", line 61, >>> in ConditionPatch >>> notify_all = threading._Condition.notifyAll.im_func >>> AttributeError: 'module' object has no attribute '_Condition' >>> ---------------------------------------- [0m >>> [31mERROR: Command "python setup.py egg_info" failed with error code 1 >>> in C:\Users\RGISRA~1\AppData\Local\Temp\pip-install-ctmgop\pillow\ [0m >>> [33mWARNING: You are using pip version 19.1, however version 20.3.4 is >>> available. >>> You should consider upgrading via the 'pip install --upgrade pip' >>> command. [0m >>> >>> ---------------------------------------------------------------------------------------------- >>> >>> Does any one able to install pillow on jython ? Or is it a pillow issue >>> ? Or my fault ? >>> >>> Thank you all for your kind help ! >>> >>> Best regards, >>> >>> Régis Ramillien >>> _______________________________________________ >>> Jython-users mailing list >>> Jyt...@li... >>> https://lists.sourceforge.net/lists/listinfo/jython-users >>> >> >> >> -- >> >> Jeff Mitchell >> >> Sr Application Architect >> >> Zayo | Our Fiber Fuels Global Innovation >> >> 1821 30th Street | Unit A | Boulder, CO 80301 >> >> Desk: 999.999.9999 | Cell: 999.999.9999 >> >> jef...@za... >> >> Purpose <http://zayo.is/signature-purpose> | Network Map >> <http://zayo.is/signature-network> | LinkedIn >> <http://zayo.is/signature-linkedin> | Twitter >> <http://zayo.is/signature-twitter> >> >> This communication is the property of Zayo and may contain confidential >> or privileged information. If you have received this communication in >> error, please promptly notify the sender by reply e-mail and destroy all >> copies of the communication and any attachments. >> >> >> He who dies with the best barbecue sauce, wins. >> > _______________________________________________ > Jython-users mailing list > Jyt...@li... > https://lists.sourceforge.net/lists/listinfo/jython-users > |