Skip to content

Commit 71077ce

Browse files
committed
Drop support for Python 3.6 (EOL since 2022)
1 parent 1bccd5a commit 71077ce

6 files changed

Lines changed: 10 additions & 14 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,21 +32,18 @@ jobs:
3232
os:
3333
- "ubuntu-latest"
3434
python:
35-
- "3.7"
3635
- "3.8"
3736
- "3.9"
3837
- "3.10"
3938
- "3.11"
4039
- "3.12"
4140
include:
42-
- os: "ubuntu-20.04"
43-
python: "3.6"
44-
- os: "ubuntu-20.04"
45-
python: "pypy-3.6"
41+
- os: "ubuntu-22.04"
42+
python: "3.7"
4643
- os: "ubuntu-22.04"
4744
python: "pypy-3.10"
48-
- os: "macos-12"
49-
python: 3.12
45+
- os: "macos-latest"
46+
python: "3.12"
5047

5148
steps:
5249
- uses: actions/checkout@v4

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ repos:
33
rev: 22.3.0
44
hooks:
55
- id: black
6-
args: ["--target-version", "py36"]
6+
args: ["--target-version", "py37"]
77
- repo: https://github.com/PyCQA/flake8
88
rev: 6.1.0
99
hooks:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ namely from these data sources (from high to low precedence):
109109

110110
## Python and Distribution Support
111111

112-
`distro` is supported and tested on Python 3.6+ and PyPy and on any
112+
`distro` is supported and tested on Python 3.7+ and PyPy and on any
113113
distribution that provides one or more of the data sources covered.
114114

115115
This package is tested with test data that mimics the exact behavior of the data sources of [a number of Linux distributions](https://github.com/python-distro/distro/tree/master/tests/resources/distros).

docs/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ If you want to jump into the API description right away, read about the
1919
Compatibility
2020
=============
2121

22-
The ``distro`` package is supported on Python 3.6+ and PyPy, and on any Linux
22+
The ``distro`` package is supported on Python 3.7+ and PyPy, and on any Linux
2323
or BSD distribution that provides one or more of the `data sources`_ used by
2424
this package.
2525

26-
This package is tested on Python 3.6+ and PyPy, with test data that mimics the
26+
This package is tested on Python 3.7+ and PyPy, with test data that mimics the
2727
exact behavior of the data sources of `a number of Linux distributions
2828
<https://github.com/python-distro/distro/tree/master/tests/resources/distros>`_.
2929

setup.cfg

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ classifiers =
2121
Operating System :: POSIX :: BSD :: OpenBSD
2222
Programming Language :: Python :: 3
2323
Programming Language :: Python :: 3 :: Only
24-
Programming Language :: Python :: 3.6
2524
Programming Language :: Python :: 3.7
2625
Programming Language :: Python :: 3.8
2726
Programming Language :: Python :: 3.9
@@ -35,7 +34,7 @@ classifiers =
3534
package_dir =
3635
= src
3736
packages = distro
38-
python_requires = >=3.6
37+
python_requires = >=3.7
3938

4039
[options.package_data]
4140
* = py.typed

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
[tox]
1616
minversion = 1.9
17-
envlist = lint, py{36,37,38,39,310,311,312,py3}
17+
envlist = lint, py{37,38,39,310,311,312,py3}
1818
isolated_build = true
1919
skip_missing_interpreters = true
2020

0 commit comments

Comments
 (0)