Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-ruamel.std.pathlib for
openSUSE:Factory checked in at 2025-12-09 12:53:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-ruamel.std.pathlib (Old)
and /work/SRC/openSUSE:Factory/.python-ruamel.std.pathlib.new.1939 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-ruamel.std.pathlib"
Tue Dec 9 12:53:05 2025 rev:7 rq:1321651 version:0.13.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-ruamel.std.pathlib/python-ruamel.std.pathlib.changes
2025-04-20 20:08:14.517800342 +0200
+++
/work/SRC/openSUSE:Factory/.python-ruamel.std.pathlib.new.1939/python-ruamel.std.pathlib.changes
2025-12-09 12:59:12.462298930 +0100
@@ -1,0 +2,8 @@
+Tue Dec 9 04:16:44 UTC 2025 - Steve Kowalik <[email protected]>
+
+- Update to 0.13.0:
+ * No upstream changelog.
+- Add patch support-python314.patch:
+ * Support Python 3.14 ast changes.
+
+-------------------------------------------------------------------
Old:
----
ruamel.std.pathlib-0.12.0.tar.gz
New:
----
ruamel.std.pathlib-0.13.0.tar.gz
support-python314.patch
----------(New B)----------
New: * No upstream changelog.
- Add patch support-python314.patch:
* Support Python 3.14 ast changes.
----------(New E)----------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-ruamel.std.pathlib.spec ++++++
--- /var/tmp/diff_new_pack.zfeHtj/_old 2025-12-09 12:59:13.114326414 +0100
+++ /var/tmp/diff_new_pack.zfeHtj/_new 2025-12-09 12:59:13.118326583 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-ruamel.std.pathlib
#
-# 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
@@ -17,12 +17,14 @@
Name: python-ruamel.std.pathlib
-Version: 0.12.0
+Version: 0.13.0
Release: 0
Summary: Improvements over the standard pathlib module and pathlib2
package
License: MIT
URL: https://sourceforge.net/projects/ruamel-std-pathlib/
Source:
https://files.pythonhosted.org/packages/source/r/ruamel.std.pathlib/ruamel.std.pathlib-%{version}.tar.gz
+# PATCH-FIX-OPENSUSE Support Python 3.14 ast changes
+Patch0: support-python314.patch
BuildRequires: %{python_module orjson}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
@@ -38,7 +40,7 @@
Improvements over the standard pathlib module and pathlib2 package.
%prep
-%setup -q -n ruamel.std.pathlib-%{version}
+%autosetup -p1 -n ruamel.std.pathlib-%{version}
%build
%pyproject_wheel
@@ -49,11 +51,10 @@
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
-%doc README.rst
+%doc README.md
%license LICENSE
%dir %{python_sitelib}/ruamel
%dir %{python_sitelib}/ruamel/std
%{python_sitelib}/ruamel/std/pathlib
-%{python_sitelib}/ruamel.std.pathlib-%{version}-py3*-nspkg.pth
%{python_sitelib}/ruamel_std_pathlib-%{version}.dist-info
++++++ ruamel.std.pathlib-0.12.0.tar.gz -> ruamel.std.pathlib-0.13.0.tar.gz
++++++
++++ 3538 lines of diff (skipped)
++++++ support-python314.patch ++++++
Index: ruamel.std.pathlib-0.13.0/setup.py
===================================================================
--- ruamel.std.pathlib-0.13.0.orig/setup.py
+++ ruamel.std.pathlib-0.13.0/setup.py
@@ -76,7 +76,7 @@ else:
print(*args, **kw1)
if sys.version_info >= (3, 8):
- from ast import Str, Num, Bytes, NameConstant # NOQA
+ from ast import Constant # NOQA
def literal_eval(node_or_string):
@@ -98,15 +98,7 @@ def literal_eval(node_or_string):
raise TypeError('only string or AST nodes supported')
def _convert(node):
- if isinstance(node, Str):
- if sys.version_info < (3,) and not isinstance(node.s, unicode):
- return node.s.decode('utf-8')
- return node.s
- elif isinstance(node, Bytes):
- return node.s
- elif isinstance(node, Num):
- return node.n
- elif isinstance(node, Tuple):
+ if isinstance(node, Tuple):
return tuple(map(_convert, node.elts))
elif isinstance(node, List):
return list(map(_convert, node.elts))
@@ -114,7 +106,7 @@ def literal_eval(node_or_string):
return set(map(_convert, node.elts))
elif isinstance(node, Dict):
return {_convert(k): _convert(v) for k, v in zip(node.keys,
node.values)}
- elif isinstance(node, NameConstant):
+ elif isinstance(node, Constant):
return node.value
elif sys.version_info < (3, 4) and isinstance(node, Name):
if node.id in _safe_names: