Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⚠️ Nightly upstream-dev CI failed ⚠️ #8091

Closed
github-actions bot opened this issue Aug 20, 2023 · 11 comments · Fixed by #8483
Closed

⚠️ Nightly upstream-dev CI failed ⚠️ #8091

github-actions bot opened this issue Aug 20, 2023 · 11 comments · Fixed by #8483
Labels
CI Continuous Integration tools

Comments

@github-actions
Copy link
Contributor

github-actions bot commented Aug 20, 2023

Workflow Run URL

Python 3.11 Test Summary
xarray/tests/test_backends.py::TestZarrDictStore::test_roundtrip_example_1_netcdf: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestZarrDictStore::test_roundtrip_mask_and_scale[create_unsigned_masked_scaled_data-create_encoded_unsigned_masked_scaled_data]: OverflowError: Python integer 255 out of bounds for int8
xarray/tests/test_backends.py::TestZarrDictStore::test_grid_mapping_and_bounds_are_not_coordinates_in_file: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestZarrDictStore::test_coordinate_variables_after_iris_roundtrip: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestZarrDictStore::test_coordinates_encoding: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestZarrDictStore::test_drop_encoding: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_roundtrip_example_1_netcdf: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_roundtrip_mask_and_scale[create_unsigned_masked_scaled_data-create_encoded_unsigned_masked_scaled_data]: OverflowError: Python integer 255 out of bounds for int8
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_grid_mapping_and_bounds_are_not_coordinates_in_file: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_coordinate_variables_after_iris_roundtrip: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_coordinates_encoding: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_drop_encoding: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_roundtrip_example_1_netcdf: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_roundtrip_mask_and_scale[create_unsigned_masked_scaled_data-create_encoded_unsigned_masked_scaled_data]: OverflowError: Python integer 255 out of bounds for int8
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_grid_mapping_and_bounds_are_not_coordinates_in_file: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_coordinate_variables_after_iris_roundtrip: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_coordinates_encoding: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_drop_encoding: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestZarrKVStoreV3::test_roundtrip_example_1_netcdf: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestZarrKVStoreV3::test_roundtrip_mask_and_scale[create_unsigned_masked_scaled_data-create_encoded_unsigned_masked_scaled_data]: OverflowError: Python integer 255 out of bounds for int8
xarray/tests/test_backends.py::TestZarrKVStoreV3::test_grid_mapping_and_bounds_are_not_coordinates_in_file: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestZarrKVStoreV3::test_coordinate_variables_after_iris_roundtrip: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestZarrKVStoreV3::test_coordinates_encoding: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestZarrKVStoreV3::test_drop_encoding: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestZarrDirectoryStoreV3::test_roundtrip_example_1_netcdf: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestZarrDirectoryStoreV3::test_roundtrip_mask_and_scale[create_unsigned_masked_scaled_data-create_encoded_unsigned_masked_scaled_data]: OverflowError: Python integer 255 out of bounds for int8
xarray/tests/test_backends.py::TestZarrDirectoryStoreV3::test_grid_mapping_and_bounds_are_not_coordinates_in_file: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestZarrDirectoryStoreV3::test_coordinate_variables_after_iris_roundtrip: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestZarrDirectoryStoreV3::test_coordinates_encoding: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestZarrDirectoryStoreV3::test_drop_encoding: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestZarrDirectoryStoreV3FromPath::test_roundtrip_example_1_netcdf: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestZarrDirectoryStoreV3FromPath::test_roundtrip_mask_and_scale[create_unsigned_masked_scaled_data-create_encoded_unsigned_masked_scaled_data]: OverflowError: Python integer 255 out of bounds for int8
xarray/tests/test_backends.py::TestZarrDirectoryStoreV3FromPath::test_grid_mapping_and_bounds_are_not_coordinates_in_file: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestZarrDirectoryStoreV3FromPath::test_coordinate_variables_after_iris_roundtrip: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestZarrDirectoryStoreV3FromPath::test_coordinates_encoding: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestZarrDirectoryStoreV3FromPath::test_drop_encoding: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestScipyInMemoryData::test_zero_dimensional_variable: ModuleNotFoundError: No module named 'cftime'
xarray/tests/test_backends.py::TestScipyInMemoryData::test_write_store: ModuleNotFoundError: No module named 'cftime'
xarray/tests/test_backends.py::TestScipyInMemoryData::test_roundtrip_test_data: ModuleNotFoundError: No module named 'cftime'
xarray/tests/test_backends.py::TestScipyInMemoryData::test_load: ModuleNotFoundError: No module named 'cftime'
xarray/tests/test_backends.py::TestScipyInMemoryData::test_dataset_compute: ModuleNotFoundError: No module named 'cftime'
xarray/tests/test_backends.py::TestScipyInMemoryData::test_roundtrip_numpy_datetime_data: ModuleNotFoundError: No module named 'cftime'
xarray/tests/test_backends.py::TestScipyInMemoryData::test_roundtrip_example_1_netcdf: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestScipyInMemoryData::test_orthogonal_indexing: ModuleNotFoundError: No module named 'cftime'
xarray/tests/test_backends.py::TestScipyInMemoryData::test_vectorized_indexing: ModuleNotFoundError: No module named 'cftime'
xarray/tests/test_backends.py::TestScipyInMemoryData::test_vectorized_indexing_negative_step: ModuleNotFoundError: No module named 'cftime'
xarray/tests/test_backends.py::TestScipyInMemoryData::test_isel_dataarray: ModuleNotFoundError: No module named 'cftime'
xarray/tests/test_backends.py::TestScipyInMemoryData::test_array_type_after_indexing: ModuleNotFoundError: No module named 'cftime'
xarray/tests/test_backends.py::TestScipyInMemoryData::test_ondisk_after_print: ModuleNotFoundError: No module named 'cftime'
xarray/tests/test_backends.py::TestScipyInMemoryData::test_roundtrip_mask_and_scale[create_unsigned_masked_scaled_data-create_encoded_unsigned_masked_scaled_data]: OverflowError: Python integer 255 out of bounds for int8
xarray/tests/test_backends.py::TestScipyInMemoryData::test_grid_mapping_and_bounds_are_not_coordinates_in_file: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestScipyInMemoryData::test_coordinate_variables_after_iris_roundtrip: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestScipyInMemoryData::test_coordinates_encoding: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestScipyInMemoryData::test_encoding_kwarg_dates: ModuleNotFoundError: No module named 'cftime'
xarray/tests/test_backends.py::TestScipyInMemoryData::test_append_write: ModuleNotFoundError: No module named 'cftime'
xarray/tests/test_backends.py::TestScipyInMemoryData::test_append_overwrite_values: ModuleNotFoundError: No module named 'cftime'
xarray/tests/test_backends.py::TestScipyFileObject::test_zero_dimensional_variable: ModuleNotFoundError: No module named 'cftime'
xarray/tests/test_backends.py::TestScipyFileObject::test_write_store: ModuleNotFoundError: No module named 'cftime'
xarray/tests/test_backends.py::TestScipyFileObject::test_roundtrip_test_data: ModuleNotFoundError: No module named 'cftime'
xarray/tests/test_backends.py::TestScipyFileObject::test_load: ModuleNotFoundError: No module named 'cftime'
xarray/tests/test_backends.py::TestScipyFileObject::test_dataset_compute: ModuleNotFoundError: No module named 'cftime'
xarray/tests/test_backends.py::TestScipyFileObject::test_roundtrip_numpy_datetime_data: ModuleNotFoundError: No module named 'cftime'
xarray/tests/test_backends.py::TestScipyFileObject::test_roundtrip_example_1_netcdf: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestScipyFileObject::test_orthogonal_indexing: ModuleNotFoundError: No module named 'cftime'
xarray/tests/test_backends.py::TestScipyFileObject::test_vectorized_indexing: ModuleNotFoundError: No module named 'cftime'
xarray/tests/test_backends.py::TestScipyFileObject::test_vectorized_indexing_negative_step: ModuleNotFoundError: No module named 'cftime'
xarray/tests/test_backends.py::TestScipyFileObject::test_isel_dataarray: ModuleNotFoundError: No module named 'cftime'
xarray/tests/test_backends.py::TestScipyFileObject::test_array_type_after_indexing: ModuleNotFoundError: No module named 'cftime'
xarray/tests/test_backends.py::TestScipyFileObject::test_ondisk_after_print: ModuleNotFoundError: No module named 'cftime'
xarray/tests/test_backends.py::TestScipyFileObject::test_roundtrip_mask_and_scale[create_unsigned_masked_scaled_data-create_encoded_unsigned_masked_scaled_data]: OverflowError: Python integer 255 out of bounds for int8
xarray/tests/test_backends.py::TestScipyFileObject::test_grid_mapping_and_bounds_are_not_coordinates_in_file: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestScipyFileObject::test_coordinate_variables_after_iris_roundtrip: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestScipyFileObject::test_coordinates_encoding: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestScipyFileObject::test_encoding_kwarg_dates: ModuleNotFoundError: No module named 'cftime'
xarray/tests/test_backends.py::TestScipyFileObject::test_append_write: ModuleNotFoundError: No module named 'cftime'
xarray/tests/test_backends.py::TestScipyFileObject::test_append_overwrite_values: ModuleNotFoundError: No module named 'cftime'
xarray/tests/test_backends.py::TestScipyFilePath::test_zero_dimensional_variable: ModuleNotFoundError: No module named 'cftime'
xarray/tests/test_backends.py::TestScipyFilePath::test_write_store: ModuleNotFoundError: No module named 'cftime'
xarray/tests/test_backends.py::TestScipyFilePath::test_roundtrip_test_data: ModuleNotFoundError: No module named 'cftime'
xarray/tests/test_backends.py::TestScipyFilePath::test_load: ModuleNotFoundError: No module named 'cftime'
xarray/tests/test_backends.py::TestScipyFilePath::test_dataset_compute: ModuleNotFoundError: No module named 'cftime'
xarray/tests/test_backends.py::TestScipyFilePath::test_roundtrip_numpy_datetime_data: ModuleNotFoundError: No module named 'cftime'
xarray/tests/test_backends.py::TestScipyFilePath::test_roundtrip_example_1_netcdf: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestScipyFilePath::test_orthogonal_indexing: ModuleNotFoundError: No module named 'cftime'
xarray/tests/test_backends.py::TestScipyFilePath::test_vectorized_indexing: ModuleNotFoundError: No module named 'cftime'
xarray/tests/test_backends.py::TestScipyFilePath::test_vectorized_indexing_negative_step: ModuleNotFoundError: No module named 'cftime'
xarray/tests/test_backends.py::TestScipyFilePath::test_isel_dataarray: ModuleNotFoundError: No module named 'cftime'
xarray/tests/test_backends.py::TestScipyFilePath::test_array_type_after_indexing: ModuleNotFoundError: No module named 'cftime'
xarray/tests/test_backends.py::TestScipyFilePath::test_ondisk_after_print: ModuleNotFoundError: No module named 'cftime'
xarray/tests/test_backends.py::TestScipyFilePath::test_roundtrip_mask_and_scale[create_unsigned_masked_scaled_data-create_encoded_unsigned_masked_scaled_data]: OverflowError: Python integer 255 out of bounds for int8
xarray/tests/test_backends.py::TestScipyFilePath::test_grid_mapping_and_bounds_are_not_coordinates_in_file: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestScipyFilePath::test_coordinate_variables_after_iris_roundtrip: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestScipyFilePath::test_coordinates_encoding: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestScipyFilePath::test_encoding_kwarg_dates: ModuleNotFoundError: No module named 'cftime'
xarray/tests/test_backends.py::TestScipyFilePath::test_append_write: ModuleNotFoundError: No module named 'cftime'
xarray/tests/test_backends.py::TestScipyFilePath::test_append_overwrite_values: ModuleNotFoundError: No module named 'cftime'
xarray/tests/test_backends.py::TestScipyFilePath::test_roundtrip_example_1_netcdf_gz: ModuleNotFoundError: No module named 'cftime'
xarray/tests/test_backends.py::TestGenericNetCDFData::test_zero_dimensional_variable: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestGenericNetCDFData::test_roundtrip_test_data: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestGenericNetCDFData::test_load: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestGenericNetCDFData::test_dataset_compute: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestGenericNetCDFData::test_pickle: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestGenericNetCDFData::test_pickle_dataarray: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestGenericNetCDFData::test_dataset_caching: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestGenericNetCDFData::test_roundtrip_None_variable: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestGenericNetCDFData::test_roundtrip_object_dtype: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestGenericNetCDFData::test_roundtrip_string_data: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestGenericNetCDFData::test_roundtrip_string_encoded_characters: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestGenericNetCDFData::test_roundtrip_numpy_datetime_data: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestGenericNetCDFData::test_roundtrip_timedelta_data: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestGenericNetCDFData::test_roundtrip_float64_data: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestGenericNetCDFData::test_roundtrip_example_1_netcdf: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestGenericNetCDFData::test_roundtrip_coordinates: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestGenericNetCDFData::test_roundtrip_global_coordinates: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestGenericNetCDFData::test_roundtrip_coordinates_with_space: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestGenericNetCDFData::test_roundtrip_boolean_dtype: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestGenericNetCDFData::test_orthogonal_indexing: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestGenericNetCDFData::test_vectorized_indexing: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestGenericNetCDFData::test_vectorized_indexing_negative_step: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestGenericNetCDFData::test_outer_indexing_reversed: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestGenericNetCDFData::test_isel_dataarray: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestGenericNetCDFData::test_array_type_after_indexing: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestGenericNetCDFData::test_dropna: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestGenericNetCDFData::test_ondisk_after_print: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestGenericNetCDFData::test_roundtrip_bytes_with_fill_value: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestGenericNetCDFData::test_roundtrip_empty_vlen_string_array: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestGenericNetCDFData::test_roundtrip_mask_and_scale[create_unsigned_masked_scaled_data-create_encoded_unsigned_masked_scaled_data]: OverflowError: Python integer 255 out of bounds for int8
xarray/tests/test_backends.py::TestGenericNetCDFData::test_roundtrip_mask_and_scale[2 failing variants]: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestGenericNetCDFData::test_grid_mapping_and_bounds_are_not_coordinates_in_file: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestGenericNetCDFData::test_coordinate_variables_after_dataset_roundtrip: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestGenericNetCDFData::test_grid_mapping_and_bounds_are_coordinates_after_dataarray_roundtrip: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestGenericNetCDFData::test_coordinate_variables_after_iris_roundtrip: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestGenericNetCDFData::test_coordinates_encoding: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestGenericNetCDFData::test_roundtrip_endian: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestGenericNetCDFData::test_encoding_kwarg: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestGenericNetCDFData::test_encoding_kwarg_dates: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestGenericNetCDFData::test_encoding_kwarg_fixed_width_string: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestGenericNetCDFData::test_default_fill_value: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestGenericNetCDFData::test_explicitly_omit_fill_value: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestGenericNetCDFData::test_explicitly_omit_fill_value_via_encoding_kwarg: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestGenericNetCDFData::test_explicitly_omit_fill_value_in_coord: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestGenericNetCDFData::test_explicitly_omit_fill_value_in_coord_via_encoding_kwarg: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestGenericNetCDFData::test_encoding_same_dtype: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestGenericNetCDFData::test_append_write: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestGenericNetCDFData::test_append_overwrite_values: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestGenericNetCDFData::test_cross_engine_read_write_netcdf3: ModuleNotFoundError: No module named 'cftime'
xarray/tests/test_backends.py::TestGenericNetCDFData::test_encoding_unlimited_dims: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestOpenMFDatasetWithDataVarsAndCoordsKw::test_open_mfdataset_does_same_as_concat[24 failing variants]: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestOpenMFDatasetWithDataVarsAndCoordsKw::test_open_mfdataset_dataset_combine_attrs[5 failing variants]: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestOpenMFDatasetWithDataVarsAndCoordsKw::test_open_mfdataset_dataset_attr_by_coords: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestOpenMFDatasetWithDataVarsAndCoordsKw::test_open_mfdataset_dataarray_attr_by_coords: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestOpenMFDatasetWithDataVarsAndCoordsKw::test_open_mfdataset_exact_join_raises_error[6 failing variants]: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestOpenMFDatasetWithDataVarsAndCoordsKw::test_common_coord_when_datavars_all: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestOpenMFDatasetWithDataVarsAndCoordsKw::test_common_coord_when_datavars_minimal: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestOpenMFDatasetWithDataVarsAndCoordsKw::test_invalid_data_vars_value_should_fail: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestDataArrayToNetCDF::test_dataarray_to_netcdf_no_name: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestDataArrayToNetCDF::test_dataarray_to_netcdf_with_name: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestDataArrayToNetCDF::test_dataarray_to_netcdf_coord_name_clash: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestDataArrayToNetCDF::test_open_dataarray_options: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::TestDataArrayToNetCDF::test_dataarray_to_netcdf_no_name_pathlib: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::test_no_warning_from_dask_effective_get: AssertionError: Got 2 unexpected warning(s): ["RuntimeWarning('numpy.ndarray size changed, may indicate binary incompatibility. Expected 16 from C header, got 96 from PyObject'))", "DeprecationWarning('numpy.core._multiarray_umath is deprecated and has been renamed to numpy._core._multiarray_umath. The numpy._core namespace contains private NumPy internals and its use is discouraged, as NumPy internals can change without warning in any release. In practice, most real-world usage of numpy.core is to access functionality in the public NumPy API. If that is the case, use the public NumPy API. If not, you are using NumPy internals. If you would still like to access an internal attribute, use numpy._core._multiarray_umath._ARRAY_API.'))"]
xarray/tests/test_backends.py::test_source_encoding_always_present: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::test_source_encoding_always_present_with_pathlib: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::test_use_cftime_standard_calendar_default_in_range[3 failing variants]: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::test_use_cftime_false_standard_calendar_in_range[3 failing variants]: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::test_use_cftime_false_standard_calendar_out_of_range[6 failing variants]: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::test_use_cftime_false_nonstandard_calendar[18 failing variants]: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::test_open_fsspec: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::test_chunking_consintency[6 failing variants]: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_backends.py::test_scipy_entrypoint: ModuleNotFoundError: No module named 'cftime'
xarray/tests/test_coding_times.py::test_decode_cf_datetime_uint[2 failing variants]: ModuleNotFoundError: No module named 'cftime'
xarray/tests/test_dask.py::test_normalize_token_with_backend: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_dataarray.py::TestIrisConversion::test_to_and_from_iris: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_dataarray.py::TestIrisConversion::test_to_and_from_iris_dask: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_dataarray.py::TestIrisConversion::test_da_name_from_cube[4 failing variants]: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_dataarray.py::TestIrisConversion::test_da_coord_name_from_cube[4 failing variants]: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_dataarray.py::TestIrisConversion::test_prevent_duplicate_coord_names: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_dataarray.py::TestIrisConversion::test_fallback_to_iris_AuxCoord[2 failing variants]: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
xarray/tests/test_dataset.py::TestDataset::test_polyfit_warnings: assert 2 == 1
 +  where 2 = len([<warnings.WarningMessage object at 0x7f8cebf44490>, <warnings.WarningMessage object at 0x7f8cebf46890>])
xarray/tests/test_distributed.py::test_dask_distributed_read_netcdf_integration_test[scipy-NETCDF3_64BIT]: ModuleNotFoundError: No module named 'cftime'
xarray/tests/test_duck_array_ops.py::TestOps::test_where_type_promotion: AssertionError: assert dtype('float64') == <class 'numpy.float32'>
 +  where dtype('float64') = array([ 1., nan]).dtype
 +  and   <class 'numpy.float32'> = np.float32
xarray/tests/test_duck_array_ops.py::TestDaskOps::test_where_type_promotion: AssertionError: assert dtype('float64') == <class 'numpy.float32'>
 +  where dtype('float64') = array([ 1., nan]).dtype
 +  and   <class 'numpy.float32'> = np.float32
xarray/tests/test_missing.py::test_ffill: ImportError: numpy.core.multiarray failed to import
xarray/tests/test_plot.py::TestImshow::test_imshow_rgb_values_in_valid_range: numpy._core._exceptions._UFuncOutputCastingError: Cannot cast ufunc 'multiply' output from dtype('int64') to dtype('uint8') with casting rule 'same_kind'
xarray/tests/test_plugins.py::test_list_engines: AssertionError: assert ('h5netcdf' in {'h5netcdf': <H5netcdfBackendEntrypoint>\n  Open netCDF (.nc, .nc4 and .cdf) and most HDF5 files using h5netcdf in Xarr...in Xarray\n  Learn more at https://docs.xarray.dev/en/stable/generated/xarray.backends.ScipyBackendEntrypoint.html, ...}) == False
@github-actions github-actions bot added the CI Continuous Integration tools label Aug 20, 2023
@keewis keewis mentioned this issue Sep 15, 2023
1 task
@headtr1ck
Copy link
Collaborator

This seems to be new:

AttributeError: module 'dask.array.lib' has no attribute '_stride_tricks_impl'

@keewis
Copy link
Collaborator

keewis commented Sep 19, 2023

as far as I can tell, that is an upstream issue (numpy.lib.stride_tricks.sliding_window_view has become an alias of numpy.lib._stride_tricks_impl.sliding_window_view, and dask has a particular way to figure out where to get the implementation for a specific function). See also dask/dask#10347

@headtr1ck
Copy link
Collaborator

Now there seem to be quite some cftime related errors.

@spencerkclark
Copy link
Member

Regarding the cftime resample errors, a bisect indicates pandas-dev/pandas#52064 changed some answers in pandas. When I get a chance I'll look into how we should address that in xarray.

@headtr1ck
Copy link
Collaborator

And some more numpy 2.0 errors :)

@dcherian
Copy link
Contributor

@kmuehlbauer :)

xarray/tests/test_backends.py::TestH5NetCDFData::test_roundtrip_endian: AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead.
xarray/tests/test_backends.py::TestH5NetCDFFileObject::test_roundtrip_endian: AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead.
xarray/tests/test_backends.py::TestH5NetCDFViaDaskData::test_roundtrip_endian: AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead.

@kmuehlbauer
Copy link
Contributor

@kmuehlbauer :)

xarray/tests/test_backends.py::TestH5NetCDFData::test_roundtrip_endian: AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead.
xarray/tests/test_backends.py::TestH5NetCDFFileObject::test_roundtrip_endian: AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead.
xarray/tests/test_backends.py::TestH5NetCDFViaDaskData::test_roundtrip_endian: AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead.

Unfortunately this seems to be some issue with h5py. h5netcdf does indeed use that method, not from a ndarray-class instance, but directly as suggested from dtype-instance. The error seems to be issued from h5py (https://github.com/h5py/h5py/blob/f88fb8c5dc5a143037bd5251a7061f6731306209/h5py/_selector.pyx#L344). I'll check with upstream.

@kmuehlbauer
Copy link
Contributor

Heads-up: the last CI Upstream tests seg fault somewhere in the backends-test.

@kmuehlbauer
Copy link
Contributor

Unfortunately this seems to be some issue with h5py. h5netcdf does indeed use that method, not from a ndarray-class instance, but directly as suggested from dtype-instance. The error seems to be issued from h5py (https://github.com/h5py/h5py/blob/f88fb8c5dc5a143037bd5251a7061f6731306209/h5py/_selector.pyx#L344). I'll check with upstream.

Should be solved by h5py/h5py#2329.

@kmuehlbauer
Copy link
Contributor

Should be solved by h5py/h5py#2329.

The upstream-dev run does use the h5netcdf development version but not the h5py development version. So we will either need to wait for the next h5py-release or also use the h5py development version.

@keewis
Copy link
Collaborator

keewis commented Nov 28, 2023

to fix most of the failing backends and the failing iris tests we'd need builds of netcdf4, h5py and cf_units that are compatible with numpy>=2.0.0.dev0 (possibly more). See also #8483.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous Integration tools
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants