From 21713c0994eae126ff9dad7d3685d005c21d2acf Mon Sep 17 00:00:00 2001 From: James B Date: Wed, 18 Dec 2024 08:04:25 +0000 Subject: [PATCH] python: ci: Drop 3.7 & 3.8; switch to 3.13 for linting and work Also update readthedocs ubuntu version --- .github/workflows/lint.yml | 2 +- .github/workflows/test.yml | 2 +- .readthedocs.yaml | 4 ++-- CHANGELOG.md | 5 +++++ setup.py | 6 +++--- 5 files changed, 12 insertions(+), 7 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index f21ee39..ebadfbc 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -9,7 +9,7 @@ jobs: - name: Setup python uses: actions/setup-python@v2 with: - python-version: 3.8 + python-version: 3.13 architecture: x64 - uses: actions/cache@v1 with: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0cc380f..1e1e1e9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11'] + python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] steps: - uses: actions/checkout@v2 - name: Setup python diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 2fd87ed..934c235 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -7,9 +7,9 @@ version: 2 # Set the version of Python and other tools you might need build: - os: ubuntu-22.04 + os: ubuntu-24.04 tools: - python: "3.8" + python: "3.13" # Build documentation in the docs/ directory with Sphinx sphinx: diff --git a/CHANGELOG.md b/CHANGELOG.md index c9b03b4..e95f37c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] + +### Removed + +- Removed Python 3.7 and 3.8 support, as they aren't supported any more + ## [0.5.0] - 2023-09-22 ### Added diff --git a/setup.py b/setup.py index 27b59e7..502e2ed 100644 --- a/setup.py +++ b/setup.py @@ -19,14 +19,14 @@ extras_require={ "test": extras_require_test, }, - python_requires=">=3.7", + python_requires=">=3.9", classifiers=[ "License :: OSI Approved :: BSD License", - "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", + "Programming Language :: Python :: 3.13", ], entry_points="""[console_scripts] compiletojsonschema = compiletojsonschema.cli.__main__:main""",