-
Notifications
You must be signed in to change notification settings - Fork 12
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
numpy 2.0 breaks import #42
Comments
Hi @williamjameshandley, thanks for reporting this and for showing how you're using fastKDE (very cool)! Good question. I'm not certain yet, but it seems like the switch is inevitable. I've got an un-merged commit that restricts numpy to <2.0 (453625c); would that work as a temporary fix for you in this case? |
That sounds like a sensible temporary fix; we added a temporary numpy <2.0 restriction to anesthetic while pytables and yourselves caught up, but we would like to remove this restriction asap. |
@AdamOrmondroyd and @williamjameshandley - I believe this should now be fixed in v2.1.3 which is available in pypi. Does this fix the problem for your package? |
Looks like it following this merge #44 |
pip installing in a fresh environment no longer works, I believe due to the numpy 2.0 upgrade.
After
python -m venv venv source venv/bin/activate pip install fastkde
I cannot import
fastkde
This is preventing our upgrade to numpy 2.0.
How difficult would it be to upgrade fastkde to numpy 2.0? Otherwise we may need to drop support in anesthetic
The text was updated successfully, but these errors were encountered: