2 Commits

Author SHA256 Message Date
b6159a3c15 Accepting request 1205380 from devel:languages:python
- update to 1.2.2:
  * Bugfix: Earley now respects ambiguity='resolve' again.
- update to 1.2.1:
  * Dropped support for Python versions lower than 3.8
  * Several bugfixes in the Earley algorithm, related to
    suppressed ambiguities
  * Improved performance in `InteractiveParser.accepts()`
  * Give "Shaping the tree" clear sub-headings
  * Fix for when providing a transformer with a Token
  * Pin types-regex to a working version
  * Add Outlines to list of projects using Lark
  * Code coverage: Update Python version
  * Attempt to solve performance problems in accepts()
  * Docs: Added Indenter
  * Clean up test_parser.py, use xFail instead of skip where
    appropriate
  * Update config and drop python < 3.8
  * BUGFIX Earley: Now yielding a previously repressed ambiguity
  * Fix SymbolNode.end for completed tokens
  * Disable ForestToParseTree cache when ambiguity='resolve'
  * Bugfix for issue #1434

OBS-URL: https://build.opensuse.org/request/show/1205380
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lark?expand=0&rev=9
2024-10-04 15:08:27 +00:00
b7c87d24d2 - update to 1.2.2:
* Bugfix: Earley now respects ambiguity='resolve' again.
- update to 1.2.1:
  * Dropped support for Python versions lower than 3.8
  * Several bugfixes in the Earley algorithm, related to
    suppressed ambiguities
  * Improved performance in `InteractiveParser.accepts()`
  * Give "Shaping the tree" clear sub-headings
  * Fix for when providing a transformer with a Token
  * Pin types-regex to a working version
  * Add Outlines to list of projects using Lark
  * Code coverage: Update Python version
  * Attempt to solve performance problems in accepts()
  * Docs: Added Indenter
  * Clean up test_parser.py, use xFail instead of skip where
    appropriate
  * Update config and drop python < 3.8
  * BUGFIX Earley: Now yielding a previously repressed ambiguity
  * Fix SymbolNode.end for completed tokens
  * Disable ForestToParseTree cache when ambiguity='resolve'
  * Bugfix for issue #1434

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lark?expand=0&rev=17
2024-10-03 08:32:27 +00:00
4 changed files with 6 additions and 34 deletions

BIN
lark-1.2.2.tar.gz LFS Normal file

Binary file not shown.

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7e6ee0e0e650643150ee42622d28e77324fe413eb83037817f05add5236356b2
size 420016

View File

@@ -1,31 +1,3 @@
-------------------------------------------------------------------
Thu Nov 27 14:54:33 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 1.3.1
* Bugfix: Restore support for custom input, alongside text
and TextSlice by @erezsh in (#1562)
* Keep sdist in sync with git (include all files in source build,
including docs, tests and examples) by @chanicpanic in (#1561)
- from version 1.3.0
* Lark can now parse in sections of strings, using TextSlice, as a
faster alternative to creating a "copy-slice" with s[i:j].
* Added support to match on Tree instances
* When serializing a Lark instance, added the option to include the
grammar object (before compilation).
* Added convenience method Tree.find_token()
* Bugfix of an edge case in Earley related to representation of ambiguity.
* Bugfixes in the standalone parser related to imports
* Bugfix in indenter - now dedents always contain line information
* Various small bugfixes (see PR list below)
- from version 1.2.2
* Bugfix: Earley now respects ambiguity='resolve' again. (#1444)
- Drop py314-functools-partial.patch, merged upstream
-------------------------------------------------------------------
Sun Sep 21 15:23:43 UTC 2025 - Dirk Müller <dmueller@suse.com>
- add py314-functools-partial.patch
-------------------------------------------------------------------
Thu Oct 3 08:30:59 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-lark
#
# Copyright (c) 2025 SUSE LLC and contributors
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-lark
Version: 1.3.1
Version: 1.2.2
Release: 0
Summary: A parsing library for Python
License: MIT
@@ -46,7 +46,7 @@ Lark is a general-purpose parsing library for Python.
With Lark, one can parse any context-free grammar with little code.
%prep
%autosetup -p1 -n lark-%{version}
%setup -q -n lark-%{version}
%build
%pyproject_wheel