cython: fix recythonize by default patch (#40096)
This commit is contained in:
parent
bd8d121a23
commit
8bd54e2f8f
23
var/spack/repos/builtin/packages/py-cython/5712.patch
Normal file
23
var/spack/repos/builtin/packages/py-cython/5712.patch
Normal file
@ -0,0 +1,23 @@
|
||||
From d6b6df173dc43625c22f23503b22253db35848e2 Mon Sep 17 00:00:00 2001
|
||||
From: Harmen Stoppels <me@harmenstoppels.nl>
|
||||
Date: Tue, 19 Sep 2023 21:36:24 +0200
|
||||
Subject: [PATCH] cythonize 0.29.x: use force=None as default instead of
|
||||
force=False
|
||||
|
||||
---
|
||||
Cython/Build/Dependencies.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Cython/Build/Dependencies.py b/Cython/Build/Dependencies.py
|
||||
index 28c48ed8c3b..92fa96aa013 100644
|
||||
--- a/Cython/Build/Dependencies.py
|
||||
+++ b/Cython/Build/Dependencies.py
|
||||
@@ -878,7 +878,7 @@ class Extension_setuptools(Extension): pass
|
||||
|
||||
|
||||
# This is the user-exposed entry point.
|
||||
-def cythonize(module_list, exclude=None, nthreads=0, aliases=None, quiet=False, force=False, language=None,
|
||||
+def cythonize(module_list, exclude=None, nthreads=0, aliases=None, quiet=False, force=None, language=None,
|
||||
exclude_failures=False, **options):
|
||||
"""
|
||||
Compile a set of source modules into C/C++ files and return a list of distutils
|
@ -57,6 +57,7 @@ class PyCython(PythonPackage):
|
||||
|
||||
# Backports CYTHON_FORCE_REGEN environment variable
|
||||
patch("5307.patch", when="@0.29:0.29.33")
|
||||
patch("5712.patch", when="@0.29")
|
||||
|
||||
@property
|
||||
def command(self):
|
||||
|
Loading…
Reference in New Issue
Block a user