From 7d3d23df983a1be0c26dbdc3a3dc6dcf2afd3cc3 Mon Sep 17 00:00:00 2001 From: jorenham Date: Wed, 9 Oct 2024 05:53:44 +0200 Subject: [PATCH 1/2] fix pyright error in `scipy.cluster` --- .github/workflows/ci.yml | 1 + scipy-stubs/cluster/hierarchy.pyi | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f5c4f625..2cc5857e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -52,6 +52,7 @@ jobs: targets=( "__init__.pyi" "constants" + "cluster" "datasets" "integrate" "io" diff --git a/scipy-stubs/cluster/hierarchy.pyi b/scipy-stubs/cluster/hierarchy.pyi index 347bba30..76fdf674 100644 --- a/scipy-stubs/cluster/hierarchy.pyi +++ b/scipy-stubs/cluster/hierarchy.pyi @@ -97,7 +97,7 @@ class ClusterNode: def __lt__(self, node: ClusterNode, /) -> bool: ... def __gt__(self, node: ClusterNode, /) -> bool: ... @override - def __eq__(self, node: ClusterNode, /) -> bool: ... # type: ignore[override] + def __eq__(self, node: ClusterNode, /) -> bool: ... # type: ignore[override] # pyright: ignore[reportIncompatibleMethodOverride] def get_id(self, /) -> int: ... def get_count(self, /) -> int: ... def get_left(self, /) -> ClusterNode: ... From e8dab24f5f3ca9e89390b67259e3e5ddf03a547d Mon Sep 17 00:00:00 2001 From: jorenham Date: Wed, 9 Oct 2024 05:57:38 +0200 Subject: [PATCH 2/2] cleanup the development progress --- .github/workflows/ci.yml | 2 +- README.md | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2cc5857e..eeef4426 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,8 +51,8 @@ jobs: run: | targets=( "__init__.pyi" - "constants" "cluster" + "constants" "datasets" "integrate" "io" diff --git a/README.md b/README.md index bd00a546..727f3b3b 100644 --- a/README.md +++ b/README.md @@ -116,8 +116,6 @@ The exact version requirements are specified in the [`pyproject.toml`](pyproject | `scipy.integrate` | **4: done** | | `scipy.interpolate` | 2: partial | | `scipy.io` | **4: done** | -| `scipy.io.arff` | 3: ready | -| `scipy.io.matlab` | 3: ready | | `scipy.linalg` | **4: done** | | ~`scipy.misc`~ | **4: done** | | `scipy.ndimage` | 2: partial | @@ -131,9 +129,8 @@ The exact version requirements are specified in the [`pyproject.toml`](pyproject | `scipy.spatial` | 2: partial | | `scipy.spatial.distance` | 2: partial | | `scipy.special` | **4: done** | -| `scipy.special.cython_special` | **4: done** | | `scipy.stats` | 2: partial | -| `scipy.stats.contingency` | 1: skeleton | +| `scipy.stats.contingency` | 3: ready | | `scipy.stats.distributions` | **4: done** | | `scipy.stats.mstats` | 1: skeleton | | `scipy.stats.qmc` | 2: partial |