diff --git a/.github/workflows/python-tests.yml b/.github/workflows/python-tests.yml index b222f17..62fa38d 100644 --- a/.github/workflows/python-tests.yml +++ b/.github/workflows/python-tests.yml @@ -19,7 +19,7 @@ jobs: strategy: fail-fast: false matrix: - version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + version: ["3.9", "3.10", "3.11", "3.12"] os: [ubuntu-latest] runs-on: ${{ matrix.os }} steps: diff --git a/README.md b/README.md index 988421f..16347a5 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # cloudevents-pydantic -![Static Badge](https://img.shields.io/badge/Python-3.10_%7C_3.11_%7C_3.12-blue?logo=python&logoColor=white) +![Static Badge](https://img.shields.io/badge/Python-3.9_%7C_3.10_%7C_3.11_%7C_3.12-blue?logo=python&logoColor=white) [![Stable Version](https://img.shields.io/pypi/v/cloudevents-pydantic?color=blue)](https://pypi.org/project/cloudevents-pydantic/) [![stability-wip](https://img.shields.io/badge/stability-wip-lightgrey.svg)](https://github.com/mkenney/software-guides/blob/master/STABILITY-BADGES.md#work-in-progress) diff --git a/pyproject.toml b/pyproject.toml index f31a1ee..0e2051c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,7 +19,6 @@ classifiers = [ "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", @@ -39,9 +38,9 @@ build-backend = "poetry_dynamic_versioning.backend" ############################ [tool.poetry.dependencies] -python = ">=3.8,<3.13" -pydantic = "^2.9.1" cloudevents = "^1.11.0" +python = ">=3.9,<3.13" +pydantic = "^2.9.1" [tool.poetry.group.dev] optional = true @@ -85,7 +84,8 @@ exclude_also = [ [tool.mypy] files = "cloudevents_pydantic" -python_version = "3.8" +python_version = "3.9" +plugins = "pydantic.mypy" [tool.pytest.ini_options] asyncio_mode = "auto" @@ -97,7 +97,7 @@ testpaths = [ [tool.ruff] extend-exclude = ["docs", ".tox"] -target-version = "py38" +target-version = "py39" [tool.ruff.lint] select = [ diff --git a/tox.ini b/tox.ini index fda9829..a568d4a 100644 --- a/tox.ini +++ b/tox.ini @@ -5,7 +5,6 @@ env_list = py311 py310 py39 - py38 typing lint format