17
0

2 Commits

Author SHA256 Message Date
416f8b0fab Accepting request 1320161 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1320161
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyparsing?expand=0&rev=54
2025-11-27 14:17:49 +00:00
759831016e - Update to 3.2.5
* JINX! Well, 3.2.4 had a bug for `Word` expressions that include a space
    character, if that expression was then copied, either directly with .copy() or
    by adding a results name, or included in another construct (like `DelimitedList`)
    that makes a copy internally. Issue #618, reported by mstinberg, among others -
    thanks, and sorry for the inconvenience.
- from version 3.2.4
  * Barring any catastrophic bugs in this release, this will be the last release in
    the 3.2.x line. The next release, 3.3.0, will begin emitting `DeprecationWarnings`
    when the pre-PEP8 methods are used (see header notes above for more information,
    including available automation for converting any existing code using
    pyparsing with the old names).
  * Fixed bug when using a copy of a `Word` expression (either by using the explicit
    `copy()` method, or attaching a results name), and setting a new expression name,
    a raised `ParseException` still used the original expression name. Also affected
    `Regex` expressions with `as_match` or `as_group_list` = True. Reported by
    Waqas Ilyas, in Issue #612 - good catch!
  * Fixed type annotation for `replace_with`, to accept `Any` type. Fixes Issue #602,
    reported by esquonk.
  * Added locking around potential race condition in `ParserElement.reset_cache`, as
    well as other cache-related methods. Fixes Issue #604, reported by CarlosDescalziIM.
  * Substantial update to docstrings and doc generation in preparation for 3.3.0,
    great effort by FeRD, thanks!
  * Notable addition by FeRD to convert docstring examples to work with doctest! This
    was long overdue, thanks so much!

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=113
2025-11-26 11:27:44 +00:00
4 changed files with 33 additions and 4 deletions

Binary file not shown.

3
pyparsing-3.2.5.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2df8d5b7b2802ef88e8d016a2eb9c7aeaa923529cd251ed0fe4608275d4105b6
size 1099274

View File

@@ -1,3 +1,32 @@
-------------------------------------------------------------------
Wed Nov 26 10:48:14 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 3.2.5
* JINX! Well, 3.2.4 had a bug for `Word` expressions that include a space
character, if that expression was then copied, either directly with .copy() or
by adding a results name, or included in another construct (like `DelimitedList`)
that makes a copy internally. Issue #618, reported by mstinberg, among others -
thanks, and sorry for the inconvenience.
- from version 3.2.4
* Barring any catastrophic bugs in this release, this will be the last release in
the 3.2.x line. The next release, 3.3.0, will begin emitting `DeprecationWarnings`
when the pre-PEP8 methods are used (see header notes above for more information,
including available automation for converting any existing code using
pyparsing with the old names).
* Fixed bug when using a copy of a `Word` expression (either by using the explicit
`copy()` method, or attaching a results name), and setting a new expression name,
a raised `ParseException` still used the original expression name. Also affected
`Regex` expressions with `as_match` or `as_group_list` = True. Reported by
Waqas Ilyas, in Issue #612 - good catch!
* Fixed type annotation for `replace_with`, to accept `Any` type. Fixes Issue #602,
reported by esquonk.
* Added locking around potential race condition in `ParserElement.reset_cache`, as
well as other cache-related methods. Fixes Issue #604, reported by CarlosDescalziIM.
* Substantial update to docstrings and doc generation in preparation for 3.3.0,
great effort by FeRD, thanks!
* Notable addition by FeRD to convert docstring examples to work with doctest! This
was long overdue, thanks so much!
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Apr 10 17:09:14 UTC 2025 - Dirk Müller <dmueller@suse.com> Thu Apr 10 17:09:14 UTC 2025 - Dirk Müller <dmueller@suse.com>

View File

@@ -56,7 +56,7 @@ ExclusiveArch: do-not-build
%endif %endif
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: %{pprefix}-pyparsing%{?psuffix} Name: %{pprefix}-pyparsing%{?psuffix}
Version: 3.2.3 Version: 3.2.5
Release: 0 Release: 0
Summary: Grammar Parser Library for Python Summary: Grammar Parser Library for Python
License: GPL-2.0-or-later AND MIT AND GPL-3.0-or-later License: GPL-2.0-or-later AND MIT AND GPL-3.0-or-later