diff --git a/pyproject.toml b/pyproject.toml
index c16616c..4e14437 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -25,6 +25,7 @@ classifiers = [
 dependencies = [
   "asdf>=3",
   "pydantic>=2",
+  "numpy>=1.25"
 ]
 dynamic = ["version"]
 
@@ -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",