Chaquopy version 2.0.0

Posted on

The major version number is incremented due to the following incompatible change:

  • The import hook now only looks up names in Java if they failed to import from Python. This significantly speeds up import of large Python packages. However, it means that importing a name which exists in both languages is no longer reported as an error: instead, the value from Python will be returned.

Other changes:

  • General performance improvements: the Python unit tests now run about 25% faster.
  • Fix a crash on API level 15 caused by the license notification.
  • Remove READ_LOGS permission from the demo app: this was only needed on API level 15, and its Google Play description is too scary.