Skip to content

Commit

Permalink
MNT add scikit-learn in build-system
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewSZhang committed Aug 21, 2024
1 parent a50c396 commit 435fbc5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ jobs:
- uses: prefix-dev/[email protected]
with:
environments: default
cache: false
cache: true

- name: Re-install local
run: |
pixi run rebuild
- name: Lint with ruff
run: |
Expand Down
2 changes: 1 addition & 1 deletion pixi.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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"
Expand Down

0 comments on commit 435fbc5

Please sign in to comment.