Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-atspi for openSUSE:Factory 
checked in at 2026-01-17 14:55:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-atspi (Old)
 and      /work/SRC/openSUSE:Factory/.python-atspi.new.1928 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-atspi"

Sat Jan 17 14:55:10 2026 rev:75 rq:1327629 version:2.58.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-atspi/python-atspi.changes        
2025-09-24 15:25:31.119475490 +0200
+++ /work/SRC/openSUSE:Factory/.python-atspi.new.1928/python-atspi.changes      
2026-01-17 14:56:22.579253622 +0100
@@ -1,0 +2,11 @@
+Fri Jan 16 00:40:45 UTC 2026 - Michael Gorse <[email protected]>
+
+- Update to version 2.58.1:
+  + Fix a traceback in the collection tests.
+  + Make cache fns raise errors, not just silently fail.
+  + pasy: Fix reporting exceptions.
+  + Fix creating dom nodes.
+  + Add a pyproject.toml file to allow building with pip.
+- Create versioned python packages again (bsc#1256795)
+
+-------------------------------------------------------------------

Old:
----
  pyatspi-2.58.0.tar.xz

New:
----
  pyatspi-2.58.1.tar.xz

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

Other differences:
------------------
++++++ python-atspi.spec ++++++
--- /var/tmp/diff_new_pack.vT0BJr/_old  2026-01-17 14:56:23.239281217 +0100
+++ /var/tmp/diff_new_pack.vT0BJr/_new  2026-01-17 14:56:23.239281217 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-atspi
 #
-# Copyright (c) 2025 SUSE LLC and contributors
+# Copyright (c) 2026 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
@@ -30,10 +30,10 @@
 BuildArch:      noarch
 %endif
 
-%global pythons python3
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define _name   pyatspi
 Name:           python-atspi%{psuffix}
-Version:        2.58.0
+Version:        2.58.1
 Release:        0
 Summary:        Python bindings for the Assistive Technology Service Provider 
Interface
 License:        LGPL-2.0-only
@@ -43,6 +43,8 @@
 BuildRequires:  %{python_module dbus-python}
 BuildRequires:  %{python_module gobject >= 2.90.1}
 BuildRequires:  %{python_module gobject-devel >= 2.90.1}
+BuildRequires:  %{python_module meson-python}
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  meson
@@ -89,10 +91,12 @@
 %build
 %meson
 %meson_build
+%pyproject_wheel
 
 %install
 %if ! %{with test}
 %meson_install
+%pyproject_install
 %endif
 
 %if %{with test}
@@ -105,5 +109,6 @@
 %license COPYING
 %doc AUTHORS NEWS README.md
 %{python_sitelib}/pyatspi/
+%{python_sitelib}/pyatspi-%{version}.dist-info
 %endif
 

++++++ pyatspi-2.58.0.tar.xz -> pyatspi-2.58.1.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyatspi-2.58.0/NEWS new/pyatspi-2.58.1/NEWS
--- old/pyatspi-2.58.0/NEWS     2025-09-13 17:02:37.000000000 +0200
+++ new/pyatspi-2.58.1/NEWS     2026-01-16 01:26:53.000000000 +0100
@@ -1,3 +1,15 @@
+What's new in pyatspi 2.58.1:
+
+* Fix a traceback in the collection tests.
+
+* Make cache fns raise errors, not just silently fail
+
+* pasy: Fix reporting exceptions
+
+* Fix creating dom nodes.
+
+* Add a pyproject.toml file to allow building with pip.
+
 What's new in pyatspi 2.58.0:
 
 * Install image.py (fixes regression from 2.57.0).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyatspi-2.58.0/meson.build 
new/pyatspi-2.58.1/meson.build
--- old/pyatspi-2.58.0/meson.build      2025-09-13 17:02:37.000000000 +0200
+++ new/pyatspi-2.58.1/meson.build      2026-01-16 01:26:53.000000000 +0100
@@ -1,6 +1,6 @@
 project('pyatspi', 'c',
-  version: '2.58.0',
-  meson_version: '>= 0.46.0'
+  version: '2.58.1',
+  meson_version: '>= 0.51.0'
 )
 
 # Dependencies
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyatspi-2.58.0/pyatspi/utils.py 
new/pyatspi-2.58.1/pyatspi/utils.py
--- old/pyatspi-2.58.0/pyatspi/utils.py 2025-09-13 17:02:37.000000000 +0200
+++ new/pyatspi-2.58.1/pyatspi/utils.py 2026-01-16 01:26:53.000000000 +0100
@@ -50,13 +50,13 @@
          ]
 
 def setCacheLevel(level):
-        pass
+        raise NotImplementedError
 
 def getCacheLevel():
-        return None
+        raise NotImplementedError
 
 def clearCache():
-        pass
+        raise NotImplementedError
 
 def printCache():
         print("Print cache function is deprecated")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyatspi-2.58.0/pyproject.toml 
new/pyatspi-2.58.1/pyproject.toml
--- old/pyatspi-2.58.0/pyproject.toml   1970-01-01 01:00:00.000000000 +0100
+++ new/pyatspi-2.58.1/pyproject.toml   2026-01-16 01:26:53.000000000 +0100
@@ -0,0 +1,33 @@
+[project]
+name = "PyAtspi"
+description = "Legacy Python bindings for AT-SPI"
+readme = 'README.md'
+license = "LGPL-2.0-or-later"
+license-files = ["COPYING"]
+authors = [
+    { name="Mike Gorse", email="[email protected]" }
+]
+maintainers = [
+    { name="Mike Gorse", email="[email protected]" }
+]
+classifiers = [
+    "Development Status :: 5 - Production/Stable",
+    "Intended Audience :: Developers",
+    "Operating System :: POSIX",
+    "Programming Language :: C",
+    "Programming Language :: Python",
+    "Topic :: Software Development :: Libraries :: Python Modules",
+]
+requires-python = ">=3.6, <4.0"
+dependencies = [
+    "pygobject>=2.90.1"
+]
+dynamic = ["version"]
+
+[project.urls]
+Repository = "https://gitlab.gnome.org/GNOME/pyatspi2.git";
+Changelog = "https://gitlab.gnome.org/GNOME/pyatspi2/-/blob/main/NEWS";
+
+[build-system]
+build-backend = "mesonpy"
+requires = ["meson-python>=0.12.1", "pygobject>=2.90.1"]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyatspi-2.58.0/tests/pyatspi/accessibletest.py 
new/pyatspi-2.58.1/tests/pyatspi/accessibletest.py
--- old/pyatspi-2.58.0/tests/pyatspi/accessibletest.py  2025-09-13 
17:02:37.000000000 +0200
+++ new/pyatspi-2.58.1/tests/pyatspi/accessibletest.py  2026-01-16 
01:26:53.000000000 +0100
@@ -36,7 +36,7 @@
       pyatspi.STATE_VERTICAL,]
 
 def _createNode(doc, accessible, parentElement):
-       e = minidom.Element("accessible")
+       e = doc.createElement("accessible")
 
        nameA = doc.createAttribute('name')
        roleA = doc.createAttribute('role')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyatspi-2.58.0/tests/pyatspi/collectiontest.py 
new/pyatspi-2.58.1/tests/pyatspi/collectiontest.py
--- old/pyatspi-2.58.0/tests/pyatspi/collectiontest.py  2025-09-13 
17:02:37.000000000 +0200
+++ new/pyatspi-2.58.1/tests/pyatspi/collectiontest.py  2026-01-16 
01:26:53.000000000 +0100
@@ -35,18 +35,6 @@
       pyatspi.STATE_SUPPORTS_AUTOCOMPLETION,
       pyatspi.STATE_VERTICAL,]
 
-def _createNode(accessible, parentElement):
-        e = minidom.Element("accessible")
-
-        e.attributes["name"] = accessible.name
-        e.attributes["role"] = str(int(accessible.getRole()))
-        e.attributes["description"] = accessible.description
-
-        for i in range(0, accessible.childCount):
-                _createNode(accessible.getChildAtIndex(i), e)
-
-        parentElement.appendChild(e)
-
 class AccessibleTest(_PasyTest):
 
         __tests__ = ["setup",
@@ -90,7 +78,7 @@
                         collection.MATCH_NONE,
                 [],     # role
                         collection.MATCH_NONE,
-                "",     # interfaces
+                [],     # interfaces
                         collection.MATCH_NONE,
                         False)
 
@@ -146,7 +134,7 @@
                         collection.MATCH_ANY,
                 [],     # role
                         collection.MATCH_ANY,
-                "",     # interfaces
+                [],     # interfaces
                         collection.MATCH_NONE,
                         False)
 
@@ -169,7 +157,7 @@
                         collection.MATCH_NONE,
                 [pyatspi.ROLE_RADIO_MENU_ITEM],
                         collection.MATCH_ANY,
-                "",     # interfaces
+                [],     # interfaces
                         collection.MATCH_NONE,
                         False)
 
@@ -188,7 +176,7 @@
                         collection.MATCH_NONE,
                 [pyatspi.ROLE_ENTRY, pyatspi.ROLE_HTML_CONTAINER],
                         collection.MATCH_ANY,
-                "",     # interfaces
+                [],     # interfaces
                         collection.MATCH_NONE,
                         False)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyatspi-2.58.0/tests/pyatspi/pasytest/Pasy.py 
new/pyatspi-2.58.1/tests/pyatspi/pasytest/Pasy.py
--- old/pyatspi-2.58.0/tests/pyatspi/pasytest/Pasy.py   2025-09-13 
17:02:37.000000000 +0200
+++ new/pyatspi-2.58.1/tests/pyatspi/pasytest/Pasy.py   2026-01-16 
01:26:53.000000000 +0100
@@ -1,6 +1,6 @@
 #Copyright (C) 2008 Codethink Ltd
 
-#his program is free software; you can redistribute it and/or modify
+#This program is free software; you can redistribute it and/or modify
 #it under the terms of the GNU General Public License as published by
 #the Free Software Foundation; either version 2 of the License, or
 #(at your option) any later version.
@@ -80,7 +80,7 @@
                try:
                        self._func(self)
                except Exception as e:
-                       self.fail(e.message)
+                       self.fail(str(e))
                        traceback.print_exc()
                self.win()
 

Reply via email to