diff options
author | Jen Herting <jen@herting.cc> | 2021-07-13 22:58:10 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-14 02:58:10 +0000 |
commit | e3fdbb976ea15ead661ec87cf07f4192632b6b9f (patch) | |
tree | a143b3b0f3da2b311332b27bdca9b55e4a4d5f4f /var | |
parent | f095383caf16aa95fcc0e222cc73b0fc97d40794 (diff) | |
download | spack-e3fdbb976ea15ead661ec87cf07f4192632b6b9f.tar.gz spack-e3fdbb976ea15ead661ec87cf07f4192632b6b9f.tar.bz2 spack-e3fdbb976ea15ead661ec87cf07f4192632b6b9f.tar.xz spack-e3fdbb976ea15ead661ec87cf07f4192632b6b9f.zip |
[py-transformers] added version 4.6.1 (#24571)
* [py-transformers] can now use newer versions of tokenizers
* [py-transformers] Added version 4.6.1
* [py-transformers] removing old patch
* [py-transformers] boto3 no longer needed
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-transformers/package.py | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/py-transformers/package.py b/var/spack/repos/builtin/packages/py-transformers/package.py index 732347591b..422f61f01d 100644 --- a/var/spack/repos/builtin/packages/py-transformers/package.py +++ b/var/spack/repos/builtin/packages/py-transformers/package.py @@ -13,17 +13,29 @@ class PyTransformers(PythonPackage): maintainers = ['adamjstewart'] + version('4.6.1', sha256='83dbff763b7e7dc57cbef1a6b849655d4fcab6bffdd955c5e8bea12a4f76dc10') version('2.8.0', sha256='b9f29cdfd39c28f29e0806c321270dea337d6174a7aa60daf9625bf83dbb12ee') depends_on('python@3.6:', type=('build', 'run')) depends_on('py-setuptools', type='build') + depends_on('py-numpy', type=('build', 'run')) - depends_on('py-tokenizers@0.5.2', type=('build', 'run')) + depends_on('py-numpy@1.17:', when='@4.6.1:', type=('build', 'run')) + + depends_on('py-tokenizers', type=('build', 'run')) + depends_on('py-tokenizers@0.10.1:0.10.999', when='@4.6.1:', type=('build', 'run')) + depends_on('py-dataclasses', when='^python@:3.6', type=('build', 'run')) - depends_on('py-boto3', type=('build', 'run')) + depends_on('py-boto3', when='@2.8.0', type=('build', 'run')) depends_on('py-filelock', type=('build', 'run')) depends_on('py-requests', type=('build', 'run')) depends_on('py-tqdm@4.27:', type=('build', 'run')) depends_on('py-regex@:2019.12.16,2019.12.18:', type=('build', 'run')) + depends_on('py-sentencepiece', type=('build', 'run')) + depends_on('py-sentencepiece@0.1.91', when='@4.6.1:', type=('build', 'run')) + depends_on('py-sacremoses', type=('build', 'run')) + depends_on('py-importlib-metadata', when='@4.6.1: ^python@:3.7.999', type=('build', 'run')) + depends_on('py-huggingface-hub@0.0.8', when='@4.6.1:', type=('build', 'run')) + depends_on('py-packaging', when='@4.6.1:', type=('build', 'run')) |