From 38c86ce914e4d35f03d1856ca069b950322e67ea Mon Sep 17 00:00:00 2001 From: Sebastian Rittau Date: Fri, 31 Jul 2026 12:25:32 +0200 Subject: [PATCH 1/4] [hnswlib] Disable stubtest Cf. #16102 --- stubs/hnswlib/METADATA.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/stubs/hnswlib/METADATA.toml b/stubs/hnswlib/METADATA.toml index 8ca00c301f74..9d185a366757 100644 --- a/stubs/hnswlib/METADATA.toml +++ b/stubs/hnswlib/METADATA.toml @@ -2,3 +2,8 @@ version = "0.8.*" upstream-repository = "https://github.com/nmslib/hnswlib" # Requires a version of numpy with a `py.typed` file dependencies = ["numpy>=1.21"] + +[tool.stubtest] +# TODO: stubtest fails without output or discernable reason during the daily +# test. https://github.com/python/typeshed/issues/16100 +skip = false From 1a0e6476b226bf838a7fad945be5a6af822e67cd Mon Sep 17 00:00:00 2001 From: Sebastian Rittau Date: Fri, 31 Jul 2026 12:32:16 +0200 Subject: [PATCH 2/4] false != true --- stubs/hnswlib/METADATA.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stubs/hnswlib/METADATA.toml b/stubs/hnswlib/METADATA.toml index 9d185a366757..04248dd85af0 100644 --- a/stubs/hnswlib/METADATA.toml +++ b/stubs/hnswlib/METADATA.toml @@ -6,4 +6,4 @@ dependencies = ["numpy>=1.21"] [tool.stubtest] # TODO: stubtest fails without output or discernable reason during the daily # test. https://github.com/python/typeshed/issues/16100 -skip = false +skip = true From d4fe0879abc179003970fedbd1d9b23ca93acab2 Mon Sep 17 00:00:00 2001 From: Sebastian Rittau Date: Fri, 31 Jul 2026 15:58:50 +0200 Subject: [PATCH 3/4] Test: Don't skip stubtest --- stubs/hnswlib/METADATA.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stubs/hnswlib/METADATA.toml b/stubs/hnswlib/METADATA.toml index 04248dd85af0..cc833824a3b8 100644 --- a/stubs/hnswlib/METADATA.toml +++ b/stubs/hnswlib/METADATA.toml @@ -6,4 +6,4 @@ dependencies = ["numpy>=1.21"] [tool.stubtest] # TODO: stubtest fails without output or discernable reason during the daily # test. https://github.com/python/typeshed/issues/16100 -skip = true +#skip = true From c9fa31eefd8a822d5b77b2d94ac5ecec5d917007 Mon Sep 17 00:00:00 2001 From: Sebastian Rittau Date: Fri, 31 Jul 2026 16:18:01 +0200 Subject: [PATCH 4/4] Run stubtest on darwin --- stubs/hnswlib/METADATA.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stubs/hnswlib/METADATA.toml b/stubs/hnswlib/METADATA.toml index cc833824a3b8..df04086d96d4 100644 --- a/stubs/hnswlib/METADATA.toml +++ b/stubs/hnswlib/METADATA.toml @@ -4,6 +4,6 @@ upstream-repository = "https://github.com/nmslib/hnswlib" dependencies = ["numpy>=1.21"] [tool.stubtest] -# TODO: stubtest fails without output or discernable reason during the daily -# test. https://github.com/python/typeshed/issues/16100 -#skip = true +# TODO: stubtest fails on Linux because it gets killed with a SIGILL +# for unknown reasons. See https://github.com/python/typeshed/issues/16100 +ci-platforms = ["darwin"]