chore(deps): update dependency lark to v1#567
Open
red-hat-konflux[bot] wants to merge 1 commit intodevelopmentfrom
Open
chore(deps): update dependency lark to v1#567red-hat-konflux[bot] wants to merge 1 commit intodevelopmentfrom
red-hat-konflux[bot] wants to merge 1 commit intodevelopmentfrom
Conversation
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
c373444 to
895dfbc
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==0.12.0→==1.3.1Release Notes
lark-parser/lark (lark)
v1.3.1: - Bugfix + source build now contains complete project dataCompare Source
What's Changed
Full Changelog: lark-parser/lark@1.3.0...1.3.1
v1.3.0: - Introduces text-slices, Earley fix, and various small improvementsCompare Source
New features
TextSlice, as a faster alternative to creating a "copy-slice" withs[i:j]. Learn morematchon Tree instancesTree.find_token()Bugfixes
Full list of PRs
Symbol.__eq__to return false when comparing with None by @weaversam8 in #1481Terminal.__init__by @Liam-DeVoe in #1503New 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
Full Changelog: lark-parser/lark@1.2.1...1.2.2
v1.2.1: - Now only Python 3.8+; several bugfixes in EarleyCompare Source
Main Changes
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 moduleCompare 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 improvementsCompare Source
What's Changed
Token.end_*fields for ignored tokens by @jtbraun in #1309New Contributors
Full Changelog: lark-parser/lark@1.1.7...1.1.8
v1.1.7: - Bugfix for release 1.1.6 in propagate_positionsCompare 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, BugfixesCompare Source
What's Changed - main points
strict=True, implemented using interegular by @MegaIngWhat's Changed - PRs
[*x]by @evtn in #1232codespellhook by @kianmeng in #1244if TYPE_CHECKING:branches by @MegaIng in #1278PEP 621-compliantpyproject.toml. by @KOLANICH in #1157New Contributors
Full Changelog: lark-parser/lark@1.1.5...1.1.6
v1.1.5: - Fix AmbiguousExpander; Fix line information in InteractiveParserCompare 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 fixesCompare Source
What's Changed
__all__to__init__by @aspizu in #1200__lark_meta__()by @erezsh in #1203New Contributors
Full Changelog: lark-parser/lark@1.1.3...1.1.4
v1.1.3: - Various fixes and refactorsCompare Source
What's Changed
Add user to cache filename; better handle cache load/save failures by @klauer in #1179
refactor: add 'usedforsecurity=False' arg to hashlib.md5 usage by @cquick01 in #1190
Create lark/grammars/init.py by @chanicpanic in #1171
Adjust imports for Python 3.11 by @The-Compiler in #1140
Fix for issue #1173 by @erezsh in #1198
Add match stmt support to python.lark by @joseph-e-k in #1123
Added match stmt support to python.lark by @MegaIng in #1016
Linting to fix minor issues by @Erotemic in #1128
Simplify lexer: Use Match.lastgroup instead of lastindex by @erezsh in #1129
Fix confusing import in examples by @JonasLoos in #1138
Move iter_subtrees_topdown into standalone by @camgunz in #1137
Fix 1146: use the class's get instead of the instance's get by @MegaIng in #1147
fix: remove Python 2 legacy packaging code by @henryiii in #1148
Fix for PR #1149 by @erezsh in #1150
Old link for sppf is no longer valid. Point to web archive instead. by @patrickhuber in #1159
Fix ForestToPyDotVisitor by @chanicpanic in #1167
Close file-like objects to address ResourceWarning. by @shawnbrown in #1183
Minor adjustments to PR #1179 by @erezsh in #1189
Adjustments for PR #1152 by @erezsh in #1191
Remove trailing whitespace by @bcr in #1196
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
Treeinstances now have a pretty print with the "rich" library, when doingrich.print(tree)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 APICompare Source
What's Changed
ntochildwhen iterating overchildrenby @hf-kklein in #1110type: ignore[error]in lark/tree.py and lark/utils.py by @hf-kklein in #1099py.typedto package_data of lark package by @hf-kklein in #1109iter_parse()method, for easier instrumentation by @erezsh in #1111New Contributors
Full Changelog: lark-parser/lark@1.1.0...1.1.1
v1.1.0: Version 1.1.0Compare 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 successfullyBugfixes:
Transformer.__default__not called in tree-less LALR mode (Issue #1029)v_argsfailed to apply to class under standalone parser (Issue #1059)maybe_placeholdersincorrectly accumulated params when it encountered the | operator (Issue #1078)v1.0.0: Version 1.0! Big release with breaking changesCompare 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_placeholdersis now True by default.Renamed
TraditionalLexertoBasicLexer, 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_acceptsinUnexpectedInput.match_examples()is now True by default.v_args(meta=True)now gives meta as the first argument. i.e.(meta, children).Improvments
%import python (...)Acknowledgements
Many thanks to all our contributors and donors, who made this release possible. Special thanks goes to -
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.
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.