id,node_id,number,title,user,state,locked,assignee,milestone,comments,created_at,updated_at,closed_at,author_association,active_lock_reason,draft,pull_request,body,reactions,performed_via_github_app,state_reason,repo,type
2270269009,I_kwDOAMm_X86HUY5R,8984,Nightly Hypothesis tests failed,41898282,open,0,,,0,2024-04-30T00:32:21Z,2024-05-04T00:28:46Z,,CONTRIBUTOR,,,,"[Workflow Run URL](https://github.com/pydata/xarray/actions/runs/8946425306)
Python 3.12 Test Summary
```
properties/test_index_manipulation.py::DatasetTest::runTest: DeprecationWarning: Deleting a single level of a MultiIndex is deprecated. Previously, this deleted all levels of a MultiIndex. Please also drop the following variables: {'3'} to avoid an error in the future.
Falsifying example:
state = DatasetStateMachine()
state.init_ds(var=Variable(
data=array(['1969-12-31T23:59:59.999978227', '1970-01-01T00:00:00.000000006'],
dtype='datetime64[ns]'),
dims=['É'],
attrs={},
))
state.assert_invariants()
Draw 1: ['É']
> drop_dims: ['É']
state.drop_dims(data=data(...))
state.assert_invariants()
adding dimension coordinate 0
state.add_dim_coord(var=Variable(data=array([4, 0], dtype='timedelta64[ns]'), dims=['0'], attrs={}))
state.assert_invariants()
adding dimension coordinate 6
state.add_dim_coord(var=Variable(
data=array([ 65536, 281474976776448], dtype=uint64),
dims=['6'],
attrs={},
))
state.assert_invariants()
Draw 2: '0'
> renaming 0 to ž
state.rename_vars(data=data(...), newname='ž')
state.assert_invariants()
Draw 3: '6'
> resetting 6
state.reset_index(data=data(...))
state.assert_invariants()
Draw 4: ['0', '6']
> drop_dims: ['0', '6']
state.drop_dims(data=data(...))
state.assert_invariants()
adding dimension coordinate 1
state.add_dim_coord(var=Variable(
data=array([ 72113669181473025, 1024, 18446744073709551614],
dtype=uint64),
dims=['1'],
attrs={},
))
state.assert_invariants()
Draw 5: ['1']
> drop_dims: ['1']
state.drop_dims(data=data(...))
state.assert_invariants()
adding dimension coordinate Ż
state.add_dim_coord(var=Variable(
data=array([0]),
dims=['Ż'],
attrs={'': array([65539, 65539], dtype=uint64),
'2': array(['331191', '331191'], dtype='>M8[Y]'),
'Ż': ''},
))
state.assert_invariants()
Draw 6: ['Ż']
> stacking ['Ż'] as 3
state.stack(create_index=True, data=data(...), newname='3')
state.assert_invariants()
Draw 7: '3'
> renaming 3 to 2
state.rename_vars(data=data(...), newname='2')
state.assert_invariants()
Draw 8: ['3']
> drop_dims: ['3']
state.drop_dims(data=data(...))
state.teardown()
Explanation:
These lines were always and only run by failing examples:
/home/runner/work/xarray/xarray/properties/test_index_manipulation.py:174
/home/runner/work/xarray/xarray/xarray/core/dataset.py:5928
/home/runner/work/xarray/xarray/xarray/core/dataset.py:5929
/home/runner/work/xarray/xarray/xarray/core/dataset.py:5932
/home/runner/work/xarray/xarray/xarray/core/indexes.py:1326
/home/runner/work/xarray/xarray/xarray/core/indexes.py:1327
You can reproduce this example by temporarily adding @reproduce_failure('6.100.2', b'AXicVY7dEcIwDIMlO0l5YRqOztEXFugi3RyQnZIG3+XH+hJLgHMler3uO37ViA0B3KJ1BwoHRYGgX/2FSP5pTE1HO6+LVv5sJQYVHQI0Jrd4YiE9ZEo+h+GBT683z9E2jKZkac+I7ZxSZSetEpMM1FYzcc66BctsCtklbV/auAr5') as a decorator on your test case
```
","{""url"": ""https://api.github.com/repos/pydata/xarray/issues/8984/reactions"", ""total_count"": 2, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 1, ""eyes"": 1}",,,13221727,issue
2189649243,I_kwDOAMm_X86Cg2Vb,8844,⚠️ Nightly upstream-dev CI failed ⚠️,41898282,open,0,,,15,2024-03-16T00:20:55Z,2024-05-04T00:20:57Z,,CONTRIBUTOR,,,,"[Workflow Run URL](https://github.com/pydata/xarray/actions/runs/8946348999)
Python 3.12 Test Summary
```
xarray/tests/test_array_api.py::test_arithmetic: AttributeError: '_DType' object has no attribute 'type'
xarray/tests/test_array_api.py::test_aggregation: AttributeError: '_DType' object has no attribute 'kind'
xarray/tests/test_array_api.py::test_aggregation_skipna: AttributeError: '_DType' object has no attribute 'type'
xarray/tests/test_array_api.py::test_astype: AttributeError: type object 'numpy.int64' has no attribute '_np_dtype'
xarray/tests/test_array_api.py::test_broadcast: AttributeError: '_DType' object has no attribute 'type'
xarray/tests/test_array_api.py::test_broadcast_during_arithmetic: AttributeError: '_DType' object has no attribute 'type'
xarray/tests/test_array_api.py::test_concat: TypeError: Cannot interpret 'Array([[ 1., 2., 3.],
[ 4., 5., nan]], dtype=array_api_strict.float64)' as a data type
xarray/tests/test_array_api.py::test_indexing: AttributeError: '_DType' object has no attribute 'type'
xarray/tests/test_array_api.py::test_properties: AttributeError: 'DataArray' object has no attribute 'nbytes'
xarray/tests/test_array_api.py::test_reorganizing_operation: AttributeError: '_DType' object has no attribute 'type'
xarray/tests/test_array_api.py::test_stack: AttributeError: '_DType' object has no attribute 'type'
xarray/tests/test_array_api.py::test_unstack: AttributeError: '_DType' object has no attribute 'type'
xarray/tests/test_array_api.py::test_where: TypeError: Cannot interpret 'Array(1, dtype=array_api_strict.int64)' as a data type
xarray/tests/test_cftime_offsets.py::test_date_range_like[2020-02-01--1YE-FEB-noleap-gregorian-True-2020-02-29-True]: AssertionError: assert 11 == 12
+ where 11 = len(DatetimeIndex(['2019-02-28', '2018-02-28', '2017-02-28', '2016-02-29',\n '2015-02-28', '2014-02-28', '201...2-29',\n '2011-02-28', '2010-02-28', '2009-02-28'],\n dtype='datetime64[ns]', freq='-1YE-FEB'))
xarray/tests/test_cftime_offsets.py::test_cftime_range_same_as_pandas[-1ME-2000-2000]: AssertionError:
Arrays are not equal
(shapes (1,), (0,) mismatch)
ACTUAL: array(['2000-01-31T00:00:00.000000000'], dtype='datetime64[ns]')
DESIRED: array([], dtype='datetime64[ns]')
xarray/tests/test_cftime_offsets.py::test_cftime_range_same_as_pandas[-1ME-2000-2001]: AssertionError:
Arrays are not equal
(shapes (13,), (12,) mismatch)
ACTUAL: array(['2001-01-31T00:00:00.000000000', '2000-12-31T00:00:00.000000000',
'2000-11-30T00:00:00.000000000', '2000-10-31T00:00:00.000000000',
'2000-09-30T00:00:00.000000000', '2000-08-31T00:00:00.000000000',...
DESIRED: array(['2000-12-31T00:00:00.000000000', '2000-11-30T00:00:00.000000000',
'2000-10-31T00:00:00.000000000', '2000-09-30T00:00:00.000000000',
'2000-08-31T00:00:00.000000000', '2000-07-31T00:00:00.000000000',...
xarray/tests/test_cftime_offsets.py::test_cftime_range_same_as_pandas[-1ME-2001-2001]: AssertionError:
Arrays are not equal
(shapes (1,), (0,) mismatch)
ACTUAL: array(['2001-01-31T00:00:00.000000000'], dtype='datetime64[ns]')
DESIRED: array([], dtype='datetime64[ns]')
xarray/tests/test_cftime_offsets.py::test_cftime_range_same_as_pandas[-1YE-2000-2000]: AssertionError:
Arrays are not equal
(shapes (1,), (0,) mismatch)
ACTUAL: array(['2000-12-31T00:00:00.000000000'], dtype='datetime64[ns]')
DESIRED: array([], dtype='datetime64[ns]')
xarray/tests/test_cftime_offsets.py::test_cftime_range_same_as_pandas[-1YE-2000-2001]: AssertionError:
Arrays are not equal
(shapes (2,), (1,) mismatch)
ACTUAL: array(['2001-12-31T00:00:00.000000000', '2000-12-31T00:00:00.000000000'],
dtype='datetime64[ns]')
DESIRED: array(['2000-12-31T00:00:00.000000000'], dtype='datetime64[ns]')
xarray/tests/test_cftime_offsets.py::test_cftime_range_same_as_pandas[-1YE-2001-2001]: AssertionError:
Arrays are not equal
(shapes (1,), (0,) mismatch)
ACTUAL: array(['2001-12-31T00:00:00.000000000'], dtype='datetime64[ns]')
DESIRED: array([], dtype='datetime64[ns]')
xarray/tests/test_dtypes.py::test_maybe_promote[a-expected0]: SystemError: returned a result with an exception set
xarray/tests/test_duck_array_ops.py::TestOps::test_where_type_promotion: AssertionError: assert dtype('float64') ==
+ where dtype('float64') = array([ 1., nan]).dtype
+ and = np.float32
xarray/tests/test_duck_array_ops.py::TestDaskOps::test_where_type_promotion: AssertionError: assert dtype('float64') ==
+ where dtype('float64') = array([ 1., nan]).dtype
+ and = np.float32
xarray/tests/test_namedarray.py::TestNamedArray::test_real_and_imag: ModuleNotFoundError: No module named 'numpy.array_api'
xarray/tests/test_namedarray.py::TestNamedArray::test_duck_array_class: ModuleNotFoundError: No module named 'numpy.array_api'
xarray/tests/test_namedarray.py::TestNamedArray::test_expand_dims[None-3-expected_shape0-expected_dims0]: ModuleNotFoundError: No module named 'numpy.array_api'
xarray/tests/test_namedarray.py::TestNamedArray::test_expand_dims[Default.token-3-expected_shape1-expected_dims1]: ModuleNotFoundError: No module named 'numpy.array_api'
xarray/tests/test_namedarray.py::TestNamedArray::test_expand_dims[z-3-expected_shape2-expected_dims2]: ModuleNotFoundError: No module named 'numpy.array_api'
xarray/tests/test_namedarray.py::TestNamedArray::test_permute_dims[dims0-expected_sizes0]: ModuleNotFoundError: No module named 'numpy.array_api'
xarray/tests/test_namedarray.py::TestNamedArray::test_permute_dims[dims1-expected_sizes1]: ModuleNotFoundError: No module named 'numpy.array_api'
xarray/tests/test_namedarray.py::TestNamedArray::test_permute_dims[dims2-expected_sizes2]: ModuleNotFoundError: No module named 'numpy.array_api'
xarray/tests/test_namedarray.py::TestNamedArray::test_permute_dims_errors: ModuleNotFoundError: No module named 'numpy.array_api'
xarray/tests/test_namedarray.py::TestNamedArray::test_broadcast_to[broadcast_dims1-3]: ModuleNotFoundError: No module named 'numpy.array_api'
xarray/tests/test_namedarray.py::TestNamedArray::test_broadcast_to[broadcast_dims2-3]: ModuleNotFoundError: No module named 'numpy.array_api'
xarray/tests/test_rolling.py::TestDataArrayRolling::test_rolling_dask_dtype[float32]: AssertionError: assert dtype('float64') == dtype('float32')
+ where dtype('float64') = Size: 24B\ndask.array\nCoordinates:\n * x (x) int64 24B 1 2 3.dtype
+ and dtype('float32') = Size: 12B\narray([1. , 1.5, 2. ], dtype=float32)\nCoordinates:\n * x (x) int64 24B 1 2 3.dtype
xarray/tests/test_strategies.py::TestVariablesStrategy::test_make_strategies_namespace: ImportError: cannot import name 'array_api' from 'numpy' (/home/runner/micromamba/envs/xarray-tests/lib/python3.12/site-packages/numpy/__init__.py). Did you mean: 'array_repr'?
Falsifying example: test_make_strategies_namespace(
self=,
data=data(...),
)
You can reproduce this example by temporarily adding @reproduce_failure('6.100.2', b'AA==') as a decorator on your test case
```
","{""url"": ""https://api.github.com/repos/pydata/xarray/issues/8844/reactions"", ""total_count"": 1, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 1}",,,13221727,issue