-
Notifications
You must be signed in to change notification settings - Fork 31
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
Qiime2-2024.5 and empress - scikit-bio issue #566
Comments
This is news to me -- thank you for bringing it up. It is strange that installing empress downgrades these packages, since its requirements do not impose any explicit restrictions on the versions of scikit-bio or scipy: Lines 44 to 48 in cc3975a
This suggests to me that something is up with one of its dependencies. To test, I installed a fresh QIIME 2 2024.5 environment, then installed empress into this environment. I observed the same downgrades you mention -- from scikit-bio 0.6.0 to 0.5.9, and from scipy 1.13.0 to 1.10.1. Log 1: downgrading
This log confirmed that I could reproduce the problem, but it was not very helpful for debugging. What helped was, after the downgrades, trying to upgrade the packages in question, and then seeing what pip complained about: Log 2: trying to upgrade scikit-bio and seeing what happens
Looks like the problematic packages here are deblur and iow.
Solution: upgrading iowAs far as I can tell, the cause of the downgrades is iow 1.0.5. To test this, I again set up a fresh Q2 2024.5 environment, then upgraded iow 1.0.5 to iow 1.0.7 within that environment ( I am not sure of the implications of upgrading iow 1.0.5 to 1.0.7, but it does not look like it should break anything (copying @wasade for reference). Hopefully, future versions of QIIME 2 will use the fixed version of iow, which should resolve this particular problem. (But for now, I think just upgrading iow as shown above before installing empress should fix the problem. You can probably also just manually upgrade scikit-bio / scipy to fix an existing Q2 environment, also.) Log 3: upgrading iow, then installing empress
|
Hi @fedarko Since the same issue occured also with q2-gemelli, I installed gemelli after iow update, and this worked now also without any downgrade issues for scipy and scikit-bio. Thank you again for your quick help! |
Hi @wasade and @fedarko Then I installed empress and gemelli No problems so far :-) If anyone will apply the same workaround, I would very much appreciate a short comment to be sure that no other problems have been introduced. Best, |
Hello,
I was using empress as a visualizer for phylogenetic trees produced in qiime2 releases up to v. 2024.2. It seems that empress is to some extent incompatible to q2-2024.5 releases as it downgrades scikit-bio-0.5.9 scipy-1.10.1 to previous versions. A post has been opend in q2 forum: https://forum.qiime2.org/t/qiime2-library-compatibility/31620
Since I am not sure whether you are aware of this issue, I would like to open this issue here and ask if you can offer a solution here?
Thanks again for you great tree viewer!
Best,
The text was updated successfully, but these errors were encountered: