Skip to content

chore(deps): update dependency lark to v1#567

Open
red-hat-konflux[bot] wants to merge 1 commit intodevelopmentfrom
konflux/mintmaker/development/lark-1.x
Open

chore(deps): update dependency lark to v1#567
red-hat-konflux[bot] wants to merge 1 commit intodevelopmentfrom
konflux/mintmaker/development/lark-1.x

Conversation

@red-hat-konflux
Copy link
Copy Markdown
Contributor

@red-hat-konflux red-hat-konflux Bot commented Mar 31, 2026

This PR contains the following updates:

Package Change Age Confidence
lark ==0.12.0==1.3.1 age confidence

Release Notes

lark-parser/lark (lark)

v1.3.1: - Bugfix + source build now contains complete project data

Compare Source

What's Changed
  • 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

Full Changelog: lark-parser/lark@1.3.0...1.3.1

v1.3.0: - Introduces text-slices, Earley fix, and various small improvements

Compare Source

New features
  • Lark can now parse in sections of strings, using TextSlice, as a faster alternative to creating a "copy-slice" with s[i:j]. Learn more
  • 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()
Bugfixes
  • 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)
Full list of PRs
New Contributors

Full Changelog: lark-parser/lark@1.2.2...1.3.0

v1.2.2: - Bugfix for 1.2.1 (Earley issues with ambiguity)

Compare Source

What's Changed
  • Bugfix: Earley now respects ambiguity='resolve' again. Bug was introd… by @​erezsh in #​1444

Full Changelog: lark-parser/lark@1.2.1...1.2.2

v1.2.1: - Now only Python 3.8+; several bugfixes in Earley

Compare Source

Main Changes
  • Dropped support for Python versions lower than 3.8
  • Several bugfixes in the Earley algorithm, related to suppressed ambiguities
  • Improved performance in InteractiveParser.accepts()
What's Changed
New Contributors

Full Changelog: lark-parser/lark@1.1.9...1.2.1

v1.1.9: - Patch for a breaking change in 3.11.7 re module

Compare Source

What's Changed
New Contributors

Full Changelog: lark-parser/lark@1.1.8...1.1.9

v1.1.8: - Output-stable Earley; Interactive standalone; various improvements

Compare Source

What's Changed
New Contributors

Full Changelog: lark-parser/lark@1.1.7...1.1.8

v1.1.7: - Bugfix for release 1.1.6 in propagate_positions

Compare Source

Bugfix in propagate_positions (issue #​1304)

See: https://github.com/lark-parser/lark/releases/tag/1.1.6

v1.1.6: - Strict mode, Python-style comments, Bugfixes

Compare Source

What's Changed - main points
What's Changed - PRs
New Contributors

Full Changelog: lark-parser/lark@1.1.5...1.1.6

v1.1.5: - Fix AmbiguousExpander; Fix line information in InteractiveParser

Compare Source

What's Changed
New Contributors

Full Changelog: lark-parser/lark@1.1.4...1.1.5

v1.1.4: - Added support for using Token in match statements, and other small fixes

Compare Source

What's Changed
New Contributors

Full Changelog: lark-parser/lark@1.1.3...1.1.4

v1.1.3: - Various fixes and refactors

Compare Source

What's Changed
New Contributors

Full Changelog: lark-parser/lark@1.1.2...1.1.3

v1.1.2: - Small fixes; Support for printing trees with "rich"

Compare Source

Highlights
  • Tree instances now have a pretty print with the "rich" library, when doing rich.print(tree)
  • Bugfix for recursive regexes (with the "regex" library)
  • Refactors, cleanups, and better mypy support
What's Changed
New Contributors

Full Changelog: lark-parser/lark@1.1.1...1.1.2

v1.1.1: Mypy fixes, and improvements to the InteractiveParser API

Compare Source

What's Changed
New Contributors

Full Changelog: lark-parser/lark@1.1.0...1.1.1

v1.1.0: Version 1.1.0

Compare Source

  • Better support for typing and mypy. Includes generic tree typing (Thanks @​plannigan!)

  • Improvements to python.lark (walrus operator, slashes in function params, and more). Now parses the entire Python 3.10 lib successfully

  • Bugfixes:

    • Transformer.__default__ not called in tree-less LALR mode (Issue #​1029)
    • v_args failed to apply to class under standalone parser (Issue #​1059)
    • maybe_placeholders incorrectly accumulated params when it encountered the | operator (Issue #​1078)

v1.0.0: Version 1.0! Big release with breaking changes

Compare Source

Over the last few years, Lark has grown to become a comprehensive toolkit for parsing structured text.

Today, I'm happy to announce the long anticipated version 1.0 of Lark, marking the API as stable.

We've made quite a few breaking changes, in order to achieve congruous API with as little "gotchas" as possible. Upgrading to version 1.0 might require a few changes to your project.

Breaking changes
  • Dropped Python 2 support! Lark now only supports Python 3.6 and up.

  • Install lark using pip install lark (instead of lark-parser ).

  • maybe_placeholders is now True by default.

  • Renamed TraditionalLexer to BasicLexer, and 'standard' lexer option to 'basic'.

  • Default priority is now 0, for both terminals and rules (used to be 1 for terminals).

  • Discard mechanism is now done by returning Discard, instead of raising it as an exception.

  • use_accepts in UnexpectedInput.match_examples() is now True by default.

  • v_args(meta=True) now gives meta as the first argument. i.e. (meta, children).

Improvments
  • Better type annotations
  • Support for terminal priorities for dynamic Earley
  • Python3 grammar is now officially supported, and can be used via %import python (...)
  • New experimental feature: Tree Templates
  • Various bugfixes
Acknowledgements

Many thanks to all our contributors and donors, who made this release possible. Special thanks goes to -

  • @​MegaIng, for innumerous features, bugfixes, and code-reviews.
  • @​chanicpanic, for his immense and continual contributions to the Earley parser, and for helping with the v1.0 effort.
  • @​erezsh, for being myself.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

To execute skipped test pipelines write comment /ok-to-test.


Documentation

Find out how to configure dependency updates in MintMaker documentation or see all available configuration options in Renovate documentation.

@red-hat-konflux red-hat-konflux Bot requested a review from a team as a code owner March 31, 2026 19:51
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
@red-hat-konflux red-hat-konflux Bot force-pushed the konflux/mintmaker/development/lark-1.x branch from c373444 to 895dfbc Compare April 3, 2026 00:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants