summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGarth N. Wells <gnw20@cam.ac.uk>2024-10-11 06:19:17 +0100
committerGitHub <noreply@github.com>2024-10-10 23:19:17 -0600
commit08b07b9b2720209f26243bdfc45a42237815fed0 (patch)
tree056185b910232f5f1ca9ed10ab99daf2eed29f4c
parent3a381227648c82344e97088d264222a193c49742 (diff)
downloadspack-08b07b9b2720209f26243bdfc45a42237815fed0.tar.gz
spack-08b07b9b2720209f26243bdfc45a42237815fed0.tar.bz2
spack-08b07b9b2720209f26243bdfc45a42237815fed0.tar.xz
spack-08b07b9b2720209f26243bdfc45a42237815fed0.zip
py-nanobind: add v2.1.0 and v2.2.0 (#46884)
* Update nanobind versions * Small fix * More small fixes * Formatting update
-rw-r--r--var/spack/repos/builtin/packages/py-nanobind/package.py19
1 files changed, 14 insertions, 5 deletions
diff --git a/var/spack/repos/builtin/packages/py-nanobind/package.py b/var/spack/repos/builtin/packages/py-nanobind/package.py
index 5ea6ca685e..1147671f6f 100644
--- a/var/spack/repos/builtin/packages/py-nanobind/package.py
+++ b/var/spack/repos/builtin/packages/py-nanobind/package.py
@@ -24,6 +24,12 @@ class PyNanobind(PythonPackage):
version("master", branch="master", submodules=True)
version(
+ "2.2.0", tag="v2.2.0", commit="784efa2a0358a4dc5432c74f5685ee026e20f2b6", submodules=True
+ )
+ version(
+ "2.1.0", tag="v2.1.0", commit="9641bb7151f04120013b812789b3ebdfa7e7324f", submodules=True
+ )
+ version(
"2.0.0", tag="v2.0.0", commit="8d7f1ee0621c17fa370b704b2100ffa0243d5bfb", submodules=True
)
version(
@@ -57,12 +63,15 @@ class PyNanobind(PythonPackage):
depends_on("cxx", type="build") # generated
depends_on("python@3.8:", type=("build", "run"))
- depends_on("py-setuptools@42:", type="build")
- depends_on("py-scikit-build", type="build")
- depends_on("py-typing-extensions", when="@2:", type="build")
- depends_on("cmake@3.17:", type="build")
- depends_on("ninja", type="build")
+ depends_on("py-setuptools@42:", when="@:2.0", type="build")
+ depends_on("py-scikit-build", when="@:2.0", type="build")
+ depends_on("py-typing-extensions", when="@2.0", type="build")
+ depends_on("ninja", when="@2.0", type="build")
+ depends_on("cmake@3.17:", when="@:2.0", type="build")
+
+ depends_on("py-scikit-build-core+pyproject@0.9:", when="@2.1", type="build")
+ depends_on("py-scikit-build-core+pyproject@0.10:", when="@2.2:", type="build")
@property
def cmake_prefix_paths(self):