Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package NumCpp for openSUSE:Factory checked 
in at 2025-01-19 21:49:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/NumCpp (Old)
 and      /work/SRC/openSUSE:Factory/.NumCpp.new.5589 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "NumCpp"

Sun Jan 19 21:49:05 2025 rev:4 rq:1238691 version:2.13.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/NumCpp/NumCpp.changes    2024-12-17 
19:25:06.685791203 +0100
+++ /work/SRC/openSUSE:Factory/.NumCpp.new.5589/NumCpp.changes  2025-01-19 
21:49:11.613968391 +0100
@@ -1,0 +2,17 @@
+Tue Jan 14 12:39:50 UTC 2025 - Atri Bhattacharya <[email protected]>
+
+- Update to version 2.13.0:
+  * Added putAlongAxis() [gh#dpilger26/NumCpp#217].
+  * Fixed random seeding [gh#dpilger26/NumCpp#218].
+  * Fixed error in fromfile() that limited filesize to 4GB
+    [gh#dpilger26/NumCpp#219].
+- Update NumCpp-disable-pytest.patch: In addition to disabling
+  pytest tests (not yet resolved), uncomment to enable gtest based
+  tests [gh#dpilger26/NumCpp#222].
+- Add NumCpp-add-tests.patch: Add `multitest` and `cppcheck` tests
+  to ctest to make testing during %check easy.
+- Restore ninja for build, does not affect issues related to
+  python linking errors during tests (disabled by
+  NumCpp-disable-pytest.patch).
+
+-------------------------------------------------------------------

Old:
----
  NumCpp-2.12.1.tar.gz

New:
----
  NumCpp-2.13.0.tar.gz
  NumCpp-add-tests.patch

BETA DEBUG BEGIN:
  New:  tests [gh#dpilger26/NumCpp#222].
- Add NumCpp-add-tests.patch: Add `multitest` and `cppcheck` tests
  to ctest to make testing during %check easy.
BETA DEBUG END:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ NumCpp.spec ++++++
--- /var/tmp/diff_new_pack.a6TlsZ/_old  2025-01-19 21:49:12.233993938 +0100
+++ /var/tmp/diff_new_pack.a6TlsZ/_new  2025-01-19 21:49:12.233993938 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package NumCpp
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,16 +16,18 @@
 #
 
 
-# %%define __builder ninja
+%define __builder ninja
 Name:           NumCpp
-Version:        2.12.1
+Version:        2.13.0
 Release:        0
 Summary:        C++ implementation of the Python Numpy library
 License:        MIT
 URL:            https://github.com/dpilger26/NumCpp
 Source:         
%{url}/archive/refs/tags/Version_%{version}.tar.gz#/%{name}-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM NumCpp-disable-pytest.patch [email protected] -- 
Disable pytests that are incorrectly setup for pybind11
+# PATCH-FIX-UPSTREAM NumCpp-disable-pytest.patch [email protected] -- 
Disable pytests that are incorrectly setup for pybind11 and enable gtest
 Patch0:         NumCpp-disable-pytest.patch
+# PATCH-FIX-UPSTREAM NumCpp-add-tests.patch [email protected] -- Add tests 
to cmake so that they can be run using ctest
+Patch1:         NumCpp-add-tests.patch
 BuildRequires:  c++_compiler
 BuildRequires:  cmake
 BuildRequires:  doxygen
@@ -66,10 +68,10 @@
 %build
 %cmake \
   -DNUMCPP_USE_MULTITHREAD:BOOL=ON \
-  -DBUILD_TESTS:BOOL=ON \
   -DBUILD_DOCS:BOOL=ON \
-  -DNUMCPP_INCLUDE_PYBIND_PYTHON_INTERFACE:BOOL=ON \
-  -DNUMCPP_INCLUDE_BOOST_PYTHON_INTERFACE:BOOL=ON \
+  -DBUILD_TESTS:BOOL=ON \
+  -DBUILD_MULTIPLE_TEST:BOOL=ON \
+  -DBUILD_CPPCHECK_TEST:BOOL=ON \
 %{nil}
 %cmake_build
 

++++++ NumCpp-2.12.1.tar.gz -> NumCpp-2.13.0.tar.gz ++++++
++++ 261448 lines of diff (skipped)

++++++ NumCpp-add-tests.patch ++++++
---
 test/cppcheck/CMakeLists.txt |    3 +++
 test/multiple/CMakeLists.txt |    3 +++
 2 files changed, 6 insertions(+)

Index: NumCpp-Version_2.13.0/test/multiple/CMakeLists.txt
===================================================================
--- NumCpp-Version_2.13.0.orig/test/multiple/CMakeLists.txt
+++ NumCpp-Version_2.13.0/test/multiple/CMakeLists.txt
@@ -18,3 +18,6 @@ target_include_directories(${TARGET_NAME
 target_link_libraries(${TARGET_NAME} PRIVATE 
     ${ALL_INTERFACE_TARGET}
 )
+
+add_test(NAME ${TARGET_NAME}
+    COMMAND ${TARGET_NAME})
Index: NumCpp-Version_2.13.0/test/cppcheck/CMakeLists.txt
===================================================================
--- NumCpp-Version_2.13.0.orig/test/cppcheck/CMakeLists.txt
+++ NumCpp-Version_2.13.0/test/cppcheck/CMakeLists.txt
@@ -11,3 +11,6 @@ target_include_directories(${TARGET_NAME
 target_link_libraries(${TARGET_NAME} PRIVATE 
     ${ALL_INTERFACE_TARGET}
 )
+
+add_test(NAME ${TARGET_NAME}
+    COMMAND ${TARGET_NAME})

++++++ NumCpp-disable-pytest.patch ++++++
--- /var/tmp/diff_new_pack.a6TlsZ/_old  2025-01-19 21:49:13.446043878 +0100
+++ /var/tmp/diff_new_pack.a6TlsZ/_new  2025-01-19 21:49:13.446043878 +0100
@@ -1,17 +1,18 @@
 
 ---
- test/CMakeLists.txt |    2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
+ test/CMakeLists.txt |    4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
 
-Index: NumCpp-Version_2.12.1/test/CMakeLists.txt
+Index: NumCpp-Version_2.13.0/test/CMakeLists.txt
 ===================================================================
---- NumCpp-Version_2.12.1.orig/test/CMakeLists.txt
-+++ NumCpp-Version_2.12.1/test/CMakeLists.txt
+--- NumCpp-Version_2.13.0.orig/test/CMakeLists.txt
++++ NumCpp-Version_2.13.0/test/CMakeLists.txt
 @@ -1,7 +1,7 @@
  if(BUILD_TESTS)
      message(STATUS "Configuring Unit Tests")
-     add_subdirectory(gtest)
+-    # add_subdirectory(gtest)
 -    add_subdirectory(pytest)
++    add_subdirectory(gtest)
 +    # add_subdirectory(pytest)
  endif()
  

Reply via email to