From 435fbc574ed72d8a23216e0c8ce3de9c0a0e7dde Mon Sep 17 00:00:00 2001 From: SIKAI ZHANG <34108862+MatthewSZhang@users.noreply.github.com> Date: Wed, 21 Aug 2024 11:16:14 +0800 Subject: [PATCH] MNT add scikit-learn in build-system --- .github/workflows/ci.yml | 6 +++++- pixi.lock | 2 +- pyproject.toml | 3 +-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 81c297e..a4aac1f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,11 @@ jobs: - uses: prefix-dev/setup-pixi@v0.8.1 with: environments: default - cache: false + cache: true + + - name: Re-install local + run: | + pixi run rebuild - name: Lint with ruff run: | diff --git a/pixi.lock b/pixi.lock index 7ae1f32..e06989d 100644 --- a/pixi.lock +++ b/pixi.lock @@ -1166,7 +1166,7 @@ packages: name: fastcan version: 0.2.1 path: . - sha256: 297d6f4ebe837dc804e31e8ecf7343329e0478975ad110b15cad8e52e0dbee4d + sha256: d656c1ae2af821c558a1be5fedf1550a0391eea089ae25b8442d05a459d87ed9 requires_dist: - scikit-learn>=1.5.0,<1.6 requires_python: '>=3.9' diff --git a/pyproject.toml b/pyproject.toml index 17bfe56..0f7c245 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -54,7 +54,7 @@ python-build = "*" uv = "*" [build-system] -requires = ["meson-python>=0.16.0", "Cython>=3.0.10"] +requires = ["meson-python>=0.16.0", "Cython>=3.0.10", "scikit-learn>=1.5.0"] build-backend = "mesonpy" [tool.pixi.project] @@ -73,7 +73,6 @@ ninja = ">=1.12.1,<1.13" meson-python = ">=0.16.0,<0.17" cython = ">=3.0.10,<3.1" scikit-learn = ">=1.5.0,<1.6" -python-build = "*" [tool.pixi.dependencies] scikit-learn = ">=1.5.0,<1.6"