From 1f2f72470cd427ce8184c7a8fe4764cf31e1ceda Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Sun, 1 Mar 2026 21:34:46 +0100 Subject: [PATCH] CI: Install adjusted `antlr4-tools` that uses `search.maven.org` The intention is to prevent being flagged or rejected as a bot by `central.sonatype.com`. --- .github/workflows/python.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 93a2748..45e38a1 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -59,6 +59,11 @@ jobs: - name: Set up project run: | uv sync --all-groups + # TODO: Remove again after upstream patch was merged and released. + # https://github.com/crate/cratedb-sqlparse/issues/170 + # https://github.com/antlr/antlr4-tools/issues/22 + # https://github.com/antlr/antlr4-tools/pull/23 + uv pip install --upgrade 'antlr4-tools @ git+https://github.com/crate-workbench/antlr4-tools@search.maven.org' - name: Run linter and software tests run: |