v.3.0.0
What's Changed
- Replace Jython with Jep to enable use of modern python in checks by @jeanetteclark in #399
Previously, the quality engine used the Java ScriptEngine to execute Python check scripts. The script engine instance used to run these scripts was based on a Jython interpreter. Although this worked fine, Jython is perpetually stuck at supporting python 2.7, which officially lost support from the Python foundation in 2020. Additionally, Jython does not support CPython libraries such as pandas
and numpy
. Being stuck in python 2.7, and not being able to use CPython, severely limits the capabilities of any python check that the engine could run.
Although several options were considered, ultimately we decided to use Jep, since it supports CPython libraries and works with a standard Java install. Along with replacing Jython with Jep in this release, the rest of the metadig ecosystem was also upgraded to support Python 3.x. This included releases for:
With the new support for CPython checks and a modern python version, this release paves the way for data quality checks to be implemented in metadig.
Note that this is a breaking change since metadig can no longer run Python 2.7, and mismatched versions of the various metadig components may result in unexpected errors.
Full Changelog: v.2.5.0...v.3.0.0