Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-python-pptx for openSUSE:Factory checked in at 2026-01-29 17:46:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-python-pptx (Old) and /work/SRC/openSUSE:Factory/.python-python-pptx.new.1995 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-python-pptx" Thu Jan 29 17:46:08 2026 rev:7 rq:1329741 version:1.0.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-python-pptx/python-python-pptx.changes 2024-10-27 11:25:00.157727015 +0100 +++ /work/SRC/openSUSE:Factory/.python-python-pptx.new.1995/python-python-pptx.changes 2026-01-29 17:49:00.967703962 +0100 @@ -1,0 +2,7 @@ +Thu Jan 29 01:03:28 UTC 2026 - Steve Kowalik <[email protected]> + +- Add patch support-new-pyparsing.patch: + * Avoid deprecation warnings from new pyparsing. +- List directories in %files explicitly. + +------------------------------------------------------------------- New: ---- support-new-pyparsing.patch ----------(New B)---------- New: - Add patch support-new-pyparsing.patch: * Avoid deprecation warnings from new pyparsing. ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-python-pptx.spec ++++++ --- /var/tmp/diff_new_pack.Vy6AFF/_old 2026-01-29 17:49:01.595730864 +0100 +++ /var/tmp/diff_new_pack.Vy6AFF/_new 2026-01-29 17:49:01.595730864 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-python-pptx # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # Copyright (c) 2021, Martin Hauke <[email protected]> # # All modifications and additions to the file contributed by third parties @@ -25,6 +25,8 @@ License: MIT URL: http://github.com/scanny/python-pptx Source: https://files.pythonhosted.org/packages/source/p/python-pptx/python_pptx-%{version}.tar.gz +# PATCH-FIX-UPSTREAM Based on gh#scanny/python-pptx#1104 +Patch0: support-new-pyparsing.patch BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools >= 61.0.0} BuildRequires: python-rpm-macros @@ -64,5 +66,6 @@ %files %{python_files} %license LICENSE %doc HISTORY.rst README.rst -%{python_sitelib}/*pptx* +%{python_sitelib}/pptx +%{python_sitelib}/python_pptx-%{version}.dist-info ++++++ support-new-pyparsing.patch ++++++ >From 974ae2afa475e22cee517be414f61b1f2125f298 Mon Sep 17 00:00:00 2001 From: Elenedeath Olawir <[email protected]> Date: Tue, 6 Jan 2026 01:56:22 +0100 Subject: [PATCH] Replace delimitedList with DelimitedList in cxml tests Updated usage of pyparsing's delimitedList to DelimitedList in the cxml test grammar for compatibility with newer pyparsing versions. --- tests/unitutil/cxml.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Index: python_pptx-1.0.2/tests/unitutil/cxml.py =================================================================== --- python_pptx-1.0.2.orig/tests/unitutil/cxml.py +++ python_pptx-1.0.2/tests/unitutil/cxml.py @@ -19,8 +19,8 @@ from pyparsing import ( alphanums, alphas, dblQuotedString, - delimitedList, - removeQuotes, + DelimitedList, + remove_quotes, stringEnd, ) @@ -43,8 +43,8 @@ def element(cxel_str: str) -> BaseOxmlEl def xml(cxel_str: str) -> str: """Return the XML generated from `cxel_str`.""" - root_node.parseWithTabs() - root_token = root_node.parseString(cxel_str) + root_node.parse_with_tabs() + root_token = root_node.parse_string(cxel_str) xml = root_token.element.xml return xml @@ -254,28 +254,28 @@ def grammar(): attr_name = Word(alphas + ":") attr_val = Word(alphanums + " %-./:_") attr_def = Group(attr_name + equal + attr_val) - attr_list = open_brace + delimitedList(attr_def) + close_brace + attr_list = open_brace + DelimitedList(attr_def) + close_brace - text = dblQuotedString.setParseAction(removeQuotes) + text = dblQuotedString.set_parse_action(remove_quotes) # w:jc{val=right} ---------------------------- element = ( tagname("tagname") + Group(Optional(attr_list))("attr_list") + Optional(text, default="")("text") - ).setParseAction(Element.from_token) + ).set_parse_action(Element.from_token) child_node_list = Forward() node = Group( element("element") + Group(Optional(slash + child_node_list))("child_node_list") - ).setParseAction(connect_node_children) + ).set_parse_action(connect_node_children) - child_node_list << (open_paren + delimitedList(node) + close_paren | node) + child_node_list << (open_paren + DelimitedList(node) + close_paren | node) root_node = ( element("element") + Group(Optional(slash + child_node_list))("child_node_list") + stringEnd - ).setParseAction(connect_root_node_children) + ).set_parse_action(connect_root_node_children) return root_node
