oasis-open / cti-pattern-validator

OASIS TC Open Repository: Validate patterns used to express cyber observable content in STIX Indicators

Home Page:https://stix2-patterns.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

stix2-patterns incompatible with antlr4-python3-runtime>=4.8

Rafiot opened this issue · comments

antlr4-python3-runtime v4.8 was released the 2020-01-16 and using stix2-patterns with that version returns error messages.

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?