Skip to content

[networkx] Allow scalar values with name in set_edge_attributes and set_node_attributes #38333

[networkx] Allow scalar values with name in set_edge_attributes and set_node_attributes

[networkx] Allow scalar values with name in set_edge_attributes and set_node_attributes #38333

Triggered via pull request October 28, 2026 15:32
Status Failure
Total duration 4m 32s
Artifacts –

tests.yml

on: pull_request
Check typeshed structure
15s
Check typeshed structure
mypy: regression tests
3m 54s
mypy: regression tests
stub uploader: tests
3m 29s
stub uploader: tests
Matrix: mypy: type check
Matrix: pyrefly: type check
Matrix: pyright: regression tests
Matrix: ty: type check
Fit to window
Zoom out
Zoom in

Annotations

16 errors and 63 notices
pyright: regression tests (Windows, 3.13)
Exit code 1
pyright: regression tests (Darwin, 3.11)
Exit code 1
pyright: regression tests (Windows, 3.12)
Exit code 1
pyright: regression tests (Darwin, 3.14)
Exit code 1
pyright: regression tests (Linux, 3.14)
Exit code 1
pyright: regression tests (Linux, 3.12)
Exit code 1
pyright: regression tests (Darwin, 3.12)
Exit code 1
pyright: regression tests (Windows, 3.14)
Exit code 1
pyright: regression tests (Darwin, 3.13)
Exit code 1
pyright: regression tests (Linux, 3.11)
Exit code 1
pyright: regression tests (Linux, 3.13)
4 errors
pyright: regression tests (Linux, 3.13): stubs/networkx/@tests/test_cases/check_tricky_function_params-py312.py#L31
Type of "set_edge_attributes" is partially unknown   Type of "set_edge_attributes" is "Overload[(G: Graph[_Node@set_edge_attributes, dict[str, Any], dict[str, Any]], values: SupportsItems[tuple[_Node@set_edge_attributes, _Node@set_edge_attributes], Any], name: str, *, backend: str | None = None, **backend_kwargs: Unknown) -> None, (G: MultiGraph[_Node@set_edge_attributes, dict[str, Any], dict[str, Any]], values: dict[tuple[_Node@set_edge_attributes, _Node@set_edge_attributes, Any], Any], name: str, *, backend: str | None = None, **backend_kwargs: Unknown) -> None, (G: Graph[_Node@set_edge_attributes, dict[str, Any], dict[str, Any]], values: object, name: str, *, backend: str | None = None, **backend_kwargs: Unknown) -> None, (G: Graph[_Node@set_edge_attributes, dict[str, Any], dict[str, Any]], values: Unknown, name: None = None, *, backend: str | None = None, **backend_kwargs: Unknown) -> None]" (reportUnknownMemberType)
pyright: regression tests (Linux, 3.13): stubs/networkx/@tests/test_cases/check_tricky_function_params-py312.py#L30
Type of "set_edge_attributes" is partially unknown   Type of "set_edge_attributes" is "Overload[(G: Graph[_Node@set_edge_attributes, dict[str, Any], dict[str, Any]], values: SupportsItems[tuple[_Node@set_edge_attributes, _Node@set_edge_attributes], Any], name: str, *, backend: str | None = None, **backend_kwargs: Unknown) -> None, (G: MultiGraph[_Node@set_edge_attributes, dict[str, Any], dict[str, Any]], values: dict[tuple[_Node@set_edge_attributes, _Node@set_edge_attributes, Any], Any], name: str, *, backend: str | None = None, **backend_kwargs: Unknown) -> None, (G: Graph[_Node@set_edge_attributes, dict[str, Any], dict[str, Any]], values: object, name: str, *, backend: str | None = None, **backend_kwargs: Unknown) -> None, (G: Graph[_Node@set_edge_attributes, dict[str, Any], dict[str, Any]], values: Unknown, name: None = None, *, backend: str | None = None, **backend_kwargs: Unknown) -> None]" (reportUnknownMemberType)
pyright: regression tests (Linux, 3.13): stubs/networkx/@tests/test_cases/check_tricky_function_params-py312.py#L29
Type of "set_node_attributes" is partially unknown   Type of "set_node_attributes" is "Overload[(G: Graph[_Node@set_node_attributes, dict[str, Any], dict[str, Any]], values: SupportsItems[_Node@set_node_attributes, object], name: str, *, backend: str | None = None, **backend_kwargs: Unknown) -> None, (G: Graph[_Node@set_node_attributes, dict[str, Any], dict[str, Any]], values: SupportsItems[_Node@set_node_attributes, SupportsKeysAndGetItem[Any, Any] | Iterable[tuple[Any, Any]]], name: None = None, *, backend: str | None = None, **backend_kwargs: Unknown) -> None, (G: Graph[_Node@set_node_attributes, dict[str, Any], dict[str, Any]], values: object, name: str, *, backend: str | None = None, **backend_kwargs: Unknown) -> None]" (reportUnknownMemberType)
pyright: regression tests (Linux, 3.13): stubs/networkx/@tests/test_cases/check_tricky_function_params-py312.py#L28
Type of "set_node_attributes" is partially unknown   Type of "set_node_attributes" is "Overload[(G: Graph[_Node@set_node_attributes, dict[str, Any], dict[str, Any]], values: SupportsItems[_Node@set_node_attributes, object], name: str, *, backend: str | None = None, **backend_kwargs: Unknown) -> None, (G: Graph[_Node@set_node_attributes, dict[str, Any], dict[str, Any]], values: SupportsItems[_Node@set_node_attributes, SupportsKeysAndGetItem[Any, Any] | Iterable[tuple[Any, Any]]], name: None = None, *, backend: str | None = None, **backend_kwargs: Unknown) -> None, (G: Graph[_Node@set_node_attributes, dict[str, Any], dict[str, Any]], values: object, name: str, *, backend: str | None = None, **backend_kwargs: Unknown) -> None]" (reportUnknownMemberType)
pyright: regression tests (Windows, 3.11)
Exit code 1
Check typeshed structure
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
pyrefly: type check (darwin, 3.11)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
ty: type check (win32, 3.14)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
ty: type check (darwin, 3.14)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
pyrefly: type check (linux, 3.11)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
ty: type check (darwin, 3.12)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
ty: type check (darwin, 3.13)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
ty: type check (win32, 3.12)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
ty: type check (linux, 3.11)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
pyrefly: type check (win32, 3.14)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
pyrefly: type check (linux, 3.13)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
ty: type check (darwin, 3.10)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
ty: type check (win32, 3.11)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
ty: type check (linux, 3.14)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
ty: type check (win32, 3.10)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
pyrefly: type check (darwin, 3.13)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
ty: type check (win32, 3.13)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
ty: type check (linux, 3.12)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
pyrefly: type check (darwin, 3.10)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
ty: type check (linux, 3.13)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
pyrefly: type check (linux, 3.10)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
pyrefly: type check (win32, 3.13)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
pyrefly: type check (linux, 3.14)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
pyrefly: type check (darwin, 3.12)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
pyrefly: type check (linux, 3.12)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
pyrefly: type check (win32, 3.10)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
ty: type check (darwin, 3.11)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
pyrefly: type check (darwin, 3.14)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
pyrefly: type check (win32, 3.12)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
pyrefly: type check (win32, 3.11)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
ty: type check (linux, 3.10)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
pyright: regression tests (Windows, 3.13)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
pyright: regression tests (Darwin, 3.11)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
pyright: regression tests (Windows, 3.12)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
pyright: regression tests (Darwin, 3.14)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
mypy: type check (darwin, 3.13)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
pyright: regression tests (Linux, 3.14)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
mypy: type check (linux, 3.11)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
pyright: regression tests (Linux, 3.12)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
mypy: type check (linux, 3.13)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
pyright: regression tests (Darwin, 3.12)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
mypy: type check (linux, 3.12)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
pyright: regression tests (Windows, 3.14)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
mypy: type check (darwin, 3.15)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
mypy: type check (linux, 3.10)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
mypy: type check (darwin, 3.11)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
mypy: type check (darwin, 3.14)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
pyright: regression tests (Darwin, 3.13)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
pyright: regression tests (Linux, 3.11)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
mypy: type check (win32, 3.11)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
mypy: type check (darwin, 3.10)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
mypy: type check (linux, 3.15)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
pyright: regression tests (Linux, 3.13)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
mypy: type check (win32, 3.13)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
mypy: type check (win32, 3.12)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
mypy: type check (win32, 3.14)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
mypy: type check (linux, 3.14)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
mypy: type check (win32, 3.15)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
mypy: type check (darwin, 3.12)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
mypy: type check (win32, 3.10)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
pyright: regression tests (Windows, 3.11)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
stub uploader: tests
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
mypy: regression tests
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"