From 8bf1838ae0c865dd37291846590e72197094370c Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Wed, 24 Jan 2024 19:20:53 +0100 Subject: [PATCH] CI: CodeQL complains about deprecated `setup.py` install SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. It also refers to: /usr/local/lib/python3.10/dist-packages/ => Maybe explicitly installing Python 3.11 helps already? --- .github/workflows/codeql.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 4a99cfc6..6c03c510 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -33,9 +33,18 @@ jobs: sqla-version: ['<1.4', '<1.5', '<2.1'] steps: - - name: Checkout + - name: Acquire sources uses: actions/checkout@v4 + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: 3.11 + architecture: x64 + cache: 'pip' + cache-dependency-path: + pyproject.toml + - name: Initialize CodeQL uses: github/codeql-action/init@v2 with: