jpy-consortium / jpy

Apache License 2.0
71 stars 17 forks source link

Delay resolving super classes until referenced #146

Closed jmao-denver closed 4 months ago

jmao-denver commented 5 months ago

Fixes #142

  1. be able to generate Python types from Java classes with complicated cyclic references
  2. fix a reference counting issue when a new Python type fails to finalize
  3. fix the Python tests and disable the Java tests due to previous changes (years ago) to enable auto PyObjects cleanup in Java.
  4. add a limited GH check workflow to run the Python tests on Linux
  5. add two new Python test cases
cpwright commented 5 months ago

We should attempt to add a unit test for this. If we understand have a deep enough understanding of the underlying problem, I expect we could have simple fixture classes to demonstrate it.

niloc132 commented 5 months ago

Worth noting that we don't run jpy tests at this time as part of CI or releases, they don't consistently pass enough to be useful. Deephaven-core has its own modified suite that we run instead.