oasis-open / cti-pattern-validator

OASIS TC Open Repository: Validate patterns used to express cyber observable content in STIX Indicators
https://stix2-patterns.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
26 stars 23 forks source link

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

Closed Rafiot closed 4 years ago

Rafiot commented 4 years ago

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

chisholm commented 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.?

Rafiot commented 4 years ago

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?