From 5e4cbc944de613b3e073f739a812d117b034c016 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Sun, 5 Jun 2022 23:39:54 +0200 Subject: [PATCH] Drop support for end-of-life Python 3.6 --- .github/workflows/ci.yaml | 3 +-- docs/index.rst | 4 ++-- setup.cfg | 3 +-- tox.ini | 2 +- 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index afe339b9..34dc768c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -28,12 +28,11 @@ jobs: strategy: matrix: python: - - "3.6" - "3.7" - "3.8" - "3.9" - "3.10" - - "pypy-3.6" + - "pypy-3.7" steps: - uses: actions/checkout@v3 diff --git a/docs/index.rst b/docs/index.rst index d320e668..fcf64312 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -19,11 +19,11 @@ If you want to jump into the API description right away, read about the Compatibility ============= -The ``distro`` package is supported on Python 3.6+ and PyPy, and on any Linux +The ``distro`` package is supported on Python 3.7+ and PyPy, and on any Linux or BSD distribution that provides one or more of the `data sources`_ used by this package. -This package is tested on Python 3.6+ and PyPy, with test data that mimics the +This package is tested on Python 3.7+ and PyPy, with test data that mimics the exact behavior of the data sources of `a number of Linux distributions `_. diff --git a/setup.cfg b/setup.cfg index c163a94d..ebd4fd5d 100644 --- a/setup.cfg +++ b/setup.cfg @@ -21,7 +21,6 @@ classifiers = Operating System :: POSIX :: BSD :: OpenBSD Programming Language :: Python :: 3 Programming Language :: Python :: 3 :: Only - Programming Language :: Python :: 3.6 Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 @@ -33,7 +32,7 @@ classifiers = package_dir = = src packages = distro -python_requires = >=3.6 +python_requires = >=3.7 [options.package_data] * = py.typed diff --git a/tox.ini b/tox.ini index efa6ae6d..8c31e33e 100644 --- a/tox.ini +++ b/tox.ini @@ -14,7 +14,7 @@ [tox] minversion = 1.9 -envlist = lint, py{36,37,38,39,310,py3} +envlist = lint, py{37,38,39,310,py3} skip_missing_interpreters = true [testenv]