From e94e2f61f022fcd28eb9ae13359f8a5564b343b85e4ef62226dcdf46af7b82ad Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 28 Oct 2024 17:01:14 +0000 Subject: [PATCH 1/2] - update to 3.2.0: * Discontinued support for Python 3.6, 3.7, and 3.8. Adopted new Python features from Python versions 3.7-3.9: - Updated type annotations to use built-in container types instead of names imported from the `typing` module (e.g., `list[str]` vs `List[str]`). - Reworked portions of the packrat cache to leverage insertion-preserving ordering in dicts (including removal of uses of `OrderedDict`). - Changed `pdb.set_trace()` call in `ParserElement.set_break()` to `breakpoint()`. - Converted `typing.NamedTuple` to `dataclasses.dataclass` in railroad diagramming code. - Added `from __future__ import annotations` to clean up some type annotations. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=106 --- pyparsing-3.1.4.tar.gz | 3 --- pyparsing-3.2.0.tar.gz | 3 +++ python-pyparsing.changes | 19 +++++++++++++++++++ python-pyparsing.spec | 2 +- 4 files changed, 23 insertions(+), 4 deletions(-) delete mode 100644 pyparsing-3.1.4.tar.gz create mode 100644 pyparsing-3.2.0.tar.gz diff --git a/pyparsing-3.1.4.tar.gz b/pyparsing-3.1.4.tar.gz deleted file mode 100644 index eca8641..0000000 --- a/pyparsing-3.1.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f86ec8d1a83f11977c9a6ea7598e8c27fc5cddfa5b07ea2241edbbde1d7bc032 -size 900231 diff --git a/pyparsing-3.2.0.tar.gz b/pyparsing-3.2.0.tar.gz new file mode 100644 index 0000000..fd05229 --- /dev/null +++ b/pyparsing-3.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cbf74e27246d595d9a74b186b810f6fbb86726dbf3b9532efb343f6d7294fe9c +size 920984 diff --git a/python-pyparsing.changes b/python-pyparsing.changes index 9578b76..6aa0a7d 100644 --- a/python-pyparsing.changes +++ b/python-pyparsing.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Mon Oct 28 17:00:03 UTC 2024 - Dirk Müller + +- update to 3.2.0: + * Discontinued support for Python 3.6, 3.7, and 3.8. Adopted + new Python features from Python versions 3.7-3.9: + - Updated type annotations to use built-in container types + instead of names imported from the `typing` module + (e.g., `list[str]` vs `List[str]`). + - Reworked portions of the packrat cache to leverage + insertion-preserving ordering in dicts (including removal of + uses of `OrderedDict`). + - Changed `pdb.set_trace()` call in `ParserElement.set_break()` + to `breakpoint()`. + - Converted `typing.NamedTuple` to `dataclasses.dataclass` + in railroad diagramming code. + - Added `from __future__ import annotations` to clean up + some type annotations. + ------------------------------------------------------------------- Sat Aug 31 12:00:10 UTC 2024 - Dirk Müller diff --git a/python-pyparsing.spec b/python-pyparsing.spec index 8847454..6c18edc 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.4 +Version: 3.2.0 Release: 0 Summary: Grammar Parser Library for Python License: GPL-2.0-or-later AND MIT AND GPL-3.0-or-later From f1e1133bba26ec60898028a0c4c127cfb034da1819f9aea0cd0304d169fc64ee Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 23 Nov 2024 08:34:40 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=107 --- python-pyparsing.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/python-pyparsing.spec b/python-pyparsing.spec index 6c18edc..cb3f6b6 100644 --- a/python-pyparsing.spec +++ b/python-pyparsing.spec @@ -69,6 +69,7 @@ BuildRequires: python-rpm-macros BuildArch: noarch %if %{with test} BuildRequires: %{python_module jinja2} +BuildRequires: %{python_module matplotlib} BuildRequires: %{python_module pytest} BuildRequires: %{python_module railroad-diagrams} %endif