Skip to content

Commit 8c1c31a

Browse files
authored
Add numba constraint (#9572)
So we're compatible with astral-sh/uv#7881. Notes inline
1 parent 584b940 commit 8c1c31a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Diff for: pyproject.toml

+6-1
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,13 @@ dependencies = [
2727
"pandas>=2.1",
2828
]
2929

30+
# We don't encode minimum requirements here (though if we can write a script to
31+
# generate the text from `min_deps_check.py`, that's welcome...). We do add
32+
# `numba>=0.54` here because of https://github.com/astral-sh/uv/issues/7881;
33+
# note that it's not a direct dependency of xarray.
34+
3035
[project.optional-dependencies]
31-
accel = ["scipy", "bottleneck", "numbagg", "flox", "opt_einsum"]
36+
accel = ["scipy", "bottleneck", "numbagg", "numba>=0.54", "flox", "opt_einsum"]
3237
complete = ["xarray[accel,etc,io,parallel,viz]"]
3338
dev = [
3439
"hypothesis",

0 commit comments

Comments
 (0)