11 Commits

Author SHA256 Message Date
eadaa4ecd3 Accepting request 1320348 from home:glaubitz:branches:devel:languages:python
- 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/1320348
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
4063aab8c2 - 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
0f38359d77 - 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
6c93bbee79 - update to 1.1.9:
* Use MAXWIDTH instead of MAXREPEAT when available
  * Fix nested list markdown syntax in how_to_use.md
  * Run tests against Python 3.12

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lark?expand=0&rev=15
2024-01-13 20:25:20 +00:00
be03e2b571 - update to 1.1.8:
* Populate the `Token.end_*` fields for ignored tokens
  * Include .lark files in package data
  * Add an error message when using Lark.save() when
    parser!='lalr'
  * Add and improve docstrings
  * Small update to PR #1338
  * Fix 1345 attempt two
  * Earley now uses OrderedSet for better output stability
  * ContextualLexer now uses self.basic_lexer for easy
    extensibility (iss…
  * Improved typing around LALR and ParserState
  * Typing fixes. Mypy now produces 0 type errors
  * Standalone: Added support for interactive parser.
- update to 1.1.7:
  * Bugfix in propagate_positions (issue #1304)
- update to 1.1.6:
  * Added strict-mode, enabled by `strict=True`, implemented
    using interegular by @MegaIng
  * Read more here: https://lark-
    parser.readthedocs.io/en/latest/how_to_use.html#strict-mode
  * Cache: Replace md5 hashing with sha256.
  * Support for Python-style comments in Lark grammar
  * Updates to python.lark
  * Bugfixes and cleanup
- Update to v1.1.5
- Update to v1.1.4
- Update to v1.1.3
- Rename to python-lark
  * The standalone parser is now MPL2, instead of GPL. The Mozilla

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lark?expand=0&rev=13
2023-12-20 22:00:42 +00:00
900850754f - Remove not needed python-Js2Py BuildRequires
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lark?expand=0&rev=11
2023-10-24 10:46:32 +00:00
27834504b1 Accepting request 1081483 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081483
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lark?expand=0&rev=9
2023-04-21 14:36:58 +00:00
07c392d676 Accepting request 1042715 from home:yarunachalam:branches:devel:languages:python
- Update to v1.1.5 
  * What's Changed
  setup.cfg: Replace deprecated license_file with license_files by @mgorny in #1209
  Fix Github shenanigans by @erezsh in #1220
  Fix AmbiguousExpander (Issue #1214) by @chanicpanic in #1216
  Fix EOF line information in InteractiveParser.resume_parse() by @erezsh in #1224
  Use generator instead of list expand or add method by @jmishra01 in #1225

OBS-URL: https://build.opensuse.org/request/show/1042715
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lark?expand=0&rev=7
2022-12-14 10:11:00 +00:00
6c38ae3606 Accepting request 1039637 from home:yarunachalam:branches:devel:languages:python
- Update to v1.1.4 
  ci: Python 3.11 final by @henryiii in #1204
  Add __all__ to __init__ by @aspizu in #1200
  PropagatePositions: Allow any object to carry the metadata,
  by returning it in __lark_meta__() by @erezsh in #1203
  fix: Token now pattern matches correctly by @marcinplatek in #1181
  Updates to merge PR #1151 by @erezsh in #1205
  style: pre-commit basic config by @henryiii in #1151
  PR for v1.1.4 by @erezsh in #1208

OBS-URL: https://build.opensuse.org/request/show/1039637
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lark?expand=0&rev=5
2022-12-02 21:38:21 +00:00
59252cdd49 Accepting request 1032019 from home:yarunachalam:branches:devel:languages:python
- Update to v1.1.3 
  Various fixes and refactors
  * 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

OBS-URL: https://build.opensuse.org/request/show/1032019
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lark?expand=0&rev=3
2022-10-31 13:27:36 +00:00
bd13f44e22 Accepting request 1009203 from home:bnavigator:branches:devel:languages:python
- Rename to python-lark
- Update dependencies
- Fix License identifier: LICENSE was changed 6 years ago

OBS-URL: https://build.opensuse.org/request/show/1009203
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lark?expand=0&rev=1
2022-10-10 08:20:53 +00:00