summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2019-10-20 11:19:51 -0500
committerGitHub <noreply@github.com>2019-10-20 11:19:51 -0500
commita2e7f0e9d2439ad7403cc8edbb179d4da538dd08 (patch)
tree1561d9c5e904cf833206bb0c7d656d209f431830
parent35362adb978419aa060283416e73a766d2f03c31 (diff)
downloadspack-a2e7f0e9d2439ad7403cc8edbb179d4da538dd08.tar.gz
spack-a2e7f0e9d2439ad7403cc8edbb179d4da538dd08.tar.bz2
spack-a2e7f0e9d2439ad7403cc8edbb179d4da538dd08.tar.xz
spack-a2e7f0e9d2439ad7403cc8edbb179d4da538dd08.zip
Add latest version of py-requests (#13296)
-rw-r--r--var/spack/repos/builtin/packages/py-requests/package.py16
1 files changed, 10 insertions, 6 deletions
diff --git a/var/spack/repos/builtin/packages/py-requests/package.py b/var/spack/repos/builtin/packages/py-requests/package.py
index 8a76d9622f..f93ad6d952 100644
--- a/var/spack/repos/builtin/packages/py-requests/package.py
+++ b/var/spack/repos/builtin/packages/py-requests/package.py
@@ -10,7 +10,7 @@ class PyRequests(PythonPackage):
"""Python HTTP for Humans."""
homepage = "http://python-requests.org"
- url = "https://pypi.io/packages/source/r/requests/requests-2.14.2.tar.gz"
+ url = "https://pypi.io/packages/source/r/requests/requests-2.22.0.tar.gz"
import_modules = [
'requests', 'requests.packages', 'requests.packages.chardet',
@@ -23,20 +23,24 @@ class PyRequests(PythonPackage):
'requests.packages.urllib3.contrib._securetransport'
]
+ version('2.22.0', sha256='11e007a8a2aa0323f5a921e9e6a2d7e4e67d9877e85773fba9ba6419025cbeb4')
version('2.21.0', sha256='502a824f31acdacb3a35b6690b5fbf0bc41d63a24a45c4004352b0242707598e')
version('2.14.2', sha256='a274abba399a23e8713ffd2b5706535ae280ebe2b8069ee6a941cb089440d153')
version('2.13.0', sha256='5722cd09762faa01276230270ff16af7acf7c5c45d623868d9ba116f15791ce8')
version('2.11.1', sha256='5acf980358283faba0b897c73959cecf8b841205bb4b2ad3ef545f46eae1a133')
version('2.3.0', sha256='1c1473875d846fe563d70868acf05b1953a4472f4695b7b3566d1d978957b8fc')
+ 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:3.0.999', type=('build', 'run'), when='@2.16.0:')
- depends_on('py-idna@2.5', type=('build', 'run'), when='@2.16.0:')
- depends_on('py-urllib3@1.21.1:1.21.999', type=('build', 'run'), when='@2.16.0:')
- depends_on('py-certifi@2017.4.17', type=('build', 'run'), when='@2.16.0:')
+ depends_on('py-idna@2.5:2.8', type=('build', 'run'), when='@2.16.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-certifi@2017.4.17:', type=('build', 'run'), when='@2.16.0:')
- depends_on('py-pytest@2.8.0:', type='test')
- depends_on('py-pytest-cov', type='test')
depends_on('py-pytest-httpbin@0.0.7', type='test')
+ depends_on('py-pytest-cov', type='test')
depends_on('py-pytest-mock', type='test')
+ depends_on('py-pytest-xdist', type='test')
+ depends_on('py-pysocks@1.5.6,1.5.8:', type='test')
+ depends_on('py-pytest@2.8.0:', type='test')