Skip to content

Commit

Permalink
DX: move NumPy version constraint to uv table
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer committed Dec 24, 2024
1 parent 3e2ec80 commit f98f8ec
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ dependencies = [
"ampform >=0.15.1", # aslatex with keyword arguments
"attrs >=20.1.0", # on_setattr and https://www.attrs.org/en/stable/api.html#next-gen
"cloudpickle",
"numpy~=1.0",
"numpy",
"qrules >=0.10.0",
"sympy >=1.10", # module sympy.printing.numpy and array expressions with shape kwarg
"tensorwaves[jax]",
Expand Down Expand Up @@ -470,3 +470,6 @@ commands =
pre-commit run --all-files {posargs}
description = Perform all linting, formatting, and spelling checks
"""

[tool.uv]
constraint-dependencies = ["numpy~=1.0"]
5 changes: 4 additions & 1 deletion uv.lock

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

0 comments on commit f98f8ec

Please sign in to comment.