python: test with more modern versions (#19452)

Python 3.12 has been released in October 2023, it should be tested in
the CI.

Python 3.7 is not maintained anymore, removing it from the minimum
required version in `pyproject.toml` files.
This commit is contained in:
Jonathan Ballet
2024-09-18 10:53:51 +02:00
committed by GitHub
parent b3e72feaa9
commit 40967a3d38
228 changed files with 2355 additions and 2283 deletions

View File

@@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3

View File

@@ -10,7 +10,7 @@ keywords = ["OpenAPI", "OpenAPI-Generator", "Echo Server API"]
include = ["openapi_client/py.typed"]
[tool.poetry.dependencies]
python = "^3.7"
python = "^3.8"
urllib3 = ">= 1.25.3"
python-dateutil = ">=2.8.2"
@@ -22,7 +22,7 @@ pytest = ">=7.2.1"
tox = ">=3.9.0"
flake8 = ">=4.0.0"
types-python-dateutil = ">=2.8.19.14"
mypy = "1.4.1"
mypy = ">=1.5"
[build-system]