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

New version of numpy 1.26.4 incompatibility with np.bool existence #2049

Open
VasLem opened this issue Sep 4, 2024 · 1 comment
Open

New version of numpy 1.26.4 incompatibility with np.bool existence #2049

VasLem opened this issue Sep 4, 2024 · 1 comment

Comments

@VasLem
Copy link

VasLem commented Sep 4, 2024

Describe bug

New version of numpy incompatibility with np.bool leads to an error, when using the history module. A simple modification in the code, wherever np.bool make it np.bool_ , which is actually just one occurrence, fixes the issue. Should I make a pull request for that, or are you planning a new release that would incorporate this little fix?
The specifics on the deprecation can be found starting numpy 1.24

Simple code that reproduces your problem

No need for that

Debug log

No need for that

Bad data proof

No response

yfinance version

0.2.43

Python version

3.10.14

Operating system

No response

@VasLem VasLem changed the title New version of numpy incompatibility with np.bool existence New version of numpy 1.26.4 incompatibility with np.bool existence Sep 4, 2024
@ValueRaider
Copy link
Collaborator

I'm planning a big update to that code but testing will take a few weeks, so you can submit a PR to dev.

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

2 participants