Skip to content

Commit 2c93054

Browse files
committed
Django 6 support
1 parent 3eeadbc commit 2c93054

File tree

4 files changed

+46
-2
lines changed

4 files changed

+46
-2
lines changed

.github/workflows/contrib-tests.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,28 @@ name: CI / Contrib / Tests
22

33
on:
44
push:
5+
paths:
6+
- openapi_core/**
7+
- tests/integration/contrib/**
8+
- tests/unit/contrib/**
9+
- tests/integration/conftest.py
10+
- tests/integration/data/**
11+
- pyproject.toml
12+
- poetry.lock
13+
- .github/workflows/contrib-tests.yml
14+
- .github/workflows/python-tests.yml
515
pull_request:
616
types: [opened, synchronize]
17+
paths:
18+
- openapi_core/**
19+
- tests/integration/contrib/**
20+
- tests/unit/contrib/**
21+
- tests/integration/conftest.py
22+
- tests/integration/data/**
23+
- pyproject.toml
24+
- poetry.lock
25+
- .github/workflows/contrib-tests.yml
26+
- .github/workflows/python-tests.yml
727

828
concurrency:
929
group: ${{ github.workflow }}-${{ github.ref }}
@@ -40,6 +60,11 @@ jobs:
4060
unit_path: tests/unit/contrib/django
4161
spec: ">=5.0,<6.0"
4262
label: "django-5.x"
63+
- contrib: django
64+
integration_path: tests/integration/contrib/django
65+
unit_path: tests/unit/contrib/django
66+
spec: ">=6.0,<7.0"
67+
label: "django-6.x"
4368
- contrib: falcon
4469
integration_path: tests/integration/contrib/falcon
4570
spec: ">=4.0,<5.0"
@@ -80,6 +105,13 @@ jobs:
80105
spec: ""
81106
label: "werkzeug-default"
82107
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
108+
exclude:
109+
- target:
110+
label: "django-6.x"
111+
python-version: "3.10"
112+
- target:
113+
label: "django-6.x"
114+
python-version: "3.11"
83115
fail-fast: false
84116
steps:
85117
- uses: actions/checkout@v6

.github/workflows/python-tests.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,20 @@ name: CI / Core / Tests
55

66
on:
77
push:
8+
paths-ignore:
9+
- openapi_core/contrib/**
10+
- tests/integration/contrib/**
11+
- tests/unit/contrib/**
12+
- docs/integrations/**
13+
- .github/workflows/contrib-tests.yml
814
pull_request:
915
types: [opened, synchronize]
16+
paths-ignore:
17+
- openapi_core/contrib/**
18+
- tests/integration/contrib/**
19+
- tests/unit/contrib/**
20+
- docs/integrations/**
21+
- .github/workflows/contrib-tests.yml
1022

1123
permissions:
1224
contents: read

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Supported [Integrations](https://openapi-core.readthedocs.io/en/latest/integrati
4545
| Integration | Version(s) |
4646
| --- | --- |
4747
| [AIOHTTP](https://openapi-core.readthedocs.io/en/latest/integrations/aiohttp/) | versions 3.8+ and 3.11+ tracks |
48-
| [Django](https://openapi-core.readthedocs.io/en/latest/integrations/django/) | versions 4 and 5 |
48+
| [Django](https://openapi-core.readthedocs.io/en/latest/integrations/django/) | versions 4, 5, and 6 |
4949
| [Falcon](https://openapi-core.readthedocs.io/en/latest/integrations/falcon/) | version 4 |
5050
| [FastAPI](https://openapi-core.readthedocs.io/en/latest/integrations/fastapi/) | versions 0.11x and 0.12x |
5151
| [Flask](https://openapi-core.readthedocs.io/en/latest/integrations/flask/) | versions 2 and 3 |

docs/integrations/django.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Django
22

33
This section describes the integration with the [Django](https://www.djangoproject.com) web framework.
4-
The integration supports Django version 4 and 5.
4+
The integration supports Django version 4, 5, and 6.
55

66
## Middleware
77

0 commit comments

Comments
 (0)