Skip to content

Commit 5c6856a

Browse files
committed
Drop Python 3.6 support
Python 3.6 has been EOL since December 23, 2021. Drop support. Debian stable has 3.9 and Ubuntu 20.04 LTS has 3.8. Ubuntu 18.04 LTS has 3.6, but there's been a newer LTS version for over a year. The default Python 3 in RHEL 8 is 3.6, but newer versions are available in AppStreams. Fixes #161.
1 parent e90c5c7 commit 5c6856a

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

.github/workflows/python.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
strategy:
2929
matrix:
3030
os: [ubuntu-latest, macos-latest]
31-
python-version: [3.6, 3.7, 3.8, 3.9, "3.10"]
31+
python-version: [3.7, 3.8, 3.9, "3.10"]
3232
steps:
3333
- name: Check out repo
3434
uses: actions/checkout@v2
@@ -71,7 +71,7 @@ jobs:
7171
shell: bash
7272
strategy:
7373
matrix:
74-
python-version: [3.6, 3.7, 3.8, 3.9, "3.10"]
74+
python-version: [3.7, 3.8, 3.9, "3.10"]
7575
python-arch: [x86, x64]
7676
steps:
7777
- name: Check out repo

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ repos:
1818
hooks:
1919
- id: pyupgrade
2020
name: Modernize python code
21-
args: ["--py36-plus"]
21+
args: ["--py37-plus"]
2222

2323
- repo: https://github.com/PyCQA/isort
2424
rev: 5.8.0

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ OpenSlide can read virtual slides in several formats:
3737

3838
## Requirements
3939

40-
* Python ≥ 3.6
40+
* Python ≥ 3.7
4141
* OpenSlide ≥ 3.4.0
4242
* Pillow
4343

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,13 @@
3939
'Operating System :: POSIX :: Linux',
4040
'Programming Language :: Python',
4141
'Programming Language :: Python :: 3',
42-
'Programming Language :: Python :: 3.6',
4342
'Programming Language :: Python :: 3.7',
4443
'Programming Language :: Python :: 3.8',
4544
'Programming Language :: Python :: 3.9',
4645
'Programming Language :: Python :: 3.10',
4746
'Topic :: Scientific/Engineering :: Bio-Informatics',
4847
],
49-
python_requires='>=3.6',
48+
python_requires='>=3.7',
5049
install_requires=[
5150
'Pillow',
5251
],

0 commit comments

Comments
 (0)