diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2024-11-24 15:37:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-24 15:37:06 +0100 |
commit | 150416919e3337d0d61b4a637936b9f9f2fda795 (patch) | |
tree | 31b905fe3fe5e8e8b311909c58dfa67a607dae31 | |
parent | 281c274e0b8388cb8b69b156af658f2be6c8e8fb (diff) | |
download | spack-150416919e3337d0d61b4a637936b9f9f2fda795.tar.gz spack-150416919e3337d0d61b4a637936b9f9f2fda795.tar.bz2 spack-150416919e3337d0d61b4a637936b9f9f2fda795.tar.xz spack-150416919e3337d0d61b4a637936b9f9f2fda795.zip |
py-pydantic-core: add v2.27.1 (#47771)
-rw-r--r-- | var/spack/repos/builtin/packages/py-pydantic-core/package.py | 4 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/py-pydantic/package.py | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/py-pydantic-core/package.py b/var/spack/repos/builtin/packages/py-pydantic-core/package.py index ec7dd02dfa..5bc50895c9 100644 --- a/var/spack/repos/builtin/packages/py-pydantic-core/package.py +++ b/var/spack/repos/builtin/packages/py-pydantic-core/package.py @@ -15,8 +15,12 @@ class PyPydanticCore(PythonPackage): license("MIT", checked_by="qwertos") + version("2.27.1", sha256="62a763352879b84aa31058fc931884055fd75089cccbd9d58bb6afd01141b235") version("2.18.4", sha256="ec3beeada09ff865c344ff3bc2f427f5e6c26401cc6113d77e372c3fdac73864") + # Based on PyPI wheel availability + depends_on("python@:3.13", type=("build", "run")) + depends_on("python@:3.12", when="@:2.19", type=("build", "run")) depends_on("rust@1.76:", type="build") depends_on("py-maturin@1", type="build") depends_on("py-typing-extensions@4.6,4.7.1:", type="build") diff --git a/var/spack/repos/builtin/packages/py-pydantic/package.py b/var/spack/repos/builtin/packages/py-pydantic/package.py index bfc6aa639b..a5fe38e4f7 100644 --- a/var/spack/repos/builtin/packages/py-pydantic/package.py +++ b/var/spack/repos/builtin/packages/py-pydantic/package.py @@ -14,6 +14,7 @@ class PyPydantic(PythonPackage): license("MIT") + version("2.10.1", sha256="a4daca2dc0aa429555e0656d6bf94873a7dc5f54ee42b1f5873d666fb3f35560") version("2.7.4", sha256="0c84efd9548d545f63ac0060c1e4d39bb9b14db8b3c0652338aecc07b5adec52") version("1.10.9", sha256="95c70da2cd3b6ddf3b9645ecaa8d98f3d80c606624b6d245558d202cd23ea3be") version("1.10.2", sha256="91b8e218852ef6007c2b98cd861601c6a09f1aa32bbbb74fab5b1c33d4a1e410") @@ -25,12 +26,13 @@ class PyPydantic(PythonPackage): depends_on("py-setuptools", type="build", when="@1") depends_on("py-hatchling", type="build", when="@2") depends_on("py-hatch-fancy-pypi-readme@22.5.0:", type="build", when="@2") + depends_on("py-typing-extensions@4.12.2:", when="@2.10:", type=("build", "run")) depends_on("py-typing-extensions@4.6.1:", when="@2.7.1:", type=("build", "run")) depends_on("py-typing-extensions@4.2:", when="@1.10.9:", type=("build", "run")) depends_on("py-typing-extensions@4.1:", when="@1.10:", type=("build", "run")) depends_on("py-typing-extensions@3.7.4.3:", type=("build", "run")) - + depends_on("py-annotated-types@0.6:", type=("build", "run"), when="@2.10:") depends_on("py-annotated-types@0.4.0:", type=("build", "run"), when="@2.7.4:") + depends_on("py-pydantic-core@2.27.1", type=("build", "run"), when="@2.10.1") depends_on("py-pydantic-core@2.18.4", type=("build", "run"), when="@2.7.4") - depends_on("py-python-dotenv@0.10.4:", when="@1 +dotenv", type=("build", "run")) |