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>
This commit is contained in:
Lydéric Debusschère 2023-09-22 07:29:03 +02:00 committed by GitHub
parent 2755706115
commit b67f619448
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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")