Skip to content

Commit

Permalink
feat!: drop support for numpy<=1.25
Browse files Browse the repository at this point in the history
  • Loading branch information
ketozhang committed Jun 28, 2024
1 parent fec9680 commit 1490161
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ classifiers = [
dependencies = [
"asdf>=3",
"pydantic>=2",
"numpy>=1.25"
]
dynamic = ["version"]

Expand Down Expand Up @@ -54,6 +55,22 @@ dependencies = [
test = "pytest {args}"
test-cov = "test --cov-report=term-missing --cov-config=pyproject.toml --cov=asdf_pydantic --cov=tests {args}"

[tool.hatch.envs.test]
template = "default"
matrix-name-format = "{variable}={value}"

[tool.hatch.envs.test.scripts]
test = "pytest {args}"

[[tool.hatch.envs.test.matrix]]
numpy-version = ["1", "2"]

[tool.hatch.envs.test.overrides]
matrix.numpy-version.dependencies = [
{ value = "numpy>=1,<2", if = ["1"] },
{ value = "numpy>=2,<3", if = ["2"] },
]

[tool.hatch.envs.docs]
dependencies = [
"sphinx",
Expand Down

0 comments on commit 1490161

Please sign in to comment.