diff --git a/var/spack/repos/builtin/packages/py-requests/package.py b/var/spack/repos/builtin/packages/py-requests/package.py index ab0400ca48..01e97ff5f3 100644 --- a/var/spack/repos/builtin/packages/py-requests/package.py +++ b/var/spack/repos/builtin/packages/py-requests/package.py @@ -12,6 +12,7 @@ class PyRequests(PythonPackage): homepage = "http://python-requests.org" pypi = "requests/requests-2.24.0.tar.gz" + version('2.25.1', sha256='27973dd4a904a4f13b263a19c866c13b92a39ed1c964655f025f3f8d3d75b804') version('2.24.0', sha256='b3559a131db72c33ee969480840fff4bb6dd111de7dd27c8ee1f820f4f00231b') version('2.23.0', sha256='b3f43d496c6daba4493e7c431722aeb7dbc6288f52a6e04e7b6023b0247817e6') version('2.22.0', sha256='11e007a8a2aa0323f5a921e9e6a2d7e4e67d9877e85773fba9ba6419025cbeb4') @@ -24,9 +25,11 @@ class PyRequests(PythonPackage): depends_on('python@2.7:2.8,3.5:', type=('build', 'run')) depends_on('py-setuptools', type='build') + depends_on('py-chardet@3.0.2:4.999', type=('build', 'run'), when='@2.25.1:') + depends_on('py-chardet@3.0.2:3.999', type=('build', 'run'), when='@2.23.0:2.25.0') depends_on('py-chardet@3.0.2:3.0.999', type=('build', 'run'), when='@2.16.0:2.22.999') - depends_on('py-idna@2.5:2.8', type=('build', 'run'), when='@2.16.0:2.22.999') - depends_on('py-chardet@3.0.2:3.999', type=('build', 'run'), when='@2.23.0:') depends_on('py-idna@2.5:2.999', type=('build', 'run'), when='@2.23.0:') - depends_on('py-urllib3@1.21.1:1.24,1.25.2:1.25.999', type=('build', 'run'), when='@2.16.0:') + depends_on('py-idna@2.5:2.8', type=('build', 'run'), when='@2.16.0:2.22.999') + depends_on('py-urllib3@1.21.1:1.26.999', type=('build', 'run'), when='@2.25.0:') + depends_on('py-urllib3@1.21.1:1.24,1.25.2:1.25.999', type=('build', 'run'), when='@2.16.0:2.24.999') depends_on('py-certifi@2017.4.17:', type=('build', 'run'), when='@2.16.0:')