Skip to content

Commit

Permalink
IMPROVEMENT: switch to from pip uv
Browse files Browse the repository at this point in the history
Workaround a python 3.13.1 bug
  • Loading branch information
amilcarlucas committed Dec 19, 2024
1 parent 2e8e0d0 commit 5560d4b
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,21 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.13"]
python-version: ["3.9", "3.12"]

env:
UV_SYSTEM_PYTHON: 1

steps:
- name: Checkout
uses: actions/checkout@v4

# https://docs.astral.sh/uv/guides/integration/github/
- name: Install uv and set the python version
uses: astral-sh/setup-uv@v4
with:
python-version: ${{ matrix.python-version }}

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
Expand All @@ -28,8 +37,7 @@ jobs:
- name: Install dependencies
# these extra packages are required by pylint to validate the python imports
run: |
python -m pip install --upgrade pip
pip install 'pylint>=3.3.2' defusedxml requests pymavlink pillow numpy matplotlib pyserial
uv pip install 'pylint>=3.3.2' defusedxml requests pymavlink pillow numpy matplotlib pyserial setuptools
- name: Analysing the code with pylint
run: |
Expand Down

0 comments on commit 5560d4b

Please sign in to comment.