diff --git a/pyparsing-3.1.2.tar.gz b/pyparsing-3.1.2.tar.gz deleted file mode 100644 index 8e25a7b..0000000 --- a/pyparsing-3.1.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a1bac0ce561155ecc3ed78ca94d3c9378656ad4c94c1270de543f621420f94ad -size 889571 diff --git a/pyparsing-3.1.4.tar.gz b/pyparsing-3.1.4.tar.gz new file mode 100644 index 0000000..eca8641 --- /dev/null +++ b/pyparsing-3.1.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f86ec8d1a83f11977c9a6ea7598e8c27fc5cddfa5b07ea2241edbbde1d7bc032 +size 900231 diff --git a/python-pyparsing.changes b/python-pyparsing.changes index 81828b5..9578b76 100644 --- a/python-pyparsing.changes +++ b/python-pyparsing.changes @@ -1,3 +1,43 @@ +------------------------------------------------------------------- +Sat Aug 31 12:00:10 UTC 2024 - Dirk Müller + +- update to 3.1.4: + * Fix to type annotation that referenced `re.Pattern`. Since + this type was introduced in Python 3.7, using this type + definition broke Python 3.6 installs of pyparsing. + * Added new `Tag` ParserElement, for inserting metadata into + the parsed results. + This allows a parser to add metadata or annotations to the + parsed tokens. + * The `Tag` element also accepts an optional `value` + parameter, defaulting to `True`. + See the new `tag_metadata.py` example in the `examples` + directory. + * Fixed issue where PEP8 compatibility names for + `ParserElement` static methods were + not themselves defined as `staticmethods`. When called + using a `ParserElement` instance, this resulted in a + `TypeError` exception. + * To address a compatibility issue in RDFLib, added a property + setter for the `ParserElement.name` property, to call + `ParserElement.set_name`. + * Modified `ParserElement.set_name()` to accept a None value, + to clear the defined name and corresponding error message for + a `ParserElement`. + * Updated railroad diagram generation for `ZeroOrMore` and + `OneOrMore` expressions with `stop_on` expressions, while + investigating #558 + * Added exception type to `trace_parse_action` exception + output, while investigating SO question posted by medihack. + * Added `set_name` calls to internal expressions generated in + `infix_notation`, for improved railroad diagramming. + * Fixed bug (and corresponding test code) in `delta_time` + example that did not handle weekday references in time + expressions + * Minor performance speedup in `trim_arity`, to benefit any + parsers using parse actions. + * Added early testing support for Python 3.13 with JIT enabled. + ------------------------------------------------------------------- Sat Mar 16 10:01:30 UTC 2024 - Dirk Müller diff --git a/python-pyparsing.spec b/python-pyparsing.spec index dc6bfba..8847454 100644 --- a/python-pyparsing.spec +++ b/python-pyparsing.spec @@ -56,7 +56,7 @@ ExclusiveArch: do-not-build %endif %{?sle15_python_module_pythons} Name: %{pprefix}-pyparsing%{?psuffix} -Version: 3.1.2 +Version: 3.1.4 Release: 0 Summary: Grammar Parser Library for Python License: GPL-2.0-or-later AND MIT AND GPL-3.0-or-later