Skip to content

Conversation

@lucascolley
Copy link
Member

@lucascolley lucascolley commented Dec 27, 2025

array-api-compat on 🎋 rel via 🐍pixi exec -s cupy -s hypothesis -s pytest-json-report -s ndindex ./test_cupy.sh
...
======================================== 1070 passed, 9 skipped, 96 xfailed, 61 xpassed, 182 warnings in 535.91s (0:08:55) ========================================

@lucascolley lucascolley changed the title test release REL: release 1.13.0 Dec 27, 2025
@lucascolley lucascolley marked this pull request as ready for review December 27, 2025 21:36
@lucascolley lucascolley added this to the 1.13 milestone Dec 27, 2025
@lucascolley lucascolley requested a review from ev-br December 27, 2025 21:44
@lucascolley
Copy link
Member Author

scikit-learn on 🎋 main [🔨] via 🐍git diff -U0
diff --git a/maint_tools/vendor_array_api_compat.sh b/maint_tools/vendor_array_api_compat.sh
index 51056ce477..100ac3b4e2 100755
--- a/maint_tools/vendor_array_api_compat.sh
+++ b/maint_tools/vendor_array_api_compat.sh
@@ -8,2 +8,2 @@ set -o errexit
-URL="https://github.com/data-apis/array-api-compat.git"
-VERSION="1.12"
+URL="https://github.com/lucascolley/array-api-compat.git"
+VERSION="35193a156c334674427856a75559a3015d97ff7f"

scikit-learn on 🎋 main [🔨] via 🐍./maint_tools/vendor_array_api_compat.sh
python-stack/scikit-learn on 🎋 main [🔨] via 🧚 v0.62.0git diff -U0
diff --git a/scikit-learn/pixi.toml b/scikit-learn/pixi.toml
index aec17e7..575f70e 100644
--- a/scikit-learn/pixi.toml
+++ b/scikit-learn/pixi.toml
@@ -60,0 +61,4 @@ conda-lock = "==2.5.6"
+[feature.array-api.dependencies]
+array-api-strict = "*"
+pytorch = "*"
+
@@ -107,0 +112 @@ tests = { cmd = "spin test", cwd = "scikit-learn" }
+tests-array-api = { cmd = "spin test -v -- -k 'array_api'", cwd = "scikit-learn", env = { SCIPY_ARRAY_API = "1" } }
@@ -110 +115 @@ tests = { cmd = "spin test", cwd = "scikit-learn" }
-dev = { features = ["source", "dev", "lint", "docs", "tests"], no-default-feature = true }
+dev = { features = ["source", "dev", "lint", "docs", "tests", "array-api"], no-default-feature = true }
python-stack/scikit-learn on 🎋 main [🔨] via 🧚 v0.62.0pixi run tests
...
==================== 38628 passed, 6050 skipped, 150 xfailed, 65 xpassed, 5742 warnings in 598.10s (0:09:58) =====================

python-stack/scikit-learn on 🎋 main [🔨] via 🧚 v0.62.0pixi run tests-array-api
...
============================== 2145 passed, 2447 skipped, 40301 deselected, 847 warnings in 21.49s ===============================

@lucascolley lucascolley merged commit 946ce4a into data-apis:main Dec 28, 2025
28 checks passed
@lucascolley lucascolley deleted the rel branch December 28, 2025 11:22
@ev-br
Copy link
Member

ev-br commented Dec 28, 2025

https://pypi.org/project/array-api-compat/1.13.0/ --- thank you Lucas for seeing it through!

@lucascolley
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants