diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/py-tomli/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/py-tomli/package.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-tomli/package.py b/var/spack/repos/builtin/packages/py-tomli/package.py index a02b57c6c4..58bc46f161 100644 --- a/var/spack/repos/builtin/packages/py-tomli/package.py +++ b/var/spack/repos/builtin/packages/py-tomli/package.py @@ -16,6 +16,11 @@ class PyTomli(PythonPackage): list_url = "https://pypi.org/simple/tomli/" version( + "2.0.1", + sha256="939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc", + expand=False, + ) + version( "1.2.2", sha256="f04066f68f5554911363063a30b108d2b5a5b1a010aa8b6132af78489fe3aade", expand=False, @@ -27,3 +32,4 @@ class PyTomli(PythonPackage): ) depends_on("python@3.6:", type=("build", "run")) + depends_on("python@3.7:", when="@2.0.1:", type=("build", "run")) |