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

Specify required version of numpy #845

Closed
maxnoe opened this issue Mar 10, 2023 · 1 comment · Fixed by #848
Closed

Specify required version of numpy #845

maxnoe opened this issue Mar 10, 2023 · 1 comment · Fixed by #848

Comments

@maxnoe
Copy link

maxnoe commented Mar 10, 2023

iminuit is currently missing a version requirement on numpy but requires a relatively recent version.

This leads to import errors when pinning the numpy version to an older version, since pip and conda cannot know that newer versions of iminuit are not compatible.

The specific error I encountered is:

ImportError: cannot import name 'NDArray' from 'numpy.typing' (/home/mnoethe/.local/conda/envs/icrc2021-pipelines/lib/python3.8/site-packages/numpy/typing/__init__.py)

which was introduced in versions 1.21, so at this moment, this would be the minimum required numpy version iminuit needs to require.

@HDembinski
Copy link
Member

Thanks for reporting this, will be fixed.

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 a pull request may close this issue.

2 participants