Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pyparsing for
openSUSE:Factory checked in at 2023-07-14 15:35:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyparsing (Old)
and /work/SRC/openSUSE:Factory/.python-pyparsing.new.3193 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyparsing"
Fri Jul 14 15:35:36 2023 rev:46 rq:1098329 version:3.1.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyparsing/python-pyparsing.changes
2023-04-22 21:58:36.872554295 +0200
+++
/work/SRC/openSUSE:Factory/.python-pyparsing.new.3193/python-pyparsing.changes
2023-07-14 15:35:38.313935201 +0200
@@ -1,0 +2,27 @@
+Tue Jul 11 11:01:42 UTC 2023 - Markéta Machová <[email protected]>
+
+- Add upstream patch limit-error-messages.patch as a part of
+ a workaround for boo#1213007
+
+-------------------------------------------------------------------
+Sat Jul 1 13:52:01 UTC 2023 - Markéta Machová <[email protected]>
+
+- update to 3.1.0
+ * API ENHANCEMENT: `Optional(expr)` may now be written as `expr | ""`
+ * Added new class property `identifier` to all Unicode set classes in
+ `pyparsing.unicode`, using the class's values for `cls.identchars`
+ and `cls.identbodychars`.
+ * ParseResults` now has a new method `deepcopy()`, in addition to the
+ current `copy()` method.
+ * Reworked `delimited_list` function into the new `DelimitedList` class.
+ * Added new class method `ParserElement.using_each`
+ * Added new builtin `python_quoted_string`, which will match any form
+ of single-line or multiline quoted strings defined in Python.
+ * `ParserElement.validate()` is deprecated.
+ * Added bool `embed` argument to `ParserElement.create_diagram()`.
+ * Added support for Python 3.12.
+ * Updated `create_diagram()` code to be compatible with
+ railroad-diagrams package version 3.0.
+ * Many other changes, see upstream CHANGES
+
+-------------------------------------------------------------------
Old:
----
pyparsing-3.0.9.tar.gz
New:
----
limit-error-messages.patch
pyparsing-3.1.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pyparsing.spec ++++++
--- /var/tmp/diff_new_pack.aGVn9U/_old 2023-07-14 15:35:39.029939366 +0200
+++ /var/tmp/diff_new_pack.aGVn9U/_new 2023-07-14 15:35:39.033939390 +0200
@@ -56,12 +56,14 @@
%endif
%{?sle15_python_module_pythons}
Name: %{pprefix}-pyparsing%{?psuffix}
-Version: 3.0.9
+Version: 3.1.0
Release: 0
Summary: Grammar Parser Library for Python
License: GPL-2.0-or-later AND MIT AND GPL-3.0-or-later
URL: https://github.com/pyparsing/pyparsing/
Source:
https://files.pythonhosted.org/packages/source/p/pyparsing/pyparsing-%{version}.tar.gz
+#PATCH-FIX-UPSTREAM https://github.com/pyparsing/pyparsing/pull/493 Limit
error message overriding
+Patch: limit-error-messages.patch
BuildRequires: %{python_module base}
BuildRequires: %{python_module flit-core}
BuildRequires: fdupes
@@ -91,6 +93,7 @@
%prep
%setup -q -n %{modname}-%{version}
+%autopatch -p1
%if !%{with test}
%build
++++++ limit-error-messages.patch ++++++
>From e0826a2ec69bc3cf71ba7ca7945774d9213d7d5e Mon Sep 17 00:00:00 2001
From: Kyle Sunden <[email protected]>
Date: Wed, 5 Jul 2023 14:16:50 -0500
Subject: [PATCH] Limit error message overriding when
---
pyparsing/core.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/pyparsing/core.py b/pyparsing/core.py
index 8233f72c..bfbb391c 100644
--- a/pyparsing/core.py
+++ b/pyparsing/core.py
@@ -4547,7 +4547,8 @@ def parseImpl(self, instring, loc, doActions=True):
try:
return self.expr._parse(instring, loc, doActions,
callPreParse=False)
except ParseBaseException as pbe:
- pbe.msg = self.errmsg
+ if not isinstance(self, Forward) or self.customName is not
None:
+ pbe.msg = self.errmsg
raise
else:
raise ParseException(instring, loc, "No expression defined", self)
++++++ pyparsing-3.0.9.tar.gz -> pyparsing-3.1.0.tar.gz ++++++
++++ 97696 lines of diff (skipped)