From 04048a2d681c4b1076810995d8fe86f4b8e85f6f Mon Sep 17 00:00:00 2001 From: Gregory Oschwald Date: Thu, 16 Jan 2025 15:43:52 -0800 Subject: [PATCH] Drop 3.8 support --- .github/workflows/test.yml | 2 +- HISTORY.rst | 2 ++ README.rst | 2 +- pyproject.toml | 3 +-- setup.cfg | 3 +-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b50fc00..1e00a48 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: platform: [ubuntu-latest, macos-latest, windows-latest] - python-version: [3.8, 3.9, "3.10", 3.11, 3.12, 3.13] + python-version: [3.9, "3.10", 3.11, 3.12, 3.13] name: Python ${{ matrix.python-version }} on ${{ matrix.platform }} runs-on: ${{ matrix.platform }} diff --git a/HISTORY.rst b/HISTORY.rst index 8c521af..17a3e8b 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -12,6 +12,8 @@ History classes are no longer immutable. For most users, these differences should not impact their integration. * BREAKING CHANGE: Model attributes that were formerly tuples are now lists. +* IMPORTANT: Python 3.9 or greater is required. If you are using an older + version, please use an earlier release. * Added ``to_dict`` methods to the model classes. These return a dict version of the object that is suitable for serialization. It recursively calls ``to_dict`` or the equivalent on all objects contained within the object. diff --git a/README.rst b/README.rst index 144761d..22512e5 100644 --- a/README.rst +++ b/README.rst @@ -307,7 +307,7 @@ For asynchronous reporting: Requirements ------------ -Python 3.8 or greater is required. Older versions are not supported. +Python 3.9 or greater is required. Older versions are not supported. Versioning ---------- diff --git a/pyproject.toml b/pyproject.toml index ae68385..1a70a36 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,7 @@ dependencies = [ "requests>=2.24.0,<3.0.0", "voluptuous", ] -requires-python = ">=3.8" +requires-python = ">=3.9" readme = "README.rst" license = {text = "Apache License 2.0"} classifiers = [ @@ -22,7 +22,6 @@ classifiers = [ "License :: OSI Approved :: Apache Software License", "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/setup.cfg b/setup.cfg index bddf03c..76e975f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,11 +3,10 @@ max-line-length = 88 [tox:tox] -envlist = {py38,py39,py310,py311,py313}-test,py313-{black,lint,flake8,mypy} +envlist = {py39,py310,py311,py313}-test,py313-{black,lint,flake8,mypy} [gh-actions] python = - 3.8: py38 3.9: py39 3.10: py310 3.11: py311