Accepting request 1225956 from devel:languages:python
- 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/request/show/1225956 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyparsing?expand=0&rev=51
This commit is contained in:
commit
2cc21bd34a
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f86ec8d1a83f11977c9a6ea7598e8c27fc5cddfa5b07ea2241edbbde1d7bc032
|
||||
size 900231
|
3
pyparsing-3.2.0.tar.gz
Normal file
3
pyparsing-3.2.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cbf74e27246d595d9a74b186b810f6fbb86726dbf3b9532efb343f6d7294fe9c
|
||||
size 920984
|
@ -1,3 +1,22 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 28 17:00:03 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- 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 <dmueller@suse.com>
|
||||
|
||||
|
@ -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
|
||||
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user