Closed Rafiot closed 4 years ago
Yeah, the parser and runtime are mismatched in that case. So we should change the dependency version spec to ==4.7. maybe? Or regenerate the parser and change it to ==4.8.?
If there are no ways to make it compatible to both, you should pick one, yes.
I personally prefer use the latest one, but that's ultimately your call. Maybe 4.8 for the next release?
antlr4-python3-runtime v4.8 was released the 2020-01-16 and using stix2-patterns with that version returns error messages.