pydata / xarray

N-D labeled arrays and datasets in Python
https://xarray.dev
Apache License 2.0
3.63k stars 1.09k forks source link

Nightly Hypothesis tests failed #9698

Open github-actions[bot] opened 3 weeks ago

github-actions[bot] commented 3 weeks ago

Workflow Run URL

Python 3.12 Test Summary ``` properties/test_index_manipulation.py::DatasetTest::runTest: ValueError: Cannot unstack MultiIndex containing duplicates. Make sure entries are unique, e.g., by calling ``.drop_duplicates('0')``, before unstacking. Falsifying example: state = DatasetStateMachine() state.init_ds(var=Variable(data=array(['', '\x000'], dtype=' stacking ['1'] as 0 state.stack(create_index=True, data=data(...), newname='0') state.assert_invariants() Draw 2: '0' > unstacking 0 state.unstack(data=data(...)) state.teardown() Explanation: These lines were always and only run by failing examples: /home/runner/micromamba/envs/xarray-tests/lib/python3.12/site-packages/pandas/core/indexes/multi.py:1199 /home/runner/micromamba/envs/xarray-tests/lib/python3.12/site-packages/pandas/core/indexes/multi.py:1200 /home/runner/micromamba/envs/xarray-tests/lib/python3.12/site-packages/pandas/core/indexes/multi.py:1213 /home/runner/micromamba/envs/xarray-tests/lib/python3.12/site-packages/pandas/core/indexes/multi.py:1319 /home/runner/micromamba/envs/xarray-tests/lib/python3.12/site-packages/pandas/core/indexes/multi.py:154 (and 22 more with settings.verbosity >= verbose) You can reproduce this example by temporarily adding @reproduce_failure('6.115.6', b'AXicY2BgZWRkYGSIYmRgYAAxQICRg4ERwgLSjIzMIAYbAA7CAH4=') as a decorator on your test case ```
mathause commented 3 weeks ago

That's from #8737 and I think the correct behavior. I don't know hypothesis so not sure what to do about this.