BUG: dask.array.broadcast_shapes: missing implementation

Open Beginner friendly
#439 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
python
Domain
api

Research direction

Start at the scipy._external.array_api_compat.dask.array module named in the traceback and inspect how existing array functions are exposed. Verify the missing broadcast_shapes behavior against the v2025.12 Array API specification and rerun the failing compatibility check; done means the Dask namespace provides the function without the reported AttributeError.

Written by the indexing model from the issue text.

Description

blocked by upstream

This is present in v2025.12 of the spec, but absent for Dask:

>       broadcasted_dims = xp.broadcast_shapes(self_broadcast_dims, x_broadcast_dims)
                           ^^^^^^^^^^^^^^^^^^^
E       AttributeError: module 'scipy._external.array_api_compat.dask.array' has no attribute 'broadcast_shapes'. Did you mean: 'broadcast_arrays'?
Dominant language
Python
Stars
131
Forks
49
Avg merge
2d 8h
Merged PRs (30d)
6

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from data-apis/array-api-compat

All issues in data-apis/array-api-compat

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.