diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-typing/package.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/py-typing/package.py b/var/spack/repos/builtin/packages/py-typing/package.py index ef88df584e..7b9d339fdc 100644 --- a/var/spack/repos/builtin/packages/py-typing/package.py +++ b/var/spack/repos/builtin/packages/py-typing/package.py @@ -13,10 +13,15 @@ class PyTyping(PythonPackage): homepage = "https://docs.python.org/3/library/typing.html" pypi = "typing/typing-3.7.4.1.tar.gz" + version('3.7.4.3', sha256='1187fb9c82fd670d10aa07bbb6cfcfe4bdda42d6fab8d5134f04e8c4d0b71cc9') version('3.7.4.1', sha256='91dfe6f3f706ee8cc32d38edbbf304e9b7583fb37108fef38229617f8b3eba23') version('3.6.6', sha256='4027c5f6127a6267a435201981ba156de91ad0d1d98e9ddc2aa173453453492d') version('3.6.4', sha256='d400a9344254803a2368533e4533a4200d21eb7b6b729c173bc38201a74db3f2') version('3.6.1', sha256='c36dec260238e7464213dcd50d4b5ef63a507972f5780652e835d0228d0edace') - depends_on('python@2.7:2.8,3.4:', type=('build', 'run')) + # Don't use this with new versions of python (3.5+) + # python 3.7 and later will actively not import + # https://github.com/python/typing/issues/573 + # _abc_registry now private https://bugs.python.org/issue31333 + depends_on('python@2.7:2.8,3.4:3.6', type=('build', 'run')) depends_on('py-setuptools', type='build') |