summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarmen Stoppels <me@harmenstoppels.nl>2023-10-23 09:37:20 +0200
committerGitHub <noreply@github.com>2023-10-23 09:37:20 +0200
commita675156c70f6506498f95da587c73e220ecc65c5 (patch)
treec81a6ad624bd80629c0702a31082f5683534c7c6
parentcfc5363053d4ee063273e3d69d658590920657dc (diff)
downloadspack-a675156c70f6506498f95da587c73e220ecc65c5.tar.gz
spack-a675156c70f6506498f95da587c73e220ecc65c5.tar.bz2
spack-a675156c70f6506498f95da587c73e220ecc65c5.tar.xz
spack-a675156c70f6506498f95da587c73e220ecc65c5.zip
py-cython: new version, python 3.11 upperbound (#40343)
-rw-r--r--var/spack/repos/builtin/packages/py-cython/package.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-cython/package.py b/var/spack/repos/builtin/packages/py-cython/package.py
index ba371b1b16..d0426c4039 100644
--- a/var/spack/repos/builtin/packages/py-cython/package.py
+++ b/var/spack/repos/builtin/packages/py-cython/package.py
@@ -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"))