Skip to content

Commit 8762855

Browse files
committed
build(python): drop support for Python 3.6 and 3.7 (reanahub#793)
BREAKING CHANGE: drop support for Python 3.6 and 3.7 Closes reanahub#784
1 parent aff5c8f commit 8762855

File tree

2 files changed

+9
-15
lines changed

2 files changed

+9
-15
lines changed

.github/workflows/ci.yml

+7-11
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
- name: Setup Python
5656
uses: actions/setup-python@v5
5757
with:
58-
python-version: 3.8
58+
python-version: "3.8"
5959

6060
- name: Check Python code formatting
6161
run: |
@@ -71,7 +71,7 @@ jobs:
7171
- name: Setup Python
7272
uses: actions/setup-python@v5
7373
with:
74-
python-version: 3.8
74+
python-version: "3.8"
7575

7676
- name: Check compliance with pep8, pyflakes and circular complexity
7777
run: |
@@ -88,7 +88,7 @@ jobs:
8888
- name: Setup Python
8989
uses: actions/setup-python@v5
9090
with:
91-
python-version: 3.8
91+
python-version: "3.8"
9292

9393
- name: Check compliance with Python docstring conventions
9494
run: |
@@ -104,7 +104,7 @@ jobs:
104104
- name: Setup Python
105105
uses: actions/setup-python@v5
106106
with:
107-
python-version: 3.8
107+
python-version: "3.8"
108108

109109
- name: Check Python manifest completeness
110110
run: |
@@ -120,7 +120,7 @@ jobs:
120120
- name: Setup Python
121121
uses: actions/setup-python@v5
122122
with:
123-
python-version: 3.8
123+
python-version: "3.8"
124124

125125
- name: Install system dependencies
126126
run: |
@@ -138,17 +138,14 @@ jobs:
138138

139139
python-tests:
140140
runs-on: ubuntu-20.04
141-
strategy:
142-
matrix:
143-
python-version: [3.6, 3.7, 3.8, 3.9]
144141
steps:
145142
- name: Checkout
146143
uses: actions/checkout@v4
147144

148-
- name: Set up Python ${{ matrix.python-version }}
145+
- name: Set up Python 3.8
149146
uses: actions/setup-python@v5
150147
with:
151-
python-version: ${{ matrix.python-version }}
148+
python-version: "3.8"
152149

153150
- name: Install Python dependencies
154151
run: |
@@ -160,7 +157,6 @@ jobs:
160157
run: ./run-tests.sh --check-pytest
161158

162159
- name: Codecov Coverage
163-
if: matrix.python-version == 3.8
164160
uses: codecov/codecov-action@v4
165161
with:
166162
token: ${{ secrets.CODECOV_TOKEN }}

setup.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#
22
# This file is part of REANA.
3-
# Copyright (C) 2017, 2018, 2019, 2020, 2021, 2022, 2023 CERN.
3+
# Copyright (C) 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024 CERN.
44
#
55
# REANA is free software; you can redistribute it and/or modify it
66
# under the terms of the MIT License; see LICENSE file for more details.
@@ -79,6 +79,7 @@
7979
"reana-benchmark = reana.reana_benchmark.cli:reana_benchmark",
8080
],
8181
},
82+
python_requires=">=3.8",
8283
extras_require=extras_require,
8384
install_requires=install_requires,
8485
setup_requires=setup_requires,
@@ -90,10 +91,7 @@
9091
"License :: OSI Approved :: MIT License",
9192
"Operating System :: OS Independent",
9293
"Programming Language :: Python :: 3",
93-
"Programming Language :: Python :: 3.6",
94-
"Programming Language :: Python :: 3.7",
9594
"Programming Language :: Python :: 3.8",
96-
"Programming Language :: Python :: 3.9",
9795
"Programming Language :: Python :: Implementation :: CPython",
9896
"Programming Language :: Python",
9997
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",

0 commit comments

Comments
 (0)