Closed morales-cmd closed 8 months ago
I think plotnine is the only package that directly depends on mizani. The latest version of plotnine (released before) requires mizani<0.10.0.
I thought I had made it unlikely that this would happen.
To add detail here, version 0.10.0 of mizani is incompatible with Databricks runtimes as well, so the import of plotnine fails. Specifically, I tested this on Databricks Runtime versions 12.1 ML and 11.3.
The specific error returned is
ImportError: cannot import name 'multitype_sort' from 'mizani.utils' (/local_disk0/.ephemeral_nfs/cluster_libraries/python/lib/python3.9/site-packages/mizani/utils.py)
Forcing a downgraded install of mizani==0.9.2 does resolve the issue. Thanks @morales-cmd for this suggestion.
And thanks @has2k1 for the awesome plotnine package!
Latest release 0.10.0 is incompatible with some other dependencies (I spotted it while working on plantcv package). To fix it I needed to downgrade to 0.9.2. Not sure if you are interested in fixing that, just wanted to mention it.