diff --git a/libarch-py2compat.patch b/libarch-py2compat.patch
deleted file mode 100644
index f8452ff..0000000
--- a/libarch-py2compat.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Index: liblarch-3.0/liblarch/tree.py
-===================================================================
---- liblarch-3.0.orig/liblarch/tree.py
-+++ liblarch-3.0/liblarch/tree.py
-@@ -17,6 +17,8 @@
- # along with this program. If not, see .
- # -----------------------------------------------------------------------------
-
-+from __future__ import print_function
-+
- from . import processqueue
- from liblarch.treenode import _Node
-
diff --git a/python-liblarch.changes b/python-liblarch.changes
index 086f937..3c4e0e5 100644
--- a/python-liblarch.changes
+++ b/python-liblarch.changes
@@ -1,7 +1,31 @@
+-------------------------------------------------------------------
+Mon Jan 22 23:34:05 UTC 2024 - Dirk Müller
+
+- update to 3.2.0:
+ * Provide a fix for collapsing/expanding future (not-yet-
+ created) nodes
+ This prevents a TypeError under various circumstances,
+ which made GTG's TreeView display inconsistent
+ search/filtering results.
+ * Clarify, in the README file, that liblarch is LGPL v3 "or
+ later"
+ * Fix Pytest deprecation warnings
+ * Provide an optimized way to refresh filtered items
+ This provides better performance for GTG in particular
+ * Replace calls to the pep8 executable by pycodestyle
+ * Disable building with Python 2
+ * Fix drag & drop from one GTK TreeView widget to another
+ * Handle cases where the tree should and shouldn't be re-
+ filtered
+ * Improved PyGI (GObject introspection) compatibility
+ * Improved code quality and PEP 8 compliance
+- drop libarch-py2compat.patch (obsolete as upstream is >= 3.5)
+- reenable tests
+
-------------------------------------------------------------------
Wed Apr 15 07:41:08 UTC 2020 - Paolo Stivanin
-- Remove nose dep as tests are not executed
+- Remove nose dep as tests are not executed
-------------------------------------------------------------------
Tue Aug 7 09:16:21 UTC 2018 - tchvatal@suse.com
@@ -51,6 +75,6 @@ Tue Feb 28 10:43:02 UTC 2012 - cfarrell@suse.com
-------------------------------------------------------------------
Wed Feb 15 19:34:52 UTC 2012 - dimstar@opensuse.org
-- Initial package, version 0.1.0.
+- Initial package, version 0.1.0.
diff --git a/python-liblarch.spec b/python-liblarch.spec
index 1cc5d01..25048ae 100644
--- a/python-liblarch.spec
+++ b/python-liblarch.spec
@@ -1,7 +1,7 @@
#
# spec file for package python-liblarch
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2012 Dominique Leuenberger, Amsterdam, The Netherlands.
#
# All modifications and additions to the file contributed by third parties
@@ -21,15 +21,15 @@
%define _name_gtk liblarch_gtk
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-liblarch
-Version: 3.0
+Version: 3.2.0
Release: 0
Summary: A Python library to handle data structure
License: LGPL-3.0-or-later
Group: Development/Languages/Python
URL: https://live.gnome.org/liblarch
Source: https://github.com/getting-things-gnome/%{_name}/archive/v%{version}.tar.gz
-Patch0: libarch-py2compat.patch
BuildRequires: %{python_module gobject}
+BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -60,7 +60,6 @@ This package provides GTK bindings for liblarch.
%prep
%setup -q -n %{_name}-%{version}
-%patch0 -p1
%build
%python_build
@@ -70,8 +69,8 @@ This package provides GTK bindings for liblarch.
%python_expand %fdupes %{buildroot}%{$python_sitelib}
# TESTS fail with segf, local execution works
-#%check
-#%%python_expand xvfb-run nosetests-%{$python_bin_suffix} tests
+%check
+%python_expand xvfb-run pytest-%{$python_bin_suffix} tests
%files %{python_files}
%license LICENSE
diff --git a/v3.0.tar.gz b/v3.0.tar.gz
deleted file mode 100644
index 9a04198..0000000
--- a/v3.0.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:3d8b337d7a71ea84387e90196b465f617649b59a1c8f0b0c49e6655987ac730c
-size 55785
diff --git a/v3.2.0.tar.gz b/v3.2.0.tar.gz
new file mode 100644
index 0000000..ed6f446
--- /dev/null
+++ b/v3.2.0.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ddebecee8523d751b5f0d371739fceb3b2fc84c3b1784a406d064538d2d9c7fd
+size 56733