Orekit_jpype 12.2.0 with jpype 1.5.1

Hi,

Just a not that the tool jpype that orekit_jpype uses has been updated, which enables among other things

  • Support for python 3.13
  • Support for (not needed to implement) default methods in interfaces
  • Support for rendering javadoc for java>8, contributed by orekit developer @yzokras

The default methods will be very handy for orekit, not needing to implement default methods in interfaces and a clear model how this will work.

As a side note, the 12.2.0 v is released on pypi since some month. Many thanks to @yzokras .

As another side note, there are some interesting developments in python packaging managers with the “uv” project and “pixi”. Both are providing environments on-the fly, pixi has support also for conda. Both are single-binary installs which then provides all other tools.

To run latest orekit_jpype in a jupyter session without prior installation but uv:

uv tool run --with orekit_jpype --with https://gitlab.orekit.org/orekit/orekit-data.git jupyter lab 

As mentioned before, I do recommend new projects to use orekit_jpype, it is a cleaner API, closer to the java version and more easy to integrate and maintain.

3 Likes

Many thanks @petrus.hyvonen and @yzokras !

Awesome!

These new features in jpype, and also having now a pyproject.toml and support for numpy 2.0, are big deals for the future of this project.

PS: jpype was already able to render javadoc until Java 17 excluded. I only added support for Javadoc HTML files generated from Java 17, which was required for Hipparchus, whose javadoc is now generated from Java 17 since a few months.