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

Fix numpy upgrade to 2.0.0 BUFSIZE import error #5680

Merged
merged 3 commits into from
Jun 18, 2024

Conversation

Yejing-Lai
Copy link
Contributor

Numpy 2.0.0 removed the BUFSIZE API, replacing it with 'numpy._core.umath.BUFSIZE'.

The minimum numpy version supported by the new code is 1.26.1. If you need to support the lower numpy version, please tell me and we can add another path.

@Yejing-Lai Yejing-Lai requested a review from mrwyattii as a code owner June 18, 2024 07:38
@tjruwase tjruwase requested review from costin-eseanu and removed request for mrwyattii June 18, 2024 13:24
@tjruwase
Copy link
Contributor

@Yejing-Lai, thanks for the PR. Please add support for older numpy versions.

@tjruwase tjruwase requested review from adk9 and removed request for costin-eseanu June 18, 2024 13:25
@Yejing-Lai
Copy link
Contributor Author

@Yejing-Lai, thanks for the PR. Please add support for older numpy versions.

Added older version support. please kindly review. Thanks~

@loadams loadams enabled auto-merge June 18, 2024 17:23
@loadams loadams added this pull request to the merge queue Jun 18, 2024
@loadams loadams removed this pull request from the merge queue due to a manual request Jun 18, 2024
@loadams loadams merged commit 4000cee into microsoft:master Jun 18, 2024
12 checks passed
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 this pull request may close these issues.

5 participants