From 14c5d26c48cd72e65d60e29075fb5dd801f30850 Mon Sep 17 00:00:00 2001 From: Jen Herting Date: Sat, 2 Apr 2022 02:42:33 -0400 Subject: [PATCH] [py-httpcore] added version 0.14.7 (#29805) * [py-httpcore] py-wheel is implied by PythonPackage * [py-httpcore] python packages are type=('build', 'run') * [py-httpcore] fixed dependency versions * [py-httpcore] added version 0.14.7 --- .../repos/builtin/packages/py-httpcore/package.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/var/spack/repos/builtin/packages/py-httpcore/package.py b/var/spack/repos/builtin/packages/py-httpcore/package.py index e0a4cdb4cc..0fe289a88d 100644 --- a/var/spack/repos/builtin/packages/py-httpcore/package.py +++ b/var/spack/repos/builtin/packages/py-httpcore/package.py @@ -13,9 +13,13 @@ class PyHttpcore(PythonPackage): homepage = "https://github.com/encode/httpcore" pypi = "httpcore/httpcore-0.11.0.tar.gz" + version('0.14.7', sha256='7503ec1c0f559066e7e39bc4003fd2ce023d01cf51793e3c173b864eb456ead1') version('0.11.0', sha256='35ffc735d746b83f8fc6d36f82600e56117b9e8adc65d0c0423264b6ebfef7bf') - depends_on('py-setuptools', type='build') - depends_on('py-wheel', type='build') - depends_on('py-sniffio@1.0:') - depends_on('py-h11@0.8:0.9') + depends_on('python@3.6:', type=('build', 'run')) + depends_on('py-setuptools', type='build') + depends_on('py-sniffio@1.0:1', type=('build', 'run')) + depends_on('py-h11@0.8:0.9', type=('build', 'run'), when='@0.11.0') + depends_on('py-h11@0.11:0.12', type=('build', 'run'), when='@0.14.7') + depends_on('py-anyio@3.0:3', type=('build', 'run'), when='@0.14.7') + depends_on('py-certifi', type=('build', 'run'), when='@0.14.7:')