summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJen Herting <jen@herting.cc>2024-09-16 15:02:22 -0400
committerGitHub <noreply@github.com>2024-09-16 12:02:22 -0700
commitfcc28d72e82b9724166f3868b513a597d3ae2257 (patch)
tree08c7a73c0ba708f824f657b1c07dd853aad1224c
parent8bc897cee13328301ad4bd748a1cbb55a35bcdd5 (diff)
downloadspack-fcc28d72e82b9724166f3868b513a597d3ae2257.tar.gz
spack-fcc28d72e82b9724166f3868b513a597d3ae2257.tar.bz2
spack-fcc28d72e82b9724166f3868b513a597d3ae2257.tar.xz
spack-fcc28d72e82b9724166f3868b513a597d3ae2257.zip
[py-httpx] Dependency fixes and simplifications (#46367)
-rw-r--r--var/spack/repos/builtin/packages/py-httpx/package.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/var/spack/repos/builtin/packages/py-httpx/package.py b/var/spack/repos/builtin/packages/py-httpx/package.py
index 7ec6171835..37be8063c4 100644
--- a/var/spack/repos/builtin/packages/py-httpx/package.py
+++ b/var/spack/repos/builtin/packages/py-httpx/package.py
@@ -24,7 +24,7 @@ class PyHttpx(PythonPackage):
variant("http2", default=False, when="@0.15.2:", description="Enable http2 support")
- depends_on("python@3.8", when="@0.27:", type=("build", "run"))
+ depends_on("python@3.8:", when="@0.27:", type=("build", "run"))
depends_on("py-setuptools", when="@:0.22", type="build")
depends_on("py-hatchling", when="@0.23:", type="build")
depends_on("py-hatch-fancy-pypi-readme", when="@0.23:", type="build")
@@ -32,7 +32,7 @@ class PyHttpx(PythonPackage):
with default_args(type=("build", "run")):
depends_on("py-certifi")
- depends_on("py-httpcore@0.11.0:0.11", when="@0.15.2")
+ depends_on("py-httpcore@0.11", when="@0.15.2")
depends_on("py-httpcore@0.14.5:0.14", when="@0.22")
depends_on("py-httpcore@0.15:0.16", when="@0.23")
depends_on("py-httpcore@1", when="@0.27:")
@@ -40,19 +40,19 @@ class PyHttpx(PythonPackage):
depends_on("py-anyio", when="@0.27:")
depends_on("py-idna", when="@0.27:")
- depends_on("py-sniffio@1.0:1", when="@0.11.1")
+ depends_on("py-sniffio@1", when="@0.11.1")
depends_on("py-sniffio", when="@0.15.2:")
- depends_on("py-h2@3.0:3", when="@0.11.1")
- depends_on("py-h2@3.0:3", when="@0.15.2+http2")
- depends_on("py-h2@3.0:4", when="@0.22.0:+http2")
+ depends_on("py-h2@3", when="@0.11.1")
+ depends_on("py-h2@3", when="@0.15.2+http2")
+ depends_on("py-h2@3:4", when="@0.22.0:+http2")
# Historical dependencies
depends_on("py-hstspreload", when="@0.11.1")
- depends_on("py-chardet@3.0:3", when="@0.11.1")
+ depends_on("py-chardet@3", when="@0.11.1")
depends_on("py-h11@0.8:0.9", when="@0.11.1")
- depends_on("py-idna@2.0:2", when="@0.11.1")
- depends_on("py-urllib3@1.0:1", when="@0.11.1")
+ depends_on("py-idna@2", when="@0.11.1")
+ depends_on("py-urllib3@1", when="@0.11.1")
depends_on("py-charset-normalizer", when="@0.22")
depends_on("py-rfc3986@1.3:1", when="@0.11.1")