Skip to content

Commit beaaecf

Browse files
committed
BLD: replace optional-dependencies with dependency-groups
1 parent 0d15d23 commit beaaecf

2 files changed

Lines changed: 10 additions & 5 deletions

File tree

.github/workflows/docs-build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ jobs:
1010
- uses: actions/setup-python@v6
1111
- name: Install Dependencies
1212
run: |
13-
python -m pip install .[docs]
13+
python -m pip install --upgrade pip
14+
python -m pip install .
15+
python -m pip install --group docs
1416
- name: Build Docs
1517
run: |
1618
cd docs

pyproject.toml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,13 @@ classifiers = [
2222
"Typing :: Typed",
2323
]
2424

25-
[project.optional-dependencies]
25+
26+
[project.urls]
27+
homepage = "https://data-apis.org/array-api-compat/"
28+
repository = "https://github.com/data-apis/array-api-compat/"
29+
30+
31+
[dependency-groups]
2632
cupy = ["cupy"]
2733
dask = ["dask>=2024.9.0"]
2834
jax = ["jax"]
@@ -51,9 +57,6 @@ dev = [
5157
"sparse>=0.15.1",
5258
]
5359

54-
[project.urls]
55-
homepage = "https://data-apis.org/array-api-compat/"
56-
repository = "https://github.com/data-apis/array-api-compat/"
5760

5861
[tool.setuptools.dynamic]
5962
version = { attr = "array_api_compat.__version__" }

0 commit comments

Comments
 (0)