Skip to content

Commit 592b7b7

Browse files
committed
fix deps
1 parent 3857917 commit 592b7b7

2 files changed

Lines changed: 9 additions & 11 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
with:
5757
python-version: ${{ matrix.env.python }}
5858
- name: create environment
59-
run: uvx hatch env create ${{ matrix.env.name }}
59+
run: uvx hatch -v env create ${{ matrix.env.name }}
6060
- name: run tests with coverage
6161
run: |
6262
uvx hatch run ${{ matrix.env.name }}:run-cov

pyproject.toml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,11 @@ classifiers = [
2222
"Programming Language :: Python :: 3.13",
2323
"Programming Language :: Python :: 3.14",
2424
]
25-
dynamic = [ "description", "readme", "version" ]
26-
dependencies = [ "numpy>=2" ]
25+
dynamic = [ "version" ]
26+
dependencies = [ "array-api-compat", "numpy>=2" ]
2727
optional-dependencies.accel = [ "numba>=0.57" ]
28-
optional-dependencies.array-api = [ "array-api-compat" ]
2928
optional-dependencies.dask = [ "dask>=2023.6.1" ]
30-
optional-dependencies.full = [ "fast-array-utils[accel,array-api,dask,sparse]", "h5py", "zarr" ]
29+
optional-dependencies.full = [ "fast-array-utils[accel,dask,sparse]", "h5py", "zarr" ]
3130
optional-dependencies.sparse = [ "scipy>=1.13" ]
3231
optional-dependencies.testing = [ "packaging" ]
3332
urls."Issue Tracker" = "https://github.com/scverse/fast-array-utils/issues"
@@ -42,7 +41,6 @@ test = [
4241
"jax",
4342
"jaxlib",
4443
"scikit-learn",
45-
"zarr",
4644
{ include-group = "test-min" },
4745
]
4846
doc = [
@@ -69,8 +67,7 @@ envs.docs.scripts.clean = "git clean -fdX docs"
6967
envs.docs.scripts.open = "python -m webbrowser -t docs/_build/html/index.html"
7068
envs.hatch-test.default-args = []
7169
envs.hatch-test.dependency-groups = [ "test-min" ]
72-
# TODO: remove scipy once https://github.com/pypa/hatch/pull/2127 is released
73-
envs.hatch-test.extra-dependencies = [ "ipykernel", "ipycytoscape", "scipy" ]
70+
envs.hatch-test.extra-dependencies = [ "ipykernel", "ipycytoscape" ]
7471
envs.hatch-test.env-vars.CODSPEED_PROFILE_FOLDER = "test-data/codspeed"
7572
envs.hatch-test.overrides.matrix.extras.dependency-groups = [
7673
{ if = [ "full" ], value = "test" },
@@ -85,9 +82,10 @@ envs.hatch-test.matrix = [
8582
{ python = [ "3.14", "3.12" ], extras = [ "full", "min" ] },
8683
{ python = [ "3.12" ], extras = [ "full" ], resolution = [ "lowest" ] },
8784
]
88-
metadata.hooks.docstring-description = {}
89-
metadata.hooks.fancy-pypi-readme.content-type = "text/x-rst"
90-
metadata.hooks.fancy-pypi-readme.fragments = [ { path = "README.rst", start-after = ".. begin" } ]
85+
# TODO: re-activate incl. `dynamic = [ "description", "readme", ... ]` after https://github.com/pypa/hatch/issues/2252
86+
# metadata.hooks.docstring-description = {}
87+
# metadata.hooks.fancy-pypi-readme.content-type = "text/x-rst"
88+
# metadata.hooks.fancy-pypi-readme.fragments = [ { path = "README.rst", start-after = ".. begin" } ]
9189
version.source = "vcs"
9290
version.raw-options = { local_scheme = "no-local-version" } # be able to publish dev version
9391

0 commit comments

Comments
 (0)