Skip to content

Navigation Menu

Sign in
Sign up

GH-51301: [Python] Fix NumPy and pandas nightly warnings - #51309

Open
akashchamp wants to merge 1 commit into
apache:main from
akashchamp:GH-51301-fix-python-nightly-warnings
Open

GH-51301: [Python] Fix NumPy and pandas nightly warnings #51309
akashchamp wants to merge 1 commit into
apache:main from
akashchamp:GH-51301-fix-python-nightly-warnings

Conversation

@akashchamp

@akashchamp akashchamp commented Sep 11, 2026
edited by github-actions Bot
Loading

Copy link
Copy Markdown

Rationale for this change

Fixes: #51301.

NumPy and pandas nightly builds emit deprecation warnings from PyArrow tests, which obscures compatibility signals.

What changes are included in this PR?

This updates pandas datetime accessors and Timestamp parsing, requests versioned DLPack exports outside legacy-behavior coverage, captures the expected warning where legacy DLPack behavior is intentionally tested, scopes intentional generic NumPy-unit warnings, and makes the pandas comparison and timedelta inputs explicit.

Are these changes tested?

  • Manually exercised the affected NumPy/Pandas conversions and DLPack exports with warnings treated as errors, including versioned and legacy DLPack behavior.
  • Focused affected tests: 21 passed under NumPy 2.6.0.dev0 and pandas 3.1.0.dev0.
  • The unfiltered focused run passed and reported only the existing timezone Series.values Pandas4Warning tracked separately in [Python] Update pandas->pyarrow conversion for the .values deprecation in pandas #51302 . That exact warning was filtered solely for the -W error validation command; this PR does not suppress it.

Are there any user-facing changes?

No.

used codex with pr development

Copy link
Copy Markdown

⚠️ GitHub issue #51301 has been automatically assigned in GitHub to PR creator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@AlenkaF AlenkaF Awaiting requested review from AlenkaF AlenkaF is a code owner
@raulcd raulcd Awaiting requested review from raulcd raulcd is a code owner
@rok rok Awaiting requested review from rok rok is a code owner

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

[Python] Fix deprecation warnings in the tests with numpy/pandas nightly

1 participant

AltStyle によって変換されたページ (->オリジナル) /