Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package lal for openSUSE:Factory checked in 
at 2025-11-24 14:11:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lal (Old)
 and      /work/SRC/openSUSE:Factory/.lal.new.14147 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lal"

Mon Nov 24 14:11:00 2025 rev:18 rq:1319266 version:7.7.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/lal/lal.changes  2025-07-17 17:19:22.697281283 
+0200
+++ /work/SRC/openSUSE:Factory/.lal.new.14147/lal.changes       2025-11-24 
14:13:41.832648370 +0100
@@ -1,0 +2,18 @@
+Mon Nov 17 16:53:42 UTC 2025 - Atri Bhattacharya <[email protected]>
+
+- Update to version 7.7.0:
+  * No release notes.
+- Drop upstreamed patches:
+  * lal-gcc15-fix-unterminated-string-initialization.patch
+  * lalsuite_fix_swig_4_3_0_compat.patch
+  * lalsuite_fix_swig_4_3_0_compat_2.patch
+- Add lal-swig-4_4-compat.patch: SwigPyObject_type was renamed to
+  SwigPyObject_Type in v4.4.0; upstream git commits.
+- Minor rebase of lal-disable-erroneous-test.patch for update.
+- Drop test flavour BuildRequires: python-ligo-lw instead of
+  python-igwn-lw, python-ligo-segments instead of
+  python-igwn-segments.
+- Disable tests on 32-bit as they fail due to minor tolerance
+  issues.
+
+-------------------------------------------------------------------

Old:
----
  lal-7.6.0.tar.xz
  lal-gcc15-fix-unterminated-string-initialization.patch
  lalsuite_fix_swig_4_3_0_compat.patch
  lalsuite_fix_swig_4_3_0_compat_2.patch

New:
----
  lal-7.7.0.tar.xz
  lal-swig-4_4-compat.patch

----------(Old B)----------
  Old:- Drop upstreamed patches:
  * lal-gcc15-fix-unterminated-string-initialization.patch
  * lalsuite_fix_swig_4_3_0_compat.patch
  Old:  * lal-gcc15-fix-unterminated-string-initialization.patch
  * lalsuite_fix_swig_4_3_0_compat.patch
  * lalsuite_fix_swig_4_3_0_compat_2.patch
  Old:  * lalsuite_fix_swig_4_3_0_compat.patch
  * lalsuite_fix_swig_4_3_0_compat_2.patch
- Add lal-swig-4_4-compat.patch: SwigPyObject_type was renamed to
----------(Old E)----------

----------(New B)----------
  New:  * lalsuite_fix_swig_4_3_0_compat_2.patch
- Add lal-swig-4_4-compat.patch: SwigPyObject_type was renamed to
  SwigPyObject_Type in v4.4.0; upstream git commits.
----------(New E)----------

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

Other differences:
------------------
++++++ lal.spec ++++++
--- /var/tmp/diff_new_pack.Gu5ZIr/_old  2025-11-24 14:13:42.452674487 +0100
+++ /var/tmp/diff_new_pack.Gu5ZIr/_new  2025-11-24 14:13:42.456674655 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package lal
 #
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2025 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
@@ -19,38 +19,31 @@
 %global flavor @BUILD_FLAVOR@%{nil}
 %if "%{flavor}" == "test"
 %bcond_without test
+# Tests fail on 32-bit
+ExcludeArch:    %ix86
 %define psuffix -test
 %else
 %bcond_with test
 %define psuffix %{nil}
 %endif
 
-# NEP 29: numpy, scipy do not have a python36 flavor package in TW
-%define skip_python36 1
-# Py2 no longer supported by upstream
-%define skip_python2 1
-
 %define shliblal liblal20
 %define shliblalsupport liblalsupport14
 
 # No support for octave >= 6
 %bcond_with octave
 Name:           lal%{psuffix}
-Version:        7.6.0
+Version:        7.7.0
 Release:        0
 Summary:        A collection of various gravitational wave data analysis 
routines
 License:        GPL-2.0-only
 Group:          Productivity/Scientific/Physics
 URL:            https://wiki.ligo.org/Computing/LALSuite
 Source:         
https://software.igwn.org/sources/source/lalsuite/lal-%{version}.tar.xz
-# PATCH-FIX-UPSTREAM
-Patch0:         
https://git.ligo.org/lscsoft/lalsuite/-/commit/9dba245ab3692ecf691247a442704f13c075ed34.patch#/lalsuite_fix_swig_4_3_0_compat.patch
-# PATCH-FIX-UPSTREAM
-Patch1:         
https://git.ligo.org/lscsoft/lalsuite/-/commit/e12d57e893882c1603778018139ed9060579c8a7.patch#/lalsuite_fix_swig_4_3_0_compat_2.patch
+# PATCH-FIX-UPSTREAM 
https://git.ligo.org/lscsoft/lalsuite/-/merge_requests/2529
+Patch0:         lal-swig-4_4-compat.patch
 # PATCH-FIX-UPSTREAM lal-disable-erroneous-test.patch [email protected] -- 
Disable a test that gives 'SystemError: error return without exception set'
 Patch2:         lal-disable-erroneous-test.patch
-# PATCH-FIX-UPSTREAM lal-gcc15-fix-unterminated-string-initialization.patch 
[email protected] -- Fix build with GCC 15 by correctly initializing char 
array; patch taken from upstream commit
-Patch3:         
https://git.ligo.org/lscsoft/lalsuite/-/commit/893b1e51c2444d7ca5d87c703986541be89c5ed4.patch#/lal-gcc15-fix-unterminated-string-initialization.patch
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module numpy-devel}
 BuildRequires:  %{python_module numpy}
@@ -70,7 +63,7 @@
 Requires:       python-numpy
 Requires:       python-python-dateutil
 Requires:       python-scipy
-Recommends:     python-ligo-lw
+Recommends:     python-igwn-ligolw
 Recommends:     python-ligo-segments
 %if %{with octave}
 BuildRequires:  octave-devel
@@ -81,8 +74,8 @@
 %if %{with test}
 # SECTION For tests (only the default python3 flavor)
 BuildRequires:  python3-freezegun
-BuildRequires:  python3-ligo-lw
-BuildRequires:  python3-ligo-segments
+BuildRequires:  python3-igwn-ligolw
+BuildRequires:  python3-igwn-segments
 # python3-py - remove with next update -- 
https://git.ligo.org/lscsoft/lalsuite/-/merge_requests/2033
 BuildRequires:  python3-py
 BuildRequires:  python3-pytest
@@ -154,9 +147,7 @@
 # Upstream patches are -p2, non-upstreamed patch is -p1
 %autosetup -N -n lal-%{version}
 %patch -P0 -p2
-%patch -P1 -p2
 %patch -P2 -p1
-%patch -P3 -p2
 
 %build
 autoreconf -fvi
@@ -212,7 +203,7 @@
 %python_expand %fdupes %{buildroot}%{$python_sitearch}/
 
 # Fix broken hashbang
-sed -Ei "1{s|(python3\.?[0-9]*)|%{_bindir}/\1|}" 
%{buildroot}%{_bindir}/lal_{path2cache,searchsum2cache}
+sed -Ei "1{s|/usr/bin/(python3\.?[0-9]*)|%{_bindir}/\1|}" 
%{buildroot}%{_bindir}/lal_{path2cache,searchsum2cache}
 %endif
 
 %check
@@ -245,7 +236,7 @@
 %files -n %{name}-devel
 %doc AUTHORS README.md
 %license COPYING
-%{_bindir}/*
+%{_bindir}/lal_*
 %{_includedir}/lal/
 %{_libdir}/liblal.so
 %{_libdir}/liblalsupport.so

++++++ lal-7.6.0.tar.xz -> lal-7.7.0.tar.xz ++++++
++++ 14084 lines of diff (skipped)

++++++ lal-disable-erroneous-test.patch ++++++
--- /var/tmp/diff_new_pack.Gu5ZIr/_old  2025-11-24 14:13:43.456716780 +0100
+++ /var/tmp/diff_new_pack.Gu5ZIr/_new  2025-11-24 14:13:43.480717791 +0100
@@ -2,14 +2,14 @@
  test/python/Makefile.am |    1 -
  1 file changed, 1 deletion(-)
 
-Index: lal-7.6.0/test/python/Makefile.am
+Index: lal-7.7.0/test/python/Makefile.am
 ===================================================================
---- lal-7.6.0.orig/test/python/Makefile.am
-+++ lal-7.6.0/test/python/Makefile.am
-@@ -18,7 +18,6 @@ test_scripts += \
-       test_gpstime.py \
+--- lal-7.7.0.orig/test/python/Makefile.am
++++ lal-7.7.0/test/python/Makefile.am
+@@ -19,7 +19,6 @@ test_scripts += \
        test_iterutils.py \
        test_rate.py \
+       test_series.py \
 -      utils_cache_verify.py \
        $(END_OF_LIST)
  

++++++ lal-swig-4_4-compat.patch ++++++
>From df4f741bd35423b40799efd27a20f0a890a54871 Mon Sep 17 00:00:00 2001
From: Karl Wette <[email protected]>
Date: Mon, 27 Oct 2025 16:33:19 +1100
Subject: [PATCH 1/2] lal/swig/SWIGPython.i: use import_array1(0) to import
 NumPy if available

- import_array() returns NULL on error which conflicts with the SWIG
  function it is called from
---
 lal/swig/SWIGPython.i | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/lal/swig/SWIGPython.i b/lal/swig/SWIGPython.i
index 8f332822d1..63209957e2 100644
--- a/lal/swig/SWIGPython.i
+++ b/lal/swig/SWIGPython.i
@@ -62,7 +62,11 @@
 #endif
 %}
 %init %{
+#if defined(import_array1)
+import_array1(0);
+#else
 import_array();
+#endif
 %}
 
 // Evaluates true if a PyObject is not empty, false otherwise.
-- 
GitLab


>From 2d1f8922a2643855a23127b1cb5c787010789989 Mon Sep 17 00:00:00 2001
From: Karl Wette <[email protected]>
Date: Mon, 27 Oct 2025 16:34:07 +1100
Subject: [PATCH 2/2] lal/swig/SWIGPython.i: SwigPyObject_type was renamed to
 SwigPyObject_Type in v4.4.0

---
 lal/swig/SWIGPython.i | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/lal/swig/SWIGPython.i b/lal/swig/SWIGPython.i
index 63209957e2..9ea1633b9d 100644
--- a/lal/swig/SWIGPython.i
+++ b/lal/swig/SWIGPython.i
@@ -864,7 +864,11 @@ SWIGINTERN bool swiglal_release_parent(void *ptr) {
       } else {
         PyArray_DescrProto src = {
           PyObject_HEAD_INIT(&PyArrayDescr_Type)
+#if SWIG_VERSION >= 0x040400
+          .typeobj = SwigPyObject_Type(),
+#else
           .typeobj = SwigPyObject_type(),
+#endif
           .kind = 'V',
           .type = 'V',
           .byteorder = '=',
-- 
GitLab

Reply via email to