Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spotted incompatibility problem #33

Closed
morales-cmd opened this issue Aug 9, 2023 · 2 comments
Closed

Spotted incompatibility problem #33

morales-cmd opened this issue Aug 9, 2023 · 2 comments

Comments

@morales-cmd
Copy link

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.

@has2k1
Copy link
Owner

has2k1 commented Aug 12, 2023

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.

@has2k1 has2k1 closed this as completed Aug 12, 2023
@has2k1 has2k1 reopened this Aug 12, 2023
@ghost
Copy link

ghost commented Aug 16, 2023

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants