Skip to content

CI: Suppress numpy 'generic' timedelta deprecation from pandas - #12468

Merged
crusaderky merged 1 commit into
dask:mainfrom
crusaderky:fix-nightly-timedelta-deprecation
Jun 19, 2026
Merged

crusaderky merged 1 commit into
dask:mainfrom
crusaderky:fix-nightly-timedelta-deprecation

Conversation

@crusaderky

@crusaderky crusaderky commented Jun 19, 2026 •

Copy link
Copy Markdown
Collaborator

NumPy nightly (2.6.0.dev0+) deprecated the 'generic' unit for timedelta64. pandas internally triggers this DeprecationWarning when constructing Timedelta objects (e.g. pd.Timedelta('1D')).

The warning originates from pandas Cython code (pandas._libs.tslibs.timedeltas).
Hopefully we'll be able to revert this shortly.

@crusaderky crusaderky added upstream tests Unit tests and/or continuous integration labels Jun 19, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Unit Test Results

See test report for an extended history of previous test failures. This is useful for diagnosing flaky tests.

     25 files  ±0       25 suites  ±0   6h 44m 22s ⏱️ - 12m 57s
 19 911 tests ±0   18 478 ✅ ±0   1 433 💤 ±0  0 ❌ ±0 
379 281 runs  ±0  332 015 ✅ +6  47 266 💤  - 6  0 ❌ ±0 

Results for commit a2b764f. ± Comparison against base commit a235ebd.

@crusaderky
crusaderky merged commit fb9e26c into dask:main Jun 19, 2026
34 checks passed
@crusaderky
crusaderky deleted the fix-nightly-timedelta-deprecation branch June 19, 2026 07:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tests Unit tests and/or continuous integration upstream

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant