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

[Python] NumPy NEP50 introduces deprecation of "value based" promotion of scalars #35853

Closed
danepitkin opened this issue May 31, 2023 · 0 comments · Fixed by #35854
Closed

[Python] NumPy NEP50 introduces deprecation of "value based" promotion of scalars #35853

danepitkin opened this issue May 31, 2023 · 0 comments · Fixed by #35854

Comments

@danepitkin
Copy link
Contributor

Describe the bug, including details regarding any error messages, version, and platform.

See NEP50[1] and the NumPy issue[2] for more details.

One pyarrow test case is displaying the deprecation warnings: test_array.py::test_cast_integers_unsafe.

[1]https://numpy.org/neps/nep-0050-scalar-promotion.html
[2]numpy/numpy#22385

Component(s)

Python

@jorisvandenbossche jorisvandenbossche added this to the 13.0.0 milestone Jun 1, 2023
jorisvandenbossche pushed a commit that referenced this issue Jun 1, 2023
### Rationale for this change

Remove warnings from the pyarrow test suite (preventing them from eventually becoming errors).

### Are these changes tested?

Yes, verified no warnings are displayed.

### Are there any user-facing changes?

No.

* Closes: #35853

Authored-by: Dane Pitkin <dane@voltrondata.com>
Signed-off-by: Joris Van den Bossche <jorisvandenbossche@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants