`test_from_dict_backends` failure on gpuCI
See original GitHub issueSee https://github.com/dask/dask/pull/9675#pullrequestreview-1186408344
10:10:22 ________________________ test_from_dict_backends[cudf] _________________________
10:10:22 [gw2] linux -- Python 3.9.13 /opt/conda/envs/dask/bin/python3.9
10:10:22
10:10:22 backend = 'cudf'
10:10:22
10:10:22 @pytest.mark.gpu
10:10:22 @pytest.mark.parametrize("backend", ["pandas", "cudf"])
10:10:22 def test_from_dict_backends(backend):
10:10:22 _lib = pytest.importorskip(backend)
10:10:22 with config.set({"dataframe.backend": backend}):
10:10:22 data = {"a": [1, 2, 3, 4], "B": [10, 11, 12, 13]}
10:10:22 expected = _lib.DataFrame(data)
10:10:22
10:10:22 # Check dd.from_dict API
10:10:22 got = dd.from_dict(data, npartitions=2)
10:10:22 assert_eq(expected, got)
10:10:22
10:10:22 # Check from_dict classmethod
10:10:22 > got_classmethod = got.from_dict(data, npartitions=2)
10:10:22
10:10:22 dask/dataframe/io/tests/test_io.py:988:
10:10:22 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
10:10:22 dask/dataframe/core.py:6054: in from_dict
10:10:22 return from_dict(
10:10:22 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
10:10:22
10:10:22 args = ({'B': [10, 11, 12, 13], 'a': [1, 2, 3, 4]}, 2)
10:10:22 kwargs = {'columns': None, 'constructor': <class 'cudf.core.dataframe.DataFrame'>, 'dtype': None, 'orient': 'columns'}
10:10:22
10:10:22 @wraps(fn)
10:10:22 def wrapper(*args, **kwargs):
10:10:22 > return getattr(self, dispatch_name)(*args, **kwargs)
10:10:22 E TypeError: from_dict() got an unexpected keyword argument 'constructor'
10:10:22
10:10:22 dask/backends.py:122: TypeError
Issue Analytics
- State:
- Created 10 months ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
gpuCI Usage Docs - RAPIDS Docs
Our gpuCI is responsible for testing each PR and commit with GPUs and building conda packages for all RAPIDS projects. Intended audience. Community....
Read more >rapidsai/gpuci-build-environment - GitHub
Common build environment used by gpuCI for building RAPIDS - GitHub - rapidsai/gpuci-build-environment: Common ... Failed to load latest commit information.
Read more >gpuci's Profile - Docker Hub
gpuci. Community Organization. gpuCI. https://gpuci.io. Joined September 18, 2018. Repositories. Displaying 25 of 50 repositories.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yeah, totally agree that this is not a dask blocker. Thanks for confirming!
I’m looking into it.