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

Add scikit-learn dependency to pyproject.toml #78

Merged
merged 3 commits into from
Nov 14, 2024

Conversation

timothyas
Copy link
Contributor

anemoi-graphs requires scikit-learn, e.g. in anemoi.graphs.utils:

from sklearn.neighbors import NearestNeighbors

but this package is not included in the pyproject.toml, so I got an ImportError right after installing anemoi-graphs. This very simple PR adds this dependency.

@FussyDuck
Copy link

FussyDuck commented Nov 13, 2024

CLA assistant check
All committers have signed the CLA.

Copy link
Member

@mchantry mchantry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution!

@JPXKQX JPXKQX merged commit ef2839a into ecmwf:develop Nov 14, 2024
18 of 19 checks passed
@timothyas
Copy link
Contributor Author

No problem! Thank you for opening all of this code up to the community!

@timothyas timothyas deleted the bugfix/sklearn-dependency branch November 14, 2024 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants