summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorLydéric Debusschère <lyderic.de@gmail.com>2023-09-22 07:29:03 +0200
committerGitHub <noreply@github.com>2023-09-22 00:29:03 -0500
commitb67f6194487f074c71ec440ff1d311f0df572fc0 (patch)
treecb1615f841a8f802b22b9802163377daa7a1e348 /var
parent2755706115e69be6b9b1e7ed6c3d7abd985d4964 (diff)
downloadspack-b67f6194487f074c71ec440ff1d311f0df572fc0.tar.gz
spack-b67f6194487f074c71ec440ff1d311f0df572fc0.tar.bz2
spack-b67f6194487f074c71ec440ff1d311f0df572fc0.tar.xz
spack-b67f6194487f074c71ec440ff1d311f0df572fc0.zip
py-aiofiles: Add version 0.7.0 required by py-cylc-flow (#39987)
* py-aiofiles: Add version 0.7.0 required by py-cylc-flow * py-aiofiles: update from review * depends on py-setuptools before 0.6 * depends on py-poetry-core after 0.7 Co-authored-by: Manuela Kuhn <36827019+manuelakuhn@users.noreply.github.com> * py-aiofiles: Taking reviewing into account; add a upper version constraint for Python. * py-aiofiles: update from review, set lower version of python Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> --------- Co-authored-by: Manuela Kuhn <36827019+manuelakuhn@users.noreply.github.com> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-aiofiles/package.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/py-aiofiles/package.py b/var/spack/repos/builtin/packages/py-aiofiles/package.py
index b92bb4b26b..ed1e2dc3e6 100644
--- a/var/spack/repos/builtin/packages/py-aiofiles/package.py
+++ b/var/spack/repos/builtin/packages/py-aiofiles/package.py
@@ -13,7 +13,11 @@ class PyAiofiles(PythonPackage):
homepage = "https://github.com/Tinche/aiofiles"
pypi = "aiofiles/aiofiles-0.5.0.tar.gz"
+ version("0.7.0", sha256="a1c4fc9b2ff81568c83e21392a82f344ea9d23da906e4f6a52662764545e19d4")
version("0.5.0", sha256="98e6bcfd1b50f97db4980e182ddd509b7cc35909e903a8fe50d8849e02d815af")
- depends_on("py-setuptools", type="build")
- depends_on("py-wheel", type="build")
+ depends_on("python@3.6:3", when="@0.7:", type=("build", "run"))
+ depends_on("py-poetry-core@1:", when="@0.7:", type="build")
+
+ # Historical dependencies
+ depends_on("py-setuptools", when="@:0.6", type="build")