From 373953a0161bf49b2cd3c3afa474b893020d906f Mon Sep 17 00:00:00 2001 From: Ekin Dursun Date: Sun, 9 Mar 2025 13:47:03 +0300 Subject: [PATCH] Drop Python 3.8 support Python 3.8 is EOL and we should drop support for it. --- azure-pipeline.yml | 3 --- setup.py | 1 - tests/test_config.py | 2 +- tox.ini | 2 +- 4 files changed, 2 insertions(+), 6 deletions(-) diff --git a/azure-pipeline.yml b/azure-pipeline.yml index f2b21c9..bc3315e 100644 --- a/azure-pipeline.yml +++ b/azure-pipeline.yml @@ -20,9 +20,6 @@ jobs: name: 'pool-ubuntu-2004' strategy: matrix: - Python38: - python.version: '3.8' - tox_env: 'py38' Python39: python.version: '3.9' tox_env: 'py39' diff --git a/setup.py b/setup.py index 7622208..451a729 100644 --- a/setup.py +++ b/setup.py @@ -38,7 +38,6 @@ 'Intended Audience :: System Administrators', 'Programming Language :: Python', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', diff --git a/tests/test_config.py b/tests/test_config.py index e3bb9cc..1e7340b 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -253,7 +253,7 @@ def test_set_config_value_file_permissions(self): file_mode = os.stat(self.cli_config.config_path).st_mode self.assertTrue(bool(file_mode & stat.S_IRUSR)) self.assertTrue(bool(file_mode & stat.S_IWUSR)) - # only S_IRUSR and S_IWUSR are supported on Windows: https://docs.python.org/3.8/library/os.html#os.chmod + # only S_IRUSR and S_IWUSR are supported on Windows: https://docs.python.org/3.12/library/os.html#os.chmod if os.name != 'nt': self.assertFalse(bool(file_mode & stat.S_IXUSR)) self.assertFalse(bool(file_mode & stat.S_IRGRP)) diff --git a/tox.ini b/tox.ini index 717ff19..9cef575 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py38,py39,py310,py311,py312 +envlist = py39,py310,py311,py312 [testenv] deps = -rrequirements.txt commands=