From d6f7597df5ff4f91081c0d9329db1d8cbc0990f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jelmer=20Vernoo=C4=B3?= Date: Sat, 21 Sep 2024 12:39:06 +0000 Subject: [PATCH] Update minimum python to 3.7 everywhere, and add 3.12 --- .github/workflows/python-test.yml | 26 -------------------------- README.md | 3 +-- setup.py | 5 ++--- 3 files changed, 3 insertions(+), 31 deletions(-) diff --git a/.github/workflows/python-test.yml b/.github/workflows/python-test.yml index ca5b99d..32b1adf 100644 --- a/.github/workflows/python-test.yml +++ b/.github/workflows/python-test.yml @@ -28,29 +28,3 @@ jobs: python src/tests/configobj_doctests.py python -m configobj.validate py.test -c setup.cfg --color=yes --cov=configobj --cov-report=term --cov-report=html --cov-report=xml - - - build-on-legacy: - runs-on: ubuntu-20.04 - strategy: - fail-fast: false - matrix: - python-version: [ "3.6" ] - - steps: - - uses: actions/checkout@v3 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 - with: - python-version: ${{ matrix.python-version }} - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install pytest coverage pytest-cov - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - pip install -e . - - name: Test with pytest - run: | - python src/tests/configobj_doctests.py - python -m configobj.validate - py.test -c setup.cfg --color=yes --cov=configobj --cov-report=term --cov-report=html --cov-report=xml diff --git a/README.md b/README.md index 41314d9..5b25e70 100644 --- a/README.md +++ b/README.md @@ -7,13 +7,12 @@ Python 3+ compatible port of the [configobj](https://pypi.python.org/pypi/configobj/) library. The Github CI/CD Pipeline runs tests on python versions: -- 3.5 -- 3.6 - 3.7 - 3.8 - 3.9 - 3.10 - 3.11 +- 3.12 ## Documentation diff --git a/setup.py b/setup.py index 71e70b1..9af51c9 100644 --- a/setup.py +++ b/setup.py @@ -85,13 +85,12 @@ 'License :: OSI Approved :: BSD License', 'Programming Language :: Python', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.5', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', 'Operating System :: OS Independent', 'Topic :: Software Development :: Libraries', 'Topic :: Software Development :: Libraries :: Python Modules', @@ -114,7 +113,7 @@ py_modules=MODULES, package_dir={'': 'src'}, packages=PACKAGES, - python_requires='>=3.5', + python_requires='>=3.7', classifiers=CLASSIFIERS, keywords=KEYWORDS, license='BSD-3-Clause',