From 2e74e3999242f5b2175d28c20987fd0c3bc9a67f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arnold=20Cz=C3=A9m=C3=A1n?= Date: Wed, 15 Dec 2021 22:10:27 +0100 Subject: [PATCH] setup.py: drop python 3.5 support Generates new python-support.svg with all supported python versions. Add python 3.9 and 3.10 to the test matrix. --- .github/workflows/ci.yml | 2 +- Makefile | 2 +- README.rst | 2 +- python-support.svg | 12 ++++++------ setup.py | 6 +++--- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fd2dba0..298332c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.5', '3.6', '3.7', '3.8'] + python-version: ['3.6', '3.7', '3.8', '3.9', '3.10'] steps: - uses: actions/checkout@v2 diff --git a/Makefile b/Makefile index e79fe0a..ff3834f 100644 --- a/Makefile +++ b/Makefile @@ -74,4 +74,4 @@ bump-version: ./bump_version.py generate-badge: - $(VIRTUALENV)/bin/anybadge --value='3.5 | 3.6 | 3.7 | 3.8' --label python --file python-support.svg --overwrite + $(VIRTUALENV)/bin/anybadge --value='3.6 | 3.7 | 3.8 | 3.9 | 3.10' --label python --file python-support.svg --overwrite diff --git a/README.rst b/README.rst index 39faf12..06f3e44 100644 --- a/README.rst +++ b/README.rst @@ -43,7 +43,7 @@ Dependencies The only dependencies are: -- Python3.5+ +- Python3.6+ - Linux kernel 2.6.24+ - A libc that implements setns() and nsenter() (that’s basically any libc released after 2007) diff --git a/python-support.svg b/python-support.svg index fd49700..51679de 100644 --- a/python-support.svg +++ b/python-support.svg @@ -1,23 +1,23 @@ - + - + - - + + python python - 3.5 | 3.6 | 3.7 | 3.8 - 3.5 | 3.6 | 3.7 | 3.8 + 3.6 | 3.7 | 3.8 | 3.9 | 3.10 + 3.6 | 3.7 | 3.8 | 3.9 | 3.10 \ No newline at end of file diff --git a/setup.py b/setup.py index 3b2f3c4..fb860e0 100755 --- a/setup.py +++ b/setup.py @@ -24,8 +24,8 @@ from furnace.version import get_version -if sys.version_info < (3, 5): - sys.exit('Python version 3.5+ is required for furnace') +if sys.version_info < (3, 6): + sys.exit('Python version 3.6+ is required for furnace') with open(os.path.join(os.path.dirname(__file__), 'README.rst'), encoding='utf-8') as f: long_description = f.read() @@ -52,5 +52,5 @@ package_data={'furnace': [ 'VERSION', ]}, - python_requires=">=3.5", + python_requires=">=3.6", )