From f1f2e39ad6ed8652354cfd9fc240e56f4c5d7113 Mon Sep 17 00:00:00 2001 From: Marco Donadoni Date: Tue, 26 Mar 2024 10:05:09 +0100 Subject: [PATCH] build(python): drop support for Python 3.6 and 3.7 (#793) BREAKING CHANGE: drop support for Python 3.6 and 3.7 Closes reanahub/reana#784 --- .github/workflows/ci.yml | 13 ++++++++++++- setup.py | 7 ++++--- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1a826aa8..397a4f89 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -140,7 +140,18 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - python-version: [3.6, 3.7, 3.8, 3.9] + include: + - python-version: "3.8" + continue-on-error: false + - python-version: "3.9" + continue-on-error: true + - python-version: "3.10" + continue-on-error: true + - python-version: "3.11" + continue-on-error: true + - python-version: "3.12" + continue-on-error: true + continue-on-error: ${{ matrix.continue-on-error }} steps: - name: Checkout uses: actions/checkout@v4 diff --git a/setup.py b/setup.py index b770ae0d..4edb36f6 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ # # This file is part of REANA. -# Copyright (C) 2017, 2018, 2019, 2020, 2021, 2022, 2023 CERN. +# Copyright (C) 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024 CERN. # # REANA is free software; you can redistribute it and/or modify it # under the terms of the MIT License; see LICENSE file for more details. @@ -90,10 +90,11 @@ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.6", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP :: Dynamic Content",