From 0c8360e19daeba4ba5819826b355f10e8b5c0ed5 Mon Sep 17 00:00:00 2001 From: semuadmin <28569967+semuadmin@users.noreply.github.com> Date: Tue, 8 Oct 2024 09:19:18 +0100 Subject: [PATCH] drop Python 3.8 --- .github/workflows/checkpr.yml | 2 +- .github/workflows/main.yml | 2 +- CONTRIBUTING.md | 2 +- README.md | 2 +- RELEASE_NOTES.md | 1 + pyproject.toml | 9 ++++----- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/checkpr.yml b/.github/workflows/checkpr.yml index 615f6a9..e70a995 100644 --- a/.github/workflows/checkpr.yml +++ b/.github/workflows/checkpr.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.8, 3.9, "3.10", "3.11", "3.12", "3.13.0-beta.3"] + python-version: [3.9, "3.10", "3.11", "3.12", "3.13.0-rc.3"] steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 836e5ef..bc7cc4e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.8, 3.9, "3.10", "3.11", "3.12", "3.13.0-beta.3"] + python-version: [3.9, "3.10", "3.11", "3.12", "3.13.0-rc.3"] steps: - uses: actions/checkout@v4 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 59d1bf3..1a46094 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -15,7 +15,7 @@ If you're adding or amending rtcm payload definitions or configuration database ## Coding conventions * This is open source software. Code should be as simple and transparent as possible. Favour clarity over brevity. -* The code should be compatible with Python >=3.8. +* The code should be compatible with Python >=3.9. * The core code should be as generic and reusable as possible. We endeavour to limit the amount of processing dedicated to specific rtcm message types, though this is sometimes unavoidable. * Avoid external library dependencies unless there's a compelling reason not to. * We use and recommend [Visual Studio Code](https://code.visualstudio.com/) with the [Python Extension](https://marketplace.visualstudio.com/items?itemName=ms-python.python) for development and testing. diff --git a/README.md b/README.md index 89328f9..00e2c29 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ Contributions welcome - please refer to [CONTRIBUTING.MD](https://github.com/sem [![PyPI version](https://img.shields.io/pypi/v/pyrtcm.svg?style=flat)](https://pypi.org/project/pyrtcm/) ![PyPI downloads](https://img.shields.io/pypi/dm/pyrtcm.svg?style=flat) -`pyrtcm` is compatible with Python 3.8 - 3.13 and has no third-party library dependencies. +`pyrtcm` is compatible with Python 3.9 - 3.13 and has no third-party library dependencies. In the following, `python3` & `pip` refer to the Python 3 executables. You may need to substitute `python` for `python3`, depending on your particular environment (*on Windows it's generally `python`*). diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 83b787f..40d31cf 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -6,6 +6,7 @@ CHANGES: 1. Sphinx documentation and docstrings enhanced to include global constants and decodes. 1. `socket_stream.SocketStream` class renamed to `socket_wrapper.SocketWrapper` class for clarity. +1. Drop active support for Python 3.8 - now End of Life as at October 2024. ### RELEASE 1.1.1 diff --git a/pyproject.toml b/pyproject.toml index b4bd250..6ab9a21 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,7 +10,7 @@ description = "RTCM3 protocol parser" version = "1.1.2" license = { file = "LICENSE" } readme = "README.md" -requires-python = ">=3.8" +requires-python = ">=3.9" classifiers = [ "Operating System :: OS Independent", "Development Status :: 5 - Production/Stable", @@ -22,7 +22,6 @@ classifiers = [ "Intended Audience :: Science/Research", "Intended Audience :: End Users/Desktop", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", @@ -55,10 +54,10 @@ test = [ ] [tool.black] -target-version = ['py38'] +target-version = ['py39'] [tool.isort] -py_version = 38 +py_version = 39 profile = "black" [tool.bandit] @@ -69,7 +68,7 @@ skips = [] jobs = 0 reports = "y" recursive = "y" -py-version = "3.8" +py-version = "3.9" fail-under = "9.8" fail-on = "E,F" clear-cache-post-run = "y"