From 982bab44d4380dcdf364fd7277b2478137443a38 Mon Sep 17 00:00:00 2001 From: Martin Peris Date: Fri, 15 Mar 2024 16:50:50 +0900 Subject: [PATCH 1/2] Add newer python versions to test Add Python 3.11 and 3.12 as target tests --- .github/workflows/pylint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index ec56678..eea4bef 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.8", "3.9", "3.10"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} From 9bb20a003548b2dad49278668eb42cf2f34538bb Mon Sep 17 00:00:00 2001 From: Martin Peris Date: Fri, 15 Mar 2024 17:00:06 +0900 Subject: [PATCH 2/2] Add dependency on setuptools Pipeline for Python 3.12 complains about setuptools. Adding it --- .github/workflows/pylint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index eea4bef..b3a967f 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -17,7 +17,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install pylint numpy pytest + pip install pylint numpy pytest setuptools - name: Analysing the code with pylint run: | pylint $(git ls-files '*.py')