Registry Mirror
Skip to content

Conversation

@spencerkclark

Copy link
Copy Markdown
Member

Description

As a result of an upstream change, the test_roundtrip_pandas_dataframe_datetime hypothesis test has started failing. This PR marks it as an expected failure until the related upstream issue (pandas-dev/pandas#65712) is resolved.

Checklist

@github-actions github-actions Bot added the topic-hypothesis Strategies or tests using the hypothesis library label May 28, 2026
@spencerkclark
spencerkclark merged commit f70bc9c into pydata:main May 29, 2026
40 of 41 checks passed
@spencerkclark
spencerkclark deleted the xfail-hypothesis-test branch May 29, 2026 01:44
sdiebolt pushed a commit to sdiebolt/xarray that referenced this pull request Aug 12, 2026
…a#11365)

As a result of an upstream change, the `test_roundtrip_pandas_dataframe_datetime` hypothesis test has started failing.  This PR marks it as an expected failure until the related upstream issue (pandas-dev/pandas#65712) is resolved.
felixonmars added a commit to felixonmars/archriscv-packages that referenced this pull request Sep 14, 2026
Replace the obsolete unsigned-cast backport, already included in v2026.04.0, with upstream PR #11340. NumPy 2.5 raises "Overflow in int64 * timedelta64 multiplication" for the integer NaT sentinel. Backport the scalar decoding fix and explicit datetime units in the affected collection test, omitting the non-applying changelog hunk.

Keep the suite enabled and report the specific generic-timedelta deprecation as a warning, matching newer Arch packaging for pandas 2 with NumPy 2.5. Use b2sums to match the current source array.

Keep generated datetime inputs inside the nanosecond range with room for microsecond truncation and UTC offsets. The remaining property test fails during dataframe_strategy() with OutOfBoundsDatetime and "Python int too large to convert to C long". Upstream PR #11365 marks this test xfail for a different pandas DST issue; correct the input bounds instead of disabling the test.

pydata/xarray@c3a398e
https://github.com/pydata/xarray/blob/v2026.04.0/xarray/coding/variables.py#L355-L369
pydata/xarray#11365
https://archriscv.felixc.at/.status/logs/python-xarray/python-xarray-2026.04.0-1.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic-hypothesis Strategies or tests using the hypothesis library

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test_roundtrip_pandas_dataframe_datetime (tz-aware datetime roundtrip is off by 2h near DST boundaries)

1 participant