Skip to content

Commit 16448cd

Browse files
committed
build(python): drop support for Python 3.6 and 3.7 (#235)
BREAKING CHANGE: drop support for Python 3.6 and 3.7 Closes reanahub/reana#784
1 parent 847eeb0 commit 16448cd

2 files changed

Lines changed: 10 additions & 9 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
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: |
@@ -72,7 +72,7 @@ jobs:
7272
- name: Setup Python
7373
uses: actions/setup-python@v5
7474
with:
75-
python-version: 3.8
75+
python-version: "3.8"
7676

7777
- name: Check compliance with pep8, pyflakes and circular complexity
7878
run: |
@@ -89,7 +89,7 @@ jobs:
8989
- name: Setup Python
9090
uses: actions/setup-python@v5
9191
with:
92-
python-version: 3.8
92+
python-version: "3.8"
9393

9494
- name: Check compliance with Python docstring conventions
9595
run: |
@@ -106,7 +106,7 @@ jobs:
106106
- name: Setup Python
107107
uses: actions/setup-python@v5
108108
with:
109-
python-version: 3.8
109+
python-version: "3.8"
110110

111111
- name: Check Python manifest completeness
112112
run: |
@@ -123,7 +123,7 @@ jobs:
123123
- name: Setup Python
124124
uses: actions/setup-python@v5
125125
with:
126-
python-version: 3.8
126+
python-version: "3.8"
127127

128128
- name: Install system dependencies
129129
run: |
@@ -143,7 +143,7 @@ jobs:
143143
runs-on: ubuntu-20.04
144144
strategy:
145145
matrix:
146-
python-version: [3.6, 3.7, 3.8, 3.9]
146+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
147147

148148
steps:
149149
- name: Checkout

setup.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
},
7676
zip_safe=False,
7777
include_package_data=True,
78-
python_requires=">=3.6",
78+
python_requires=">=3.8",
7979
install_requires=install_requires,
8080
extras_require=extras_require,
8181
setup_requires=setup_requires,
@@ -87,10 +87,11 @@
8787
"License :: OSI Approved :: MIT License",
8888
"Operating System :: OS Independent",
8989
"Programming Language :: Python :: 3",
90-
"Programming Language :: Python :: 3.6",
91-
"Programming Language :: Python :: 3.7",
9290
"Programming Language :: Python :: 3.8",
9391
"Programming Language :: Python :: 3.9",
92+
"Programming Language :: Python :: 3.10",
93+
"Programming Language :: Python :: 3.11",
94+
"Programming Language :: Python :: 3.12",
9495
"Programming Language :: Python :: Implementation :: CPython",
9596
"Programming Language :: Python",
9697
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",

0 commit comments

Comments
 (0)