home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 912881551

This data as json

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
912881551 MDU6SXNzdWU5MTI4ODE1NTE= 5444 🟠 Test failure on master 5635139 closed 0     1 2021-06-06T16:31:09Z 2021-06-07T21:05:24Z 2021-06-07T21:05:24Z MEMBER      

What happened:

We have a failure related to a dask release, I think. Here's a job that failed: https://github.com/pydata/xarray/pull/5365/checks?check_run_id=2757459587

It's the test: xarray/tests/test_computation.py::test_vectorize_dask_dtype_meta

```

    References
    ----------
    .. [1] https://docs.scipy.org/doc/numpy/reference/ufuncs.html
    .. [2] https://docs.scipy.org/doc/numpy/reference/c-api/generalized-ufuncs.html
    """
    # Input processing:
    ## Signature
    if not isinstance(signature, str):
        raise TypeError("`signature` has to be of type string")
    input_coredimss, output_coredimss = _parse_gufunc_signature(signature)

    ## Determine nout: nout = None for functions of one direct return; nout = int for return tuples
    nout = None if not isinstance(output_coredimss, list) else len(output_coredimss)

    ## Consolidate onto `meta`
    if meta is not None and output_dtypes is not None:
      raise ValueError(
            "Only one of `meta` and `output_dtypes` should be given (`meta` is preferred)."
        )

E ValueError: Only one of meta and output_dtypes should be given (meta is preferred).

```

Should we xfail this? Does anyone have thoughts for a quick fix?

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/5444/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed 13221727 issue

Links from other tables

  • 0 rows from issues_id in issues_labels
  • 1 row from issue in issue_comments
Powered by Datasette · Queries took 0.638ms · About: xarray-datasette