Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-python-datamatrix for
openSUSE:Factory checked in at 2026-03-11 20:54:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-python-datamatrix (Old)
and /work/SRC/openSUSE:Factory/.python-python-datamatrix.new.8177 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-python-datamatrix"
Wed Mar 11 20:54:42 2026 rev:11 rq:1338186 version:1.0.18
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-python-datamatrix/python-python-datamatrix.changes
2026-02-03 21:36:14.012549752 +0100
+++
/work/SRC/openSUSE:Factory/.python-python-datamatrix.new.8177/python-python-datamatrix.changes
2026-03-11 20:56:21.172480010 +0100
@@ -1,0 +2,8 @@
+Wed Mar 11 03:17:03 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Update to 1.0.18:
+ * MultiDimensionalColumn: don't check memory when loaded
+- Add patch support-numpy-2.4.patch:
+ * Do not call now removed functions from NumPy 2.4.
+
+-------------------------------------------------------------------
Old:
----
python-datamatrix-release-1.0.16.tar.gz
New:
----
python-datamatrix-release-1.0.18.tar.gz
support-numpy-2.4.patch
----------(New B)----------
New: * MultiDimensionalColumn: don't check memory when loaded
- Add patch support-numpy-2.4.patch:
* Do not call now removed functions from NumPy 2.4.
----------(New E)----------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-python-datamatrix.spec ++++++
--- /var/tmp/diff_new_pack.GiI4RW/_old 2026-03-11 20:56:21.864508561 +0100
+++ /var/tmp/diff_new_pack.GiI4RW/_new 2026-03-11 20:56:21.864508561 +0100
@@ -17,12 +17,14 @@
Name: python-python-datamatrix
-Version: 1.0.16
+Version: 1.0.18
Release: 0
Summary: A python library to work with tabular data
License: GPL-3.0-or-later
URL: https://github.com/open-cogsci/python-datamatrix
Source:
https://github.com/open-cogsci/python-datamatrix/archive/release/%{version}.tar.gz#/python-datamatrix-release-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM gh#open-cogsci/datamatrix#21
+Patch0: support-numpy-2.4.patch
BuildRequires: %{python_module PrettyTable}
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module fastnumbers}
@@ -69,7 +71,7 @@
Documentation and examples for %{name}.
%prep
-%setup -q -n datamatrix-release-%{version}
+%autosetup -p1 -n datamatrix-release-%{version}
# wrong-file-end-of-line-encoding
sed -i 's/\r$//' doc-pelican/data/fratescu-replication-data-exp1.csv
++++++ python-datamatrix-release-1.0.16.tar.gz ->
python-datamatrix-release-1.0.18.tar.gz ++++++
/work/SRC/openSUSE:Factory/python-python-datamatrix/python-datamatrix-release-1.0.16.tar.gz
/work/SRC/openSUSE:Factory/.python-python-datamatrix.new.8177/python-datamatrix-release-1.0.18.tar.gz
differ: char 13, line 1
++++++ support-numpy-2.4.patch ++++++
>From 66c08639a0630ea0c3c86197c5c98baa94ee0f22 Mon Sep 17 00:00:00 2001
From: Steve Kowalik <[email protected]>
Date: Wed, 11 Mar 2026 14:00:42 +1100
Subject: [PATCH] Replace np.in1d with np.isin
np.in1d has been deprecated since NumPy 2.0, and was removed in 2.4.
Switch to using np.isin.
---
datamatrix/_datamatrix/_numericcolumn.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/datamatrix/_datamatrix/_numericcolumn.py
b/datamatrix/_datamatrix/_numericcolumn.py
index 96a48b0..8087e56 100644
--- a/datamatrix/_datamatrix/_numericcolumn.py
+++ b/datamatrix/_datamatrix/_numericcolumn.py
@@ -277,9 +277,9 @@ def _sortedrowid(self):
def _merge(self, other, _rowid):
- i_other = ~np.in1d(other._rowid, self._rowid) \
- & np.in1d(other._rowid, _rowid)
- i_self = np.in1d(self._rowid, _rowid)
+ i_other = ~np.isin(other._rowid, self._rowid) \
+ & np.isin(other._rowid, _rowid)
+ i_self = np.isin(self._rowid, _rowid)
rowid = np.concatenate(
(self._rowid[i_self], other._rowid[i_other]))
seq = np.concatenate((self._seq[i_self], other._seq[i_other]))