forked from pool/python-lark
Compare commits
6 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 6316c9b8e7 | |||
| 31cd840b90 | |||
| 17c0f780a7 | |||
| 2733d4fca6 | |||
| 894ae27a95 | |||
| bfb3418032 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:32f5f3e1418df3a9032d1a8f9bea62427319e28733ac463f5f37d311b1d99c01
|
||||
size 416074
|
||||
3
lark-1.3.1.tar.gz
Normal file
3
lark-1.3.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7e6ee0e0e650643150ee42622d28e77324fe413eb83037817f05add5236356b2
|
||||
size 420016
|
||||
@@ -1,3 +1,56 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
- 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
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 13 20:25:08 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-lark
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
#
|
||||
# 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.1.9
|
||||
Version: 1.3.1
|
||||
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
|
||||
%setup -q -n lark-%{version}
|
||||
%autosetup -p1 -n lark-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
Reference in New Issue
Block a user