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

Support for NumPy 2.x #759

Open
censeon opened this issue Nov 28, 2024 · 0 comments
Open

Support for NumPy 2.x #759

censeon opened this issue Nov 28, 2024 · 0 comments

Comments

@censeon
Copy link

censeon commented Nov 28, 2024

Thank you for all the effort you put into maintaining and improving this project – it’s incredibly valuable to the community!

I noticed that when installing VectorBT, the process automatically downgrades NumPy from version 2.x to 1.x. Since NumPy 2.x is now widely adopted and introduces significant improvements, I wanted to kindly ask whether support for NumPy 2.x is planned for an upcoming release.

Steps to Reproduce:

  • Start with a clean environment.
  • Install the latest version of NumPy (e.g., pip install numpy>=2.1.3).
  • Install VectorBT (e.g., pip install vectorbt).

Expected Behavior:
VectorBT installs successfully and retains NumPy 2.x compatibility.

Actual Behavior:
Installing VectorBT results in NumPy being downgraded to 1.x.

Environment:
Python Version: 3.12.3
NumPy Version: 2.1.3 before installation; downgraded to 1.x after.
OS: Ubuntu 24.04

Questions/Requests:
Are there plans to add support for NumPy 2.x in future releases?

Thank you so much for your time and effort. I greatly appreciate the work you do and look forward to any updates or guidance you can provide.

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

1 participant