Skip to content

Commit

Permalink
CI: CodeQL complains about deprecated setup.py install
Browse files Browse the repository at this point in the history
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?
  • Loading branch information
amotl committed Jan 24, 2024
1 parent 90d5d10 commit 17aae7c
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 17aae7c

Please sign in to comment.