[packages/python3-nanobind] - updated to 3.1.0; drop eigen-32bit-index patch (fixed upstream) - release 1
adamg
adamg at pld-linux.org
Sat Nov 21 22:50:19 CET 2026
commit 46149854f64e1111eef88478975787b5f91ca941
Author: Adam Gołębiowski <adamg at pld-linux.org>
Date: Sat Nov 21 22:49:22 2026 +0100
- updated to 3.1.0; drop eigen-32bit-index patch (fixed upstream)
- release 1
nanobind-eigen-32bit-index.patch | 19 -------------------
python3-nanobind.spec | 8 +++-----
2 files changed, 3 insertions(+), 24 deletions(-)
---
diff --git a/python3-nanobind.spec b/python3-nanobind.spec
index 6758c0b..616a3f0 100644
--- a/python3-nanobind.spec
+++ b/python3-nanobind.spec
@@ -7,13 +7,12 @@
Summary: nanobind: tiny and efficient C++/Python bindings
Summary(pl.UTF-8): nanobind - mały i wydajne wiązania C++/Python
Name: python3-%{module}
-Version: 2.15.0
-Release: 2
+Version: 3.1.0
+Release: 1
License: BSD
Group: Libraries/Python
Source0: https://files.pythonhosted.org/packages/source/n/nanobind/%{module}-%{version}.tar.gz
-# Source0-md5: 638c0b45b652937963ea82264718427f
-Patch0: nanobind-eigen-32bit-index.patch
+# Source0-md5: 5c0e024578e39eb498c81c0d2e1fa0e6
URL: https://pypi.org/project/nanobind/
BuildRequires: cmake >= 3.15
BuildRequires: ninja
@@ -72,7 +71,6 @@ Dokumentacja API modułu Pythona %{module}.
%prep
%setup -q -n %{module}-%{version}
-%patch -P0 -p1
%build
%py3_build_pyproject
diff --git a/nanobind-eigen-32bit-index.patch b/nanobind-eigen-32bit-index.patch
deleted file mode 100644
index bc0a639..0000000
--- a/nanobind-eigen-32bit-index.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-# narrow int64_t strides to Eigen::Index explicitly; -Werror=conversion in the
-# tests breaks on 32-bit Index (x32, i686); upstream c3ec7920cf on refactored code
---- nanobind-2.15.0.orig/include/nanobind/eigen/dense.h 2022-11-09 13:37:21.000000000 +0100
-+++ nanobind-2.15.0/include/nanobind/eigen/dense.h 2026-11-12 12:13:44.228382005 +0100
-@@ -347,11 +347,11 @@
- outer = 0;
-
- if constexpr (std::is_same_v<StrideType, Eigen::InnerStride<IS>>)
-- return StrideType(inner);
-+ return StrideType((Eigen::Index) inner);
- else if constexpr (std::is_same_v<StrideType, Eigen::OuterStride<OS>>)
-- return StrideType(outer);
-+ return StrideType((Eigen::Index) outer);
- else
-- return StrideType(outer, inner);
-+ return StrideType((Eigen::Index) outer, (Eigen::Index) inner);
- }
-
- operator Map() {
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-nanobind.git/commitdiff/46149854f64e1111eef88478975787b5f91ca941
More information about the pld-cvs-commit
mailing list