From dd3bc4fcddd7cb5a6bd0043ba596c2dc866c9bb9 Mon Sep 17 00:00:00 2001 From: Rafael Guterres Jeffman Date: Fri, 7 Nov 2025 11:36:49 -0300 Subject: [PATCH] linter: Pin Python version for ansible-lint ansible-lint is complaining that Python 3.14 requries ansible-core 2.20, even if other versions work on that Python version. Woraround implemented is to pin the ansible-lint Python version to 3.13. Signed-off-by: Rafael Guterres Jeffman --- .github/workflows/lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index bfddba60..e758c32c 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -13,7 +13,7 @@ jobs: fetch-depth: 0 - uses: actions/setup-python@v5.1.0 with: - python-version: "3.x" + python-version: "3.13" - name: Run ansible-lint run: | pip install "ansible-core>=2.16,<2.17" 'ansible-lint==6.22'