Skip to content

Commit

Permalink
Add numba constraint
Browse files Browse the repository at this point in the history
So we're compatible with astral-sh/uv#7881. Notes inline
  • Loading branch information
max-sixty committed Oct 2, 2024
1 parent 584b940 commit dd6540a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,13 @@ dependencies = [
"pandas>=2.1",
]

# We don't encode minimum requirements here (though if we can write a script to
# generate the text from `min_deps_check.py`, that's welcome...). We do add
# `numba>=0.54` here because of https://github.com/astral-sh/uv/issues/7881;
# note that it's not a direct dependency of xarray.

[project.optional-dependencies]
accel = ["scipy", "bottleneck", "numbagg", "flox", "opt_einsum"]
accel = ["scipy", "bottleneck", "numbagg", "numba>=0.54", "flox", "opt_einsum"]
complete = ["xarray[accel,etc,io,parallel,viz]"]
dev = [
"hypothesis",
Expand Down

0 comments on commit dd6540a

Please sign in to comment.