Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package xtensor-python for openSUSE:Factory 
checked in at 2026-03-23 17:16:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xtensor-python (Old)
 and      /work/SRC/openSUSE:Factory/.xtensor-python.new.8177 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xtensor-python"

Mon Mar 23 17:16:05 2026 rev:6 rq:1342050 version:0.29.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/xtensor-python/xtensor-python.changes    
2025-08-19 16:49:04.938265121 +0200
+++ /work/SRC/openSUSE:Factory/.xtensor-python.new.8177/xtensor-python.changes  
2026-03-23 17:17:59.017189401 +0100
@@ -1,0 +2,6 @@
+Mon Mar  9 08:08:17 UTC 2026 - Matwey Kornilov <[email protected]>
+
+- Update to 0.29
+- Drop 0001-Install-as-arch-independent.patch: upstreamed
+
+-------------------------------------------------------------------

Old:
----
  0001-Install-as-arch-independent.patch
  xtensor-python-0.28.0.tar.gz

New:
----
  xtensor-python-0.29.0.tar.gz

----------(Old B)----------
  Old:- Update to 0.29
- Drop 0001-Install-as-arch-independent.patch: upstreamed
----------(Old E)----------

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

Other differences:
------------------
++++++ xtensor-python.spec ++++++
--- /var/tmp/diff_new_pack.o4RglU/_old  2026-03-23 17:17:59.601213620 +0100
+++ /var/tmp/diff_new_pack.o4RglU/_new  2026-03-23 17:17:59.601213620 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package xtensor-python
 #
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,13 +17,12 @@
 
 
 Name:           xtensor-python
-Version:        0.28.0
+Version:        0.29.0
 Release:        0
 Summary:        Python bindings for the xtensor C++ multi-dimensional array 
library
 License:        BSD-3-Clause
 URL:            https://github.com/xtensor-stack/xtensor-python
 Source0:        
https://github.com/xtensor-stack/xtensor-python/archive/refs/tags/%{version}/%{name}-%{version}.tar.gz
-Patch0:         0001-Install-as-arch-independent.patch
 BuildRequires:  %{python_module breathe}
 BuildRequires:  %{python_module numpy-devel}
 BuildRequires:  %{python_module sphinx_rtd_theme}
@@ -36,7 +35,7 @@
 BuildRequires:  gtest
 BuildRequires:  make
 BuildRequires:  python-rpm-macros
-BuildRequires:  xtensor-devel >= 0.26
+BuildRequires:  xtensor-devel >= 0.27
 BuildRequires:  cmake(pybind11) >= 2.6.1
 Group:          Development/Libraries/C and C++
 

++++++ xtensor-python-0.28.0.tar.gz -> xtensor-python-0.29.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/xtensor-python-0.28.0/CMakeLists.txt 
new/xtensor-python-0.29.0/CMakeLists.txt
--- old/xtensor-python-0.28.0/CMakeLists.txt    2025-04-14 10:24:09.000000000 
+0200
+++ new/xtensor-python-0.29.0/CMakeLists.txt    2025-10-10 11:36:50.000000000 
+0200
@@ -32,7 +32,7 @@
 # Dependencies
 # ============
 
-set(xtensor_REQUIRED_VERSION 0.26.0)
+set(xtensor_REQUIRED_VERSION 0.27.0)
 if(TARGET xtensor)
     set(xtensor_VERSION 
${XTENSOR_VERSION_MAJOR}.${XTENSOR_VERSION_MINOR}.${XTENSOR_VERSION_PATCH})
     # Note: This is not SEMVER compatible comparison
@@ -48,7 +48,7 @@
 
 find_package(Python COMPONENTS Interpreter REQUIRED)
 
-set(pybind11_REQUIRED_VERSION 2.6.1)
+set(pybind11_REQUIRED_VERSION 3.0.0)
 if (NOT TARGET pybind11::headers)
     # Defaults to ON for cmake >= 3.18
     # 
https://github.com/pybind/pybind11/blob/35ff42b56e9d34d9a944266eb25f2c899dbdfed7/CMakeLists.txt#L96
@@ -124,13 +124,14 @@
 install(FILES ${XTENSOR_PYTHON_HEADERS}
         DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/xtensor-python)
 
+
 configure_file(${PROJECT_NAME}.pc.in
                "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.pc"
                 @ONLY)
 install(FILES "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.pc"
         DESTINATION "${CMAKE_INSTALL_DATADIR}/pkgconfig/")
 
-set(XTENSOR_PYTHON_CMAKECONFIG_INSTALL_DIR 
"${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}" CACHE
+set(XTENSOR_PYTHON_CMAKECONFIG_INSTALL_DIR 
"${CMAKE_INSTALL_DATADIR}/cmake/${PROJECT_NAME}" CACHE
     STRING "install path for xtensor-pythonConfig.cmake")
 
 configure_package_config_file(${PROJECT_NAME}Config.cmake.in
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/xtensor-python-0.28.0/README.md 
new/xtensor-python-0.29.0/README.md
--- old/xtensor-python-0.28.0/README.md 2025-04-14 10:24:09.000000000 +0200
+++ new/xtensor-python-0.29.0/README.md 2025-10-10 11:36:50.000000000 +0200
@@ -204,7 +204,8 @@
 
 | `xtensor-python` | `xtensor` |  `pybind11`      |
 |------------------|-----------|------------------|
-| master           |  ^0.26.0  | >=2.6.1,<3       |
+| master           |  ^0.27.0  | >=2.6.1,<4       |
+| 0.29.0           |  ^0.27.0  | >=2.6.1,<4       |
 | 0.28.0           |  ^0.26.0  | >=2.6.1,<3       |
 | 0.27.0           |  ^0.25.0  | >=2.6.1,<3       |
 | 0.26.1           |  ^0.24.0  | ~2.4.3           |
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/xtensor-python-0.28.0/environment-dev.yml 
new/xtensor-python-0.29.0/environment-dev.yml
--- old/xtensor-python-0.28.0/environment-dev.yml       2025-04-14 
10:24:09.000000000 +0200
+++ new/xtensor-python-0.29.0/environment-dev.yml       2025-10-10 
11:36:50.000000000 +0200
@@ -6,9 +6,9 @@
   - cmake
   - ninja
   # Host dependencies
-  - xtensor>=0.26,<0.27
+  - xtensor>=0.27,<0.28
   - numpy>=2.0
-  - pybind11>=2.12.0,<3
+  - pybind11>=2.12.0,<4
   # Test dependencies
   - setuptools
   - pytest
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/xtensor-python-0.28.0/include/xtensor-python/pyarray.hpp 
new/xtensor-python-0.29.0/include/xtensor-python/pyarray.hpp
--- old/xtensor-python-0.28.0/include/xtensor-python/pyarray.hpp        
2025-04-14 10:24:09.000000000 +0200
+++ new/xtensor-python-0.29.0/include/xtensor-python/pyarray.hpp        
2025-10-10 11:36:50.000000000 +0200
@@ -195,7 +195,7 @@
         static self_type ensure(pybind11::handle h);
         static bool check_(pybind11::handle h);
 
-#if PYBIND11_VERSION_MAJOR == 2 && PYBIND11_VERSION_MINOR >= 3
+#if (PYBIND11_VERSION_MAJOR == 2 && PYBIND11_VERSION_MINOR >= 3) || 
PYBIND11_VERSION_MAJOR >= 3
         // Prevent ambiguous overload resolution for operators defined for
         // both xt::xcontainer_semantic and pybind11::object.
         using semantic_base::operator+=;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/xtensor-python-0.28.0/include/xtensor-python/pycontainer.hpp 
new/xtensor-python-0.29.0/include/xtensor-python/pycontainer.hpp
--- old/xtensor-python-0.28.0/include/xtensor-python/pycontainer.hpp    
2025-04-14 10:24:09.000000000 +0200
+++ new/xtensor-python-0.29.0/include/xtensor-python/pycontainer.hpp    
2025-10-10 11:36:50.000000000 +0200
@@ -129,7 +129,7 @@
 
     private:
 
-#if PYBIND11_VERSION_MAJOR == 2 && PYBIND11_VERSION_MINOR >= 3
+#if (PYBIND11_VERSION_MAJOR == 2 && PYBIND11_VERSION_MINOR >= 3) || 
PYBIND11_VERSION_MAJOR >= 3
         // Prevent ambiguous overload resolution for operators defined for
         // both xt::xcontainer and pybind11::object.
         using pybind11::object::operator~;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/xtensor-python-0.28.0/include/xtensor-python/pystrides_adaptor.hpp 
new/xtensor-python-0.29.0/include/xtensor-python/pystrides_adaptor.hpp
--- old/xtensor-python-0.28.0/include/xtensor-python/pystrides_adaptor.hpp      
2025-04-14 10:24:09.000000000 +0200
+++ new/xtensor-python-0.29.0/include/xtensor-python/pystrides_adaptor.hpp      
2025-10-10 11:36:50.000000000 +0200
@@ -89,6 +89,8 @@
         using iterator_category = std::random_access_iterator_tag;
         using shape_pointer = typename pystrides_adaptor<N>::shape_type;
 
+        pystrides_iterator() = default;
+
         inline pystrides_iterator(pointer current, shape_pointer shape)
             : p_current(current)
             , p_shape(shape)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/xtensor-python-0.28.0/include/xtensor-python/pytensor.hpp 
new/xtensor-python-0.29.0/include/xtensor-python/pytensor.hpp
--- old/xtensor-python-0.28.0/include/xtensor-python/pytensor.hpp       
2025-04-14 10:24:09.000000000 +0200
+++ new/xtensor-python-0.29.0/include/xtensor-python/pytensor.hpp       
2025-10-10 11:36:50.000000000 +0200
@@ -214,7 +214,7 @@
         static self_type ensure(pybind11::handle h);
         static bool check_(pybind11::handle h);
 
-#if PYBIND11_VERSION_MAJOR == 2 && PYBIND11_VERSION_MINOR >= 3
+#if (PYBIND11_VERSION_MAJOR == 2 && PYBIND11_VERSION_MINOR >= 3) || 
(PYBIND11_VERSION_MAJOR >= 3)
         // Prevent ambiguous overload resolution for operators defined for
         // both xt::xcontainer_semantic and pybind11::object.
         using semantic_base::operator+=;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/xtensor-python-0.28.0/include/xtensor-python/xtensor_python_config.hpp 
new/xtensor-python-0.29.0/include/xtensor-python/xtensor_python_config.hpp
--- old/xtensor-python-0.28.0/include/xtensor-python/xtensor_python_config.hpp  
2025-04-14 10:24:09.000000000 +0200
+++ new/xtensor-python-0.29.0/include/xtensor-python/xtensor_python_config.hpp  
2025-10-10 11:36:50.000000000 +0200
@@ -11,7 +11,7 @@
 #define XTENSOR_PYTHON_CONFIG_HPP
 
 #define XTENSOR_PYTHON_VERSION_MAJOR 0
-#define XTENSOR_PYTHON_VERSION_MINOR 28
+#define XTENSOR_PYTHON_VERSION_MINOR 29
 #define XTENSOR_PYTHON_VERSION_PATCH 0
 
 #endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/xtensor-python-0.28.0/test_python/setup.py 
new/xtensor-python-0.29.0/test_python/setup.py
--- old/xtensor-python-0.28.0/test_python/setup.py      2025-04-14 
10:24:09.000000000 +0200
+++ new/xtensor-python-0.29.0/test_python/setup.py      2025-10-10 
11:36:50.000000000 +0200
@@ -78,8 +78,8 @@
     """Return the -std=c++17 compiler flag  and errors when the flag is
     no available.
     """
-    if has_flag(compiler, '-std=c++17'):
-        return '-std=c++17'
+    if has_flag(compiler, '-std=c++20'):
+        return '-std=c++20'
     else:
         raise RuntimeError('C++17 support is required by xtensor!')
 
@@ -104,7 +104,7 @@
                 opts.append('-fvisibility=hidden')
         elif ct == 'msvc':
             opts.append('/DVERSION_INFO=\\"%s\\"' % 
self.distribution.get_version())
-            opts.append('/std:c++17')
+            opts.append('/std:c++20')
         for ext in self.extensions:
             ext.extra_compile_args = opts
         build_ext.build_extensions(self)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/xtensor-python-0.28.0/test_python/test_pyarray.py 
new/xtensor-python-0.29.0/test_python/test_pyarray.py
--- old/xtensor-python-0.28.0/test_python/test_pyarray.py       2025-04-14 
10:24:09.000000000 +0200
+++ new/xtensor-python-0.29.0/test_python/test_pyarray.py       2025-10-10 
11:36:50.000000000 +0200
@@ -23,7 +23,6 @@
 import numpy as np
 
 class XtensorTest(TestCase):
-    """
     def test_rm(self):
         xt.test_rm(np.array([10], dtype=int))
 
@@ -62,7 +61,6 @@
         with self.assertRaises(TypeError):
             x = np.arange(3*2).reshape(3, 2)
             xt.example3_xfixed2(x)
-    """
     def test_broadcast_addition(self):
         x = np.array([[2., 3., 4., 5.]])
         y = np.array([[1., 2., 3., 4.],
@@ -73,7 +71,6 @@
                         [3., 5., 7., 9.]])
         z = xt.array_addition(x, y)
         np.testing.assert_allclose(z, res, 1e-12)
-    """
     def test_broadcast_subtraction(self):
         x = np.array([[4., 5., 6., 7.]])
         y = np.array([[4., 3., 2., 1.],
@@ -307,7 +304,6 @@
         self.assertEqual(adapter.shape, (2, 2))
         adapter[1, 1] = -3
         self.assertEqual(arr[0, 5], -3)
-     """
 
 class AttributeTest(TestCase):
 

Reply via email to