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

Cannot use pyhecdss with Numpy >= 2 #35

Open
bzindovic opened this issue Sep 28, 2024 · 2 comments
Open

Cannot use pyhecdss with Numpy >= 2 #35

bzindovic opened this issue Sep 28, 2024 · 2 comments

Comments

@bzindovic
Copy link

bzindovic commented Sep 28, 2024

  • pyhecdss version: 1.4.0+2.g9d14b63
  • Python version: 3.11
  • Operating System: Windows 10 64-bit

Description

For now, it seems that pyhecdss works with numpy < 2 and I have to downgrade numpy to 1.26.4 (it seems to be the last working for me). As Numpy version 2 introduces some breaking changes, are there any plan to support it?

What I Did

I did a simple import of the package:

import pyhecdss

and it fails immediately with the following output:

A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.1.1 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.
@bzindovic bzindovic changed the title Cannot usepyhecdss with Numpy >= 2 Cannot use pyhecdss with Numpy >= 2 Sep 28, 2024
@kjnam
Copy link
Member

kjnam commented Oct 4, 2024

We are aware of the issue, and we will work on it soon. Thanks for reporting the issue.

@dwr-psandhu
Copy link
Collaborator

Till then the workaround is to pin python<3.12 and numpy<2

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

No branches or pull requests

3 participants