Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
steps:
- uses: actions/checkout@v6

- name: Set up Python 3.9
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: 3.9
python-version: "3.10"

- name: Get full Python version
id: full-python-version
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
fail-fast: false
steps:
- uses: actions/checkout@v6
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
- name: "Setup Python"
uses: actions/setup-python@v6
with:
python-version: 3.9
python-version: "3.10"

- name: Get full Python version
id: full-python-version
Expand Down
2 changes: 0 additions & 2 deletions openapi_core/contrib/aiohttp/requests.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
"""OpenAPI core contrib aiohttp requests module"""

from __future__ import annotations

from aiohttp import web

from openapi_core.datatypes import RequestParameters
Expand Down
2 changes: 0 additions & 2 deletions openapi_core/datatypes.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
"""OpenAPI core validation request datatypes module"""

from __future__ import annotations

from dataclasses import dataclass
from dataclasses import field
from typing import Any
Expand Down
3 changes: 0 additions & 3 deletions openapi_core/templating/paths/parsers.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# Allow writing union types as X | Y in Python 3.9
from __future__ import annotations

import re
from dataclasses import dataclass

Expand Down
2 changes: 0 additions & 2 deletions openapi_core/unmarshalling/request/datatypes.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
"""OpenAPI core unmarshalling request datatypes module"""

from __future__ import annotations

from dataclasses import dataclass
from dataclasses import field
from typing import Any
Expand Down
74 changes: 3 additions & 71 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ classifiers = [
"Topic :: Software Development :: Libraries :: Python Modules",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
Expand All @@ -60,7 +59,7 @@ include = [
]

[tool.poetry.dependencies]
python = "^3.9.0"
python = "^3.10.0"
django = {version = ">=3.0", optional = true}
falcon = {version = ">=3.0", optional = true}
flask = {version = "*", optional = true}
Expand Down
10 changes: 5 additions & 5 deletions tests/integration/contrib/aiohttp/test_aiohttp_validation.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import annotations

from typing import TYPE_CHECKING
from unittest import mock

Expand All @@ -9,7 +7,7 @@
from aiohttp.test_utils import TestClient


async def test_aiohttp_integration_valid_input(client: TestClient):
async def test_aiohttp_integration_valid_input(client: "TestClient"):
# Given
given_query_string = {
"q": "string",
Expand All @@ -34,7 +32,9 @@ async def test_aiohttp_integration_valid_input(client: TestClient):
assert response_data == expected_response_data


async def test_aiohttp_integration_invalid_server(client: TestClient, request):
async def test_aiohttp_integration_invalid_server(
client: "TestClient", request
):
if "no_validation" in request.node.name:
pytest.skip("No validation for given handler.")
# Given
Expand Down Expand Up @@ -71,7 +71,7 @@ async def test_aiohttp_integration_invalid_server(client: TestClient, request):


async def test_aiohttp_integration_invalid_input(
client: TestClient, response_getter, request
client: "TestClient", response_getter, request
):
if "no_validation" in request.node.name:
pytest.skip("No validation for given handler.")
Expand Down
Loading