-
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add a patch for dealing with buggy cython tracing on 3.12
- Loading branch information
1 parent
da60057
commit 2bebb38
Showing
3 changed files
with
33 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
recipe/patches/0002-explicitly-set-profile-False-in-levenshtein.pyx.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
From b50b84a8575089023169b0d85ce62b3712c0f3b6 Mon Sep 17 00:00:00 2001 | ||
From: "H. Vetinari" <h.vetinari@gmx.com> | ||
Date: Sun, 24 Nov 2024 19:54:31 +1100 | ||
Subject: [PATCH 2/2] explicitly set profile=False in levenshtein.pyx | ||
|
||
--- | ||
spacy/matcher/levenshtein.pyx | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/spacy/matcher/levenshtein.pyx b/spacy/matcher/levenshtein.pyx | ||
index e394f2cf4..81849d9ab 100644 | ||
--- a/spacy/matcher/levenshtein.pyx | ||
+++ b/spacy/matcher/levenshtein.pyx | ||
@@ -1,4 +1,4 @@ | ||
-# cython: binding=True, infer_types=True | ||
+# cython: binding=True, infer_types=True, profile=False | ||
from cpython.object cimport PyObject | ||
from libc.stdint cimport int64_t | ||
|