antlr / grammars-v4

Grammars written for ANTLR v4; expectation that the grammars are free of actions.
MIT License
10.15k stars 3.7k forks source link

[build] Dependabot upgrades for Antlr crash the build. #3468

Closed kaby76 closed 1 year ago

kaby76 commented 1 year ago

When Antlr is released, Github offers dependabot updates to upgrade some of the targets. Unfortunately, these updates can crash the build because of some assumptions:

To streamline updating to the next version of Antlr, the version of the tool should be derived from the version of the runtime, thus allowing dependabot updates to work.

Dependabot will update JavaScript, Python3, maven-source-plugin, and the root pom.xml (which really isn't used).

This means each target will be on its own version of Antlr. That's probably best because the Dart and PHP runtimes aren't released promptly. They usually take weeks because I have to ask people to cut a release and push it to public servers.

kaby76 commented 1 year ago

https://github.com/antlr/grammars-v4/pull/3467

kaby76 commented 1 year ago

So, let's analyse each of the targets and see how an Antlr upgrade is handled.

kaby76 commented 1 year ago
kaby76 commented 1 year ago
kaby76 commented 1 year ago