From c06ffceb8644f3a509c24e498401585dc19aea34 Mon Sep 17 00:00:00 2001 From: Alexander Shadchin Date: Tue, 6 Jan 2026 13:26:42 +0300 Subject: [PATCH] Avoiding conflict with pygit2 for static build --- numpy/_core/src/umath/_rational_tests.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/numpy/_core/src/umath/_rational_tests.c b/numpy/_core/src/umath/_rational_tests.c index d257bc22d051..c00c8468b651 100644 --- a/numpy/_core/src/umath/_rational_tests.c +++ b/numpy/_core/src/umath/_rational_tests.c @@ -1097,7 +1097,7 @@ rational_ufunc_test_add_rationals(char** args, npy_intp const *dimensions, } -PyMethodDef module_methods[] = { +static PyMethodDef module_methods[] = { {0} /* sentinel */ };