Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1969172
Summary: | F35FailsToInstall: python3-xarray. Fails to build with Python 3.10: AttributeError: 'dict' object has no attribute 'collection_annotations' | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> |
Component: | python-xarray | Assignee: | Elliott Sales de Andrade <quantum.analyst> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | python-sig, quantum.analyst, thrnciar, zbyszek |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | python-xarray-0.18.2-1.fc35 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-06-17 12:56:47 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1768152, 1941557, 1968947, 1969178 | ||
Bug Blocks: | 1890881, 1927309, 1927313, 1969173, 1968870, 1968894, 1969018, 1969106 |
Description
Miro Hrončok
2021-06-07 23:49:45 UTC
This bugzilla is likely a fallout from the Python 3.10 rebuild. If your package (or some of the dependencies it has) failed to rebuild during the Python 3.10 rebuild, they now fail to install. To fix this, packages need to be rebuilt in Rawhide. We will slowly triage the bugzillas, but we'd appreciate your help. If you know this is blocked by an existing reported build failure or another package not yet rebuilt with Python 3.10, please mark it as such by using the "Depends On"/"Blocks" bugzilla fields. That will help us determine what failures to prioritize. Thank you and sorry for the inconvenience. Let me know if you need any help. Hello, This is the first reminder (step 3 from https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs). If you know about this problem and are planning on fixing it, please acknowledge so by setting the bug status to ASSIGNED. If you don't have time to maintain this package, consider orphaning it, so maintainers of dependent packages realize the problem. __________________ test_map_blocks_convert_args_to_list[obj1] __________________ [gw2] linux -- Python 3.10.0 /usr/bin/python3 obj = <xarray.Dataset> Dimensions: (x: 10, y: 20, z: 4) Coordinates: * x (x) int64 0 1 2 3 4 5 6 7 8 9 * y ...64 1 1 1 1 e (x, y) int64 100 101 102 103 104 105 ... 123 124 125 126 127 128 Attributes: test: test @pytest.mark.parametrize("obj", [make_da(), make_ds()]) def test_map_blocks_convert_args_to_list(obj): expected = obj + 10 with raise_if_dask_computes(): > actual = xr.map_blocks(operator.add, obj, [10]) /builddir/build/BUILDROOT/python-xarray-0.17.0-2.fc35.noarch/usr/lib/python3.10/site-packages/xarray/tests/test_dask.py:1121: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILDROOT/python-xarray-0.17.0-2.fc35.noarch/usr/lib/python3.10/site-packages/xarray/core/parallel.py:563: in map_blocks data = dask.array.Array( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'dask.array.core.Array'> dask = <dask.highlevelgraph.HighLevelGraph object at 0x7ffee7b82770> name = 'add-543fd685d3c1698a2e57adba52677894-c2', chunks = [] dtype = dtype('float64'), meta = array(0.), shape = None def __new__(cls, dask, name, chunks, dtype=None, meta=None, shape=None): self = super(Array, cls).__new__(cls) assert isinstance(dask, Mapping) if not isinstance(dask, HighLevelGraph): dask = HighLevelGraph.from_collections(name, dask, dependencies=()) self.dask = dask self._name = str(name) meta = meta_from_array(meta, dtype=dtype) if ( isinstance(chunks, str) or isinstance(chunks, tuple) and chunks and any(isinstance(c, str) for c in chunks) ): dt = meta.dtype else: dt = None self._chunks = normalize_chunks(chunks, shape, dtype=dt) if self.chunks is None: raise ValueError(CHUNKS_NONE_ERROR_MESSAGE) self._meta = meta_from_array(meta, ndim=self.ndim, dtype=dtype) for plugin in config.get("array_plugins", ()): result = plugin(self) if result is not None: self = result try: layer = self.dask.layers[name] except (AttributeError, KeyError): # self is no longer an Array after applying the plugins, OR # a plugin replaced the HighLevelGraph with a plain dict, OR # name is not the top layer's name (this can happen after the layer is # manipulated, to avoid a collision) pass else: > if layer.collection_annotations is None: E AttributeError: 'dict' object has no attribute 'collection_annotations' FAILED tests/test_dask.py::test_map_blocks_convert_args_to_list[obj0] - Attri... FAILED tests/test_dask.py::test_map_blocks_convert_args_to_list[obj1] - Attri... FAILED tests/test_dask.py::test_map_blocks_dask_args - AttributeError: 'dict'... FAILED tests/test_dask.py::test_map_blocks_add_attrs[obj0] - AttributeError: ... FAILED tests/test_dask.py::test_map_blocks_add_attrs[obj1] - AttributeError: ... FAILED tests/test_dask.py::test_map_blocks_change_name - AttributeError: 'dic... FAILED tests/test_dask.py::test_map_blocks_kwargs[obj0] - AttributeError: 'di... FAILED tests/test_dask.py::test_map_blocks_kwargs[obj1] - AttributeError: 'di... FAILED tests/test_dask.py::test_map_blocks_to_array - AttributeError: 'dict' ... FAILED tests/test_dask.py::test_map_blocks_da_transformations[<lambda>0] - At... FAILED tests/test_dask.py::test_map_blocks_da_transformations[<lambda>1] - At... FAILED tests/test_dask.py::test_map_blocks_da_transformations[<lambda>2] - At... FAILED tests/test_dask.py::test_map_blocks_da_transformations[<lambda>3] - At... FAILED tests/test_dask.py::test_map_blocks_da_transformations[<lambda>4] - At... FAILED tests/test_dask.py::test_map_blocks_da_transformations[<lambda>5] - At... FAILED tests/test_dask.py::test_map_blocks_da_transformations[<lambda>6] - At... FAILED tests/test_dask.py::test_map_blocks_da_transformations[<lambda>7] - At... FAILED tests/test_dask.py::test_map_blocks_ds_transformations[<lambda>0] - At... FAILED tests/test_combine.py::test_combine_by_coords_raises_for_differing_calendars FAILED tests/test_dask.py::test_map_blocks_ds_transformations[<lambda>1] - At... FAILED tests/test_dask.py::test_map_blocks_ds_transformations[<lambda>2] - At... FAILED tests/test_dask.py::test_map_blocks_ds_transformations[<lambda>3] - At... FAILED tests/test_computation.py::test_vectorize_dask_dtype_meta - ValueError... FAILED tests/test_dask.py::test_map_blocks_ds_transformations[<lambda>4] - At... FAILED tests/test_dask.py::test_map_blocks_ds_transformations[<lambda>5] - At... FAILED tests/test_dask.py::test_map_blocks_ds_transformations[<lambda>6] - At... FAILED tests/test_dask.py::test_map_blocks_error - AttributeError: 'dict' obj... FAILED tests/test_dask.py::test_map_blocks[obj0] - AttributeError: 'dict' obj... FAILED tests/test_dask.py::test_map_blocks[obj1] - AttributeError: 'dict' obj... FAILED tests/test_dask.py::test_map_blocks_ds_transformations[<lambda>7] - At... FAILED tests/test_dask.py::test_map_blocks_da_ds_with_template[obj0] - Attrib... FAILED tests/test_dask.py::test_map_blocks_da_ds_with_template[obj1] - Attrib... FAILED tests/test_dask.py::test_map_blocks_template_convert_object - Attribut... FAILED tests/test_dask.py::test_map_blocks_errors_bad_template[obj0] - Attrib... FAILED tests/test_dask.py::test_map_blocks_errors_bad_template[obj1] - Attrib... FAILED tests/test_dask.py::test_map_blocks_errors_bad_template_2 - AttributeE... FAILED tests/test_dask.py::test_map_blocks_object_method[obj0] - AttributeErr... FAILED tests/test_dask.py::test_map_blocks_object_method[obj1] - AttributeErr... FAILED tests/test_dask.py::test_map_blocks_hlg_layers - AttributeError: 'dict... The tests pass with 0.18.2 and --deselect=tests/test_backends.py::test_no_warning_from_dask_effective_get --deselect=tests/test_computation.py::test_vectorize_dask_dtype_meta. I'll push an update with that. The first failure seems to be from the DeprecationWarnings. The second one is something more significant, I'll leave it for QuLogic to fix ;) Built in rawhide with some tests skipped |