cel-python icon indicating copy to clipboard operation
cel-python copied to clipboard

Update lark dependency to version ^1.1.8 to allow others to use the latest lark

Open rlam3 opened this issue 7 months ago • 5 comments

lark dependency conflict ebtween these two packages

│ extract-msg  │   │   hatchet-sdk   │
│ (>=0.54.0)   │   │   (^1.8.1)   
┌─────────────┐
│ My Project│
└──────┬──────┘
       │
       ├───────────────┐
       │               │
       ▼               ▼
┌──────────────┐   ┌─────────────────┐
│ extract-msg  │   │   hatchet-sdk   │
│ (>=0.54.0)   │   │   (^1.8.1)      │
└──────┬───────┘   └────────┬────────┘
       │                    │
       │ Depends on         │ Depends on
       ▼                    ▼
┌──────────────┐   ┌─────────────────┐
│ RTFDE        │   │   cel-python    │
│ (>=0.1.1,<0.2)│   │  (>=0.2.0,<0.3.0)│
└──────┬───────┘   └────────┬────────┘
       │                    │
       │ Depends on         │ Depends on
       ▼                    ▼
┌──────────────┐         ┌─────────────────┐
│ lark         │         │ lark            │
│ (**>=1.1.8**)│◄──────X─┤ (**^0.12**)     │
└──────────────┘         └─────────────────┘
         ▲               │
         └──── CONFLICT! ┘
         ```

rlam3 avatar May 13 '25 00:05 rlam3

CLA Signed

The committers listed above are authorized under a signed CLA.

  • :white_check_mark: login: rlam3 (634b85a73f2403e38d8a59cc35cc479fae6c8916)

👍 this would solve issues on my end as well !

tdeboissiere avatar May 15 '25 07:05 tdeboissiere

Please note that it might be necessary to augment this PR with a further adjustment to make lark >= 1.0 work. The change is in the file celpy/celparser.py. Additional kwargs need to be provided to CELParser.CEL_PARSER = Lark(...);

maybe_placeholders=False,
priority="invert",

andponlin-canva avatar May 19 '25 01:05 andponlin-canva

/easycla

jarias-lfx avatar Jul 03 '25 13:07 jarias-lfx

Since we're now at "lark>=1.2.2". I think this can be closed.

slott56 avatar Sep 27 '25 12:09 slott56

We're now at "lark>=1.2.2". This has been overtaken by events.

slott56 avatar Nov 05 '25 19:11 slott56