From 793197d311a49cd80cdc9a5506969506f3d1d239 Mon Sep 17 00:00:00 2001 From: Justin Carpentier Date: Sun, 25 Aug 2024 17:17:32 +0200 Subject: [PATCH 1/3] core: fix compatibility with NumPy 2.x on Windows --- src/numpy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/numpy.cpp b/src/numpy.cpp index e758ed02d..0621edc8b 100644 --- a/src/numpy.cpp +++ b/src/numpy.cpp @@ -57,7 +57,7 @@ void call_PyArray_InitArrFuncs(PyArray_ArrFuncs* funcs) { PyArray_InitArrFuncs(funcs); } -int call_PyArray_RegisterDataType(PyArray_Descr* dtype) { +int call_PyArray_RegisterDataType(PyArray_DescrProto* dtype) { return PyArray_RegisterDataType(dtype); } From a56c8308333b02174b9378c87c8e2d25a1c1b220 Mon Sep 17 00:00:00 2001 From: Justin Carpentier Date: Sun, 25 Aug 2024 17:17:51 +0200 Subject: [PATCH 2/3] cmake: sync submodule --- cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake b/cmake index 88d3cb561..b3c2af1b6 160000 --- a/cmake +++ b/cmake @@ -1 +1 @@ -Subproject commit 88d3cb561d1f9faa3c6281da7b2b8d6aa76b04d5 +Subproject commit b3c2af1b68686dc9d5f459fb617647e37a15a76d From 161293b575ea511a83b911ac2c0347e9c94131d3 Mon Sep 17 00:00:00 2001 From: Justin Carpentier Date: Sun, 25 Aug 2024 17:19:32 +0200 Subject: [PATCH 3/3] changelog: sync --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7079e9738..341f812ad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [Unreleased] +### Fixed +- Fix compatibility issue with NumPy 2.x on Windows ([#492](https://github.com/stack-of-tasks/eigenpy/pull/492)) + ## [3.8.0] - 2024-08-14 ### Added