From 0e47548cb600aa1a129e967de08aab78b5e919f5 Mon Sep 17 00:00:00 2001 From: Manuela Kuhn <36827019+manuelakuhn@users.noreply.github.com> Date: Mon, 18 Sep 2023 18:34:01 +0200 Subject: [PATCH] py-types-requests: add 2.31.0.2 (#40039) --- .../repos/builtin/packages/py-types-requests/package.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/var/spack/repos/builtin/packages/py-types-requests/package.py b/var/spack/repos/builtin/packages/py-types-requests/package.py index 4c6e79bc48..17db94f04e 100644 --- a/var/spack/repos/builtin/packages/py-types-requests/package.py +++ b/var/spack/repos/builtin/packages/py-types-requests/package.py @@ -12,9 +12,10 @@ class PyTypesRequests(PythonPackage): homepage = "https://github.com/python/typeshed" pypi = "types-requests/types-requests-2.28.10.tar.gz" + version("2.31.0.2", sha256="6aa3f7faf0ea52d728bb18c0a0d1522d9bfd8c72d26ff6f61bfc3d06a411cf40") version("2.28.10", sha256="97d8f40aa1ffe1e58c3726c77d63c182daea9a72d9f1fa2cafdea756b2a19f2c") - depends_on("python@3.7:", type=("build", "run")) depends_on("py-setuptools", type="build") - depends_on("py-types-urllib3@:1.26", type=("build", "run")) + depends_on("py-types-urllib3", type=("build", "run")) + depends_on("py-types-urllib3@:1.26", when="@:2.29", type=("build", "run"))