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

Remove numpy asfarray and float_ usage to support v2.0 deprecation #934

Merged
merged 1 commit into from
Jan 16, 2025

Conversation

suhas-r
Copy link
Contributor

@suhas-r suhas-r commented Dec 20, 2024

np.asfarray+np.float_ were removed in Numpy-2.0.0 (release notes), in favor of using np.asarray / np.float64, respectively. np.asarray + np.float64 are available i existing numpy>=1.24.2 versions currently required by the cnvkit conda env.

cnvkit otherwise functions properly withnumpy-2.* and python-3.12 after updating these methods.

@suhas-r suhas-r force-pushed the support-numpy-2.0 branch from d1330d4 to 4471d04 Compare January 5, 2025 00:55
@suhas-r suhas-r changed the title Remove numpy.asfarray usage to support v2.0 deprecation Remove numpy asfarray and float_ usage to support v2.0 deprecation Jan 5, 2025
@etal etal self-requested a review January 16, 2025 06:48
@etal etal merged commit 5cb6aea into etal:master Jan 16, 2025
8 of 10 checks passed
@etal
Copy link
Owner

etal commented Jan 16, 2025

Fantastic, thanks for the update!

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

Successfully merging this pull request may close these issues.

2 participants