From 8ca85c0b85a93b60d6202ebdd8ac955bb635a1a9 Mon Sep 17 00:00:00 2001 From: Marco Donadoni Date: Mon, 18 Mar 2024 17:12:58 +0100 Subject: [PATCH 1/2] ci(actions): update GitHub actions due to Node 16 deprecation (#204) --- .github/workflows/ci.yml | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6371fe8..ae7f1ea 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -39,7 +39,7 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Runs shell script static analysis run: | @@ -50,10 +50,10 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.8 @@ -67,10 +67,10 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.8 @@ -84,10 +84,10 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.8 @@ -101,10 +101,10 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.8 @@ -118,10 +118,10 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.8 @@ -143,10 +143,10 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.8 @@ -160,7 +160,7 @@ jobs: run: ./run-tests.sh --check-pytest - name: Codecov Coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml @@ -169,7 +169,7 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Check Dockerfile compliance run: ./run-tests.sh --check-dockerfile @@ -178,7 +178,7 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Build Docker image run: ./run-tests.sh --check-docker-build From c5f68aba7305f37755722a88b7a79f49a61b1ebf Mon Sep 17 00:00:00 2001 From: Marco Donadoni Date: Wed, 29 May 2024 14:37:49 +0200 Subject: [PATCH 2/2] build(python): drop support for Python 3.6 and 3.7 (#208) BREAKING CHANGE: drop support for Python 3.6 and 3.7 Closes reanahub/reana#784 --- .github/workflows/ci.yml | 12 ++++++------ setup.py | 1 + 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ae7f1ea..f248b2c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,7 +55,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v5 with: - python-version: 3.8 + python-version: "3.8" - name: Check Python code formatting run: | @@ -72,7 +72,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v5 with: - python-version: 3.8 + python-version: "3.8" - name: Check compliance with pep8, pyflakes and circular complexity run: | @@ -89,7 +89,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v5 with: - python-version: 3.8 + python-version: "3.8" - name: Check compliance with Python docstring conventions run: | @@ -106,7 +106,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v5 with: - python-version: 3.8 + python-version: "3.8" - name: Check Python manifest completeness run: | @@ -123,7 +123,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v5 with: - python-version: 3.8 + python-version: "3.8" - name: Install system dependencies run: | @@ -148,7 +148,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v5 with: - python-version: 3.8 + python-version: "3.8" - name: Install Python dependencies run: | diff --git a/setup.py b/setup.py index a3372df..3dfe156 100755 --- a/setup.py +++ b/setup.py @@ -79,6 +79,7 @@ "reana_workflow_engine_serial.tasks:run_serial_workflow", ] }, + python_requires=">=3.8", install_requires=install_requires, extras_require=extras_require, setup_requires=setup_requires,