py-cython: new version, python 3.11 upperbound (#40343)

This commit is contained in:
Harmen Stoppels 2023-10-23 09:37:20 +02:00 committed by GitHub
parent cfc5363053
commit a675156c70
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,6 +13,7 @@ class PyCython(PythonPackage):
pypi = "cython/Cython-0.29.21.tar.gz"
tags = ["build-tools"]
version("3.0.4", sha256="2e379b491ee985d31e5faaf050f79f4a8f59f482835906efe4477b33b4fbe9ff")
version("3.0.0", sha256="350b18f9673e63101dbbfcf774ee2f57c20ac4636d255741d76ca79016b1bd82")
version(
"3.0.0a9",
@ -45,6 +46,9 @@ class PyCython(PythonPackage):
version("0.23.5", sha256="0ae5a5451a190e03ee36922c4189ca2c88d1df40a89b4f224bc842d388a0d1b6")
version("0.23.4", sha256="fec42fecee35d6cc02887f1eef4e4952c97402ed2800bfe41bbd9ed1a0730d8e")
# https://github.com/cython/cython/issues/5751 (distutils not yet dropped)
depends_on("python@:3.11", type=("build", "link", "run"))
# https://github.com/cython/cython/commit/1cd24026e9cf6d63d539b359f8ba5155fd48ae21
# collections.Iterable was removed in Python 3.10
depends_on("python@:3.9", when="@:0.29.14", type=("build", "link", "run"))