From edc1c3505b03cf1ab38e284ae341a8670cf153e9 Mon Sep 17 00:00:00 2001 From: sergesanspaille Date: Thu, 31 Jul 2025 10:10:18 +0200 Subject: [PATCH 1/7] Backport PyBind11 3.x compatibility patch Fix rhbz#2383231 --- .gitignore | 1 + sources | 1 + xtensor-python.spec | 1 + 3 files changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index a7e0e85..154b264 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /xtensor-python-0.23.1.tar.gz /xtensor-python-0.24.1.tar.gz /xtensor-python-0.26.0.tar.gz +/324.diff diff --git a/sources b/sources index 44c806e..4963f36 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ +SHA512 (324.diff) = 379dd32dbe806a5c2b9351506030cf746950555fa2408401d3a901a1357321fd681cee169b2055e049d52a693a2d4fb743438d99883653aa64a33861330f0136 SHA512 (xtensor-python-0.26.0.tar.gz) = 7a7318fe212e354466175cda4bd264e56da3faf190aa34b6b086373fa08b7181a9356db4d396b8932d0be4738cb33fd4fb378c60bb94b3f8c858178b31acac89 diff --git a/xtensor-python.spec b/xtensor-python.spec index fe47c52..8df333b 100644 --- a/xtensor-python.spec +++ b/xtensor-python.spec @@ -10,6 +10,7 @@ URL: https://xtensor-python.readthedocs.io/ %global github https://github.com/QuantStack/xtensor-python Source0: %{github}/archive/%{version}/%{name}-%{version}.tar.gz +Patch0: %{github}/pull/324.diff # because xtensor does so for armv7hl, ppc64le and s390x ExcludeArch: armv7hl ppc64le s390x From b91c5e3d0fe1f602134f6b5fbe7341f1ef1bf134 Mon Sep 17 00:00:00 2001 From: sergesanspaille Date: Thu, 31 Jul 2025 16:53:16 +0200 Subject: [PATCH 2/7] Backport PyBind11 3.x compatibility patch again --- .gitignore | 1 + sources | 1 + xtensor-python.spec | 1 + 3 files changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 154b264..d4455ad 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /xtensor-python-0.24.1.tar.gz /xtensor-python-0.26.0.tar.gz /324.diff +/326.diff diff --git a/sources b/sources index 4963f36..eac2983 100644 --- a/sources +++ b/sources @@ -1,2 +1,3 @@ +SHA512 (326.diff) = d2a6110f360ae68e3463d07fcbda5825ab7f41d23fee722216170f42a85c8b3236d3f6df2a4493e3a89ca9eee2bb796df0659d0a59028cc7f2c9d6f521a32493 SHA512 (324.diff) = 379dd32dbe806a5c2b9351506030cf746950555fa2408401d3a901a1357321fd681cee169b2055e049d52a693a2d4fb743438d99883653aa64a33861330f0136 SHA512 (xtensor-python-0.26.0.tar.gz) = 7a7318fe212e354466175cda4bd264e56da3faf190aa34b6b086373fa08b7181a9356db4d396b8932d0be4738cb33fd4fb378c60bb94b3f8c858178b31acac89 diff --git a/xtensor-python.spec b/xtensor-python.spec index 8df333b..76d531a 100644 --- a/xtensor-python.spec +++ b/xtensor-python.spec @@ -11,6 +11,7 @@ URL: https://xtensor-python.readthedocs.io/ %global github https://github.com/QuantStack/xtensor-python Source0: %{github}/archive/%{version}/%{name}-%{version}.tar.gz Patch0: %{github}/pull/324.diff +Patch1: %{github}/pull/326.diff # because xtensor does so for armv7hl, ppc64le and s390x ExcludeArch: armv7hl ppc64le s390x From de4404ab661568b4b02729a215c6fd1affe4d6f6 Mon Sep 17 00:00:00 2001 From: sergesanspaille Date: Thu, 31 Jul 2025 17:59:00 +0200 Subject: [PATCH 3/7] Backport PyBind11 3.x compatibility patch Again --- .gitignore | 1 + sources | 1 + xtensor-python.spec | 1 + 3 files changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index d4455ad..5f73308 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /xtensor-python-0.26.0.tar.gz /324.diff /326.diff +/325.diff diff --git a/sources b/sources index eac2983..81812f7 100644 --- a/sources +++ b/sources @@ -1,3 +1,4 @@ +SHA512 (325.diff) = b8665edc81840c8fe247ce75b1224b6ea457748cb28e937f48da919c7f0750b9eeca6e75af087b8f74a748d050dd7f156b570c73e45e98410568616b168d6df0 SHA512 (326.diff) = d2a6110f360ae68e3463d07fcbda5825ab7f41d23fee722216170f42a85c8b3236d3f6df2a4493e3a89ca9eee2bb796df0659d0a59028cc7f2c9d6f521a32493 SHA512 (324.diff) = 379dd32dbe806a5c2b9351506030cf746950555fa2408401d3a901a1357321fd681cee169b2055e049d52a693a2d4fb743438d99883653aa64a33861330f0136 SHA512 (xtensor-python-0.26.0.tar.gz) = 7a7318fe212e354466175cda4bd264e56da3faf190aa34b6b086373fa08b7181a9356db4d396b8932d0be4738cb33fd4fb378c60bb94b3f8c858178b31acac89 diff --git a/xtensor-python.spec b/xtensor-python.spec index 76d531a..9f90240 100644 --- a/xtensor-python.spec +++ b/xtensor-python.spec @@ -12,6 +12,7 @@ URL: https://xtensor-python.readthedocs.io/ Source0: %{github}/archive/%{version}/%{name}-%{version}.tar.gz Patch0: %{github}/pull/324.diff Patch1: %{github}/pull/326.diff +Patch2: %{github}/pull/325.diff # because xtensor does so for armv7hl, ppc64le and s390x ExcludeArch: armv7hl ppc64le s390x From 6f357d8cd6d429d507b1e0854ded0e5ee7835d4c Mon Sep 17 00:00:00 2001 From: sergesanspaille Date: Thu, 31 Jul 2025 10:10:18 +0200 Subject: [PATCH 4/7] Backport PyBind11 3.x compatibility patch Fix rhbz#2383231 --- .gitignore | 5 +++++ sources | 6 +++++- xtensor-python.spec | 7 ++++++- 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index a7e0e85..a7f60bd 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,8 @@ /xtensor-python-0.23.1.tar.gz /xtensor-python-0.24.1.tar.gz /xtensor-python-0.26.0.tar.gz +/324.diff +/326.diff +/325.diff +/xtensor-python-0.28.0.tar.gz +/327.diff diff --git a/sources b/sources index 44c806e..b5dbb35 100644 --- a/sources +++ b/sources @@ -1 +1,5 @@ -SHA512 (xtensor-python-0.26.0.tar.gz) = 7a7318fe212e354466175cda4bd264e56da3faf190aa34b6b086373fa08b7181a9356db4d396b8932d0be4738cb33fd4fb378c60bb94b3f8c858178b31acac89 +SHA512 (327.diff) = 028b1c4f01eb9cc5c6e3742f21a0afd890870afce2ab128abc765772fb269bd4ed882cf9a2c1e9900c9740ed5017dfe51ca0060d1ffc795332c83ff9f799369d +SHA512 (325.diff) = 438fccb0dfd5a18a245678960edf07bb35187056e51fe1a1025032d3c96f25f88208fcb132c6f64df8dec590028e73e34effbd6c22f40cde6c358c6956c09d6a +SHA512 (326.diff) = d2a6110f360ae68e3463d07fcbda5825ab7f41d23fee722216170f42a85c8b3236d3f6df2a4493e3a89ca9eee2bb796df0659d0a59028cc7f2c9d6f521a32493 +SHA512 (324.diff) = 379dd32dbe806a5c2b9351506030cf746950555fa2408401d3a901a1357321fd681cee169b2055e049d52a693a2d4fb743438d99883653aa64a33861330f0136 +SHA512 (xtensor-python-0.28.0.tar.gz) = 382b457663560db5c43ce8b111fd6bdb2aa2d679dd4ae04baa966e58117937f11c9a1e57847a6532017e6023e688876223d358652ad84a371d45c7b6802b3f73 diff --git a/xtensor-python.spec b/xtensor-python.spec index fe47c52..610dba3 100644 --- a/xtensor-python.spec +++ b/xtensor-python.spec @@ -1,7 +1,7 @@ %undefine __cmake_in_source_build Name: xtensor-python -Version: 0.26.0 +Version: 0.28.0 Release: %autorelease Summary: Python bindings for xtensor # Automatically converted from old format: BSD - review is highly recommended. @@ -10,6 +10,10 @@ URL: https://xtensor-python.readthedocs.io/ %global github https://github.com/QuantStack/xtensor-python Source0: %{github}/archive/%{version}/%{name}-%{version}.tar.gz +Patch0: %{github}/pull/324.diff +Patch1: %{github}/pull/326.diff +Patch2: %{github}/pull/325.diff +Patch3: %{github}/pull/327.diff # because xtensor does so for armv7hl, ppc64le and s390x ExcludeArch: armv7hl ppc64le s390x @@ -68,6 +72,7 @@ Requires: python3-numpy %license LICENSE %{_includedir}/%{name}/ %{_libdir}/cmake/%{name}/ +%{_datadir}/pkgconfig/%{name}.pc %changelog %autochangelog From 88e12fae61455179fa3842727253adb6d9cc9ba9 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 17 Jan 2026 20:56:18 +0000 Subject: [PATCH 5/7] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild From 1da48ce271a861e3b9509c30d153399afb99035d Mon Sep 17 00:00:00 2001 From: sergesanspaille Date: Tue, 24 Feb 2026 08:45:51 +0100 Subject: [PATCH 6/7] Upstream release --- .gitignore | 2 ++ sources | 7 ++----- xtensor-python.spec | 14 +++++--------- 3 files changed, 9 insertions(+), 14 deletions(-) diff --git a/.gitignore b/.gitignore index a7f60bd..9dd5826 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,5 @@ /325.diff /xtensor-python-0.28.0.tar.gz /327.diff +/xtensor-python-0.29.0.tar.gz +/331.diff diff --git a/sources b/sources index b5dbb35..40e5986 100644 --- a/sources +++ b/sources @@ -1,5 +1,2 @@ -SHA512 (327.diff) = 028b1c4f01eb9cc5c6e3742f21a0afd890870afce2ab128abc765772fb269bd4ed882cf9a2c1e9900c9740ed5017dfe51ca0060d1ffc795332c83ff9f799369d -SHA512 (325.diff) = 438fccb0dfd5a18a245678960edf07bb35187056e51fe1a1025032d3c96f25f88208fcb132c6f64df8dec590028e73e34effbd6c22f40cde6c358c6956c09d6a -SHA512 (326.diff) = d2a6110f360ae68e3463d07fcbda5825ab7f41d23fee722216170f42a85c8b3236d3f6df2a4493e3a89ca9eee2bb796df0659d0a59028cc7f2c9d6f521a32493 -SHA512 (324.diff) = 379dd32dbe806a5c2b9351506030cf746950555fa2408401d3a901a1357321fd681cee169b2055e049d52a693a2d4fb743438d99883653aa64a33861330f0136 -SHA512 (xtensor-python-0.28.0.tar.gz) = 382b457663560db5c43ce8b111fd6bdb2aa2d679dd4ae04baa966e58117937f11c9a1e57847a6532017e6023e688876223d358652ad84a371d45c7b6802b3f73 +SHA512 (331.diff) = b68e6e8f86ae64309b794e9f4487b2a9adddd05e81f996b9ab82e66db329cd88d0b3fccffcb8a70d73d5410c78c26438e0b9bd73f39e26a9474b529953a5c87e +SHA512 (xtensor-python-0.29.0.tar.gz) = eec4c7e374dbe02bb63b6d61c9f24c9ea9a11e0a8d89f0d44c97cece81db8e886a03c752c7060a433033bb0af7483fa00373a25d410bbd3814566a1fbf9ead64 diff --git a/xtensor-python.spec b/xtensor-python.spec index 610dba3..4fb34da 100644 --- a/xtensor-python.spec +++ b/xtensor-python.spec @@ -1,19 +1,15 @@ %undefine __cmake_in_source_build Name: xtensor-python -Version: 0.28.0 +Version: 0.29.0 Release: %autorelease Summary: Python bindings for xtensor -# Automatically converted from old format: BSD - review is highly recommended. -License: LicenseRef-Callaway-BSD +License: BSD-3-Clause URL: https://xtensor-python.readthedocs.io/ %global github https://github.com/QuantStack/xtensor-python Source0: %{github}/archive/%{version}/%{name}-%{version}.tar.gz -Patch0: %{github}/pull/324.diff -Patch1: %{github}/pull/326.diff -Patch2: %{github}/pull/325.diff -Patch3: %{github}/pull/327.diff +Patch0: %{github}/pull/331.diff # because xtensor does so for armv7hl, ppc64le and s390x ExcludeArch: armv7hl ppc64le s390x @@ -65,13 +61,13 @@ Requires: python3-numpy %cmake_install %check -%make_build -C %{_vpath_builddir} xtest +%cmake_build --target xtest %files devel %doc README.md %license LICENSE %{_includedir}/%{name}/ -%{_libdir}/cmake/%{name}/ +%{_datadir}/cmake/%{name}/ %{_datadir}/pkgconfig/%{name}.pc %changelog From ffa14ecb1278bbef2a0d8b23112bc56f64679e3c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jul 2026 09:28:55 +0000 Subject: [PATCH 7/7] Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild