Skip to content

Commit

Permalink
Make minimum python 3.9
Browse files Browse the repository at this point in the history
Signed-off-by: Federico Busetti <729029+febus982@users.noreply.github.com>
  • Loading branch information
febus982 committed Sep 21, 2024
1 parent 8995217 commit fbea48a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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)

Expand Down
10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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
Expand Down Expand Up @@ -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"
Expand All @@ -97,7 +97,7 @@ testpaths = [

[tool.ruff]
extend-exclude = ["docs", ".tox"]
target-version = "py38"
target-version = "py39"

[tool.ruff.lint]
select = [
Expand Down
1 change: 0 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ env_list =
py311
py310
py39
py38
typing
lint
format
Expand Down

0 comments on commit fbea48a

Please sign in to comment.