File: 0001-No-freethreading_compatible.patch

package info (click to toggle)
pykdtree 1.4.3%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 248 kB
  • sloc: python: 500; makefile: 18
file content (22 lines) | stat: -rw-r--r-- 746 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Antonio Valentino <antonio.valentino@tiscali.it>
Date: Sat, 9 Aug 2025 08:34:14 +0000
Subject: No freethreading_compatible

Forwarded: not-needed
---
 setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index 9efdf8d..8d0da2e 100644
--- a/setup.py
+++ b/setup.py
@@ -190,7 +190,7 @@ extensions = [
     Extension('pykdtree.kdtree', sources=['pykdtree/kdtree.pyx', 'pykdtree/_kdtree_core.c'],
               include_dirs=[np.get_include()],
               define_macros=[("NPY_NO_DEPRECATED_API", "NPY_1_25_API_VERSION")],
-              cython_directives={"language_level": "3", "freethreading_compatible": True},
+              cython_directives={"language_level": "3"},
               ),
 ]