4 Commits

Author SHA256 Message Date
6316c9b8e7 Accepting request 1320595 from devel:languages:python
Forwarded request #1320348 from glaubitz

- 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

OBS-URL: https://build.opensuse.org/request/show/1320595
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lark?expand=0&rev=11
2025-12-02 12:18:56 +00:00
31cd840b90 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lark?expand=0&rev=21
2025-11-29 22:12:14 +00:00
17c0f780a7 Accepting request 1306310 from devel:languages:python
- add py314-functools-partial.patch

OBS-URL: https://build.opensuse.org/request/show/1306310
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lark?expand=0&rev=10
2025-09-23 14:05:33 +00:00
2733d4fca6 - add py314-functools-partial.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lark?expand=0&rev=19
2025-09-21 15:23:58 +00:00
4 changed files with 34 additions and 6 deletions

Binary file not shown.

3
lark-1.3.1.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,31 @@
-------------------------------------------------------------------
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) 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.2.2
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