fiuba08 / robotframework

Automatically exported from code.google.com/p/robotframework
Apache License 2.0
0 stars 0 forks source link

Test with Jython 2.7 betas and fix/workaround possible problems #1730

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It seems like recently, the Jython project has been revived somewhat, as they 
have released a new version of the 2.7 beta in the first time in forever.

Unfortunately we are stuck using jython for the near future, but have a lot of 
issues and troubles essentially maintaining a python 2.5 environment and 
codebase just for the support of Jython.  Jython 2.7 could potentially solve 
most of this.

Would it be possible to investigate if we can incorporate this into 
RobotFramework soon?

Thanks.

~~Eric.

Original issue reported on code.google.com by burraa2...@gmail.com on 6 Jun 2014 at 9:23

GoogleCodeExporter commented 9 years ago
First of all, have you tested RF with Jython 2.7 beta 2? I don't see why it 
wouldn't work. If there are, it would be good to know about them.

I've been actually planning to test Jython 2.7 beta 3 as soon as it is ready. 
It ought to have pip bundled in and would thus be really cool version. It was 
supposed to be out already some time ago, but now the goal is apparently next 
week.

I would also like RF 2.8.5 to be out next week. If we are ready before Jy2.7b3, 
it's probably best we test with b2 instead.

Original comment by pekka.klarck on 7 Jun 2014 at 10:12

GoogleCodeExporter commented 9 years ago
Tested with Jython 2.7 beta 2 got from
http://search.maven.org/remotecontent?filepath=org/python/jython-installer/2.7-b
2/jython-installer-2.7-b2.jar

Findings:

- Many tests for new DateTime library (issue 415) failed due to 
datetime.strptime not supporting %f directive. This was fixed.

- Using Process library "Terminate Process" or "Send Signal To Process" fail 
with "NameError: global name '_subprocess' is not defined". These aren't 
supported by earlier Jython versions either but there the error is more 
informative. This error comes directly from Jython and I don't think it makes 
sense for us to do anything for it at this point.

- Otherwise everything seems to work exactly like with earlier Jython versions. 
No reason why not to update.

Original comment by pekka.klarck on 16 Jun 2014 at 2:45

GoogleCodeExporter commented 9 years ago

Original comment by pekka.klarck on 16 Jun 2014 at 2:46

GoogleCodeExporter commented 9 years ago
Thanks so much Pekka!  

Original comment by burraa2...@gmail.com on 17 Jun 2014 at 3:01