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

CNVkit batch module went through an uncontrolled pandas upgrade which makes it crash #3544

Closed
2 tasks done
priesgo opened this issue Jun 21, 2023 · 0 comments · Fixed by #3651
Closed
2 tasks done
Labels
bug Something isn't working update module

Comments

@priesgo
Copy link
Contributor

priesgo commented Jun 21, 2023

Have you checked the docs?

Description of the bug

When using the module cnvkit/batch with conda the following error is raised:

ImportError: cannot import name 'Int64Index' from 'pandas'

I found that the version 0.9.9 from May 2021 of cnvkit is defined in this line https://github.com/nf-core/modules/blob/master/modules/nf-core/cnvkit/batch/main.nf#L5, but the pandas version in the dependency tree is not controlled, thus as of today latest pandas 2.0.2 gets installed which is incompatible and raises the error above.

An upgrade to cnvkit 0.9.10 seems to fix the issue.

Command used and terminal output

I used this module programmatically.

Relevant files

No response

System information

No response

@priesgo priesgo added bug Something isn't working update module labels Jun 21, 2023
@priesgo priesgo mentioned this issue Jun 22, 2023
14 tasks
@adamrtalbot adamrtalbot mentioned this issue Jul 19, 2023
14 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working update module
Projects
None yet
1 participant