Skip to content
Open
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
36 changes: 29 additions & 7 deletions .github/workflows/test_full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,40 +16,62 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
django-version: ['4.2', '5.1', '5.2']
pydantic-version: ['2.5', '2.6', '2.7', '2.8', '2.9', '2.10', '2.11', '2.12']
exclude:
# Pydantic 2.5 supports 3.8-3.13
- pydantic-version: '2.5'
python-version: '3.14'
# Pydantic 2.6 supports 3.8-3.12
- pydantic-version: '2.6'
- python-version: '3.13'
python-version: '3.13'
- pydantic-version: '2.6'
python-version: '3.14'
# Pydantic 2.7 supports 3.8-3.12
- pydantic-version: '2.7'
python-version: '3.13'
- pydantic-version: '2.7'
python-version: '3.14'
# Pydantic 2.8, 2.9, 2.10 don't support 3.14
- pydantic-version: '2.8'
python-version: '3.14'
- pydantic-version: '2.9'
python-version: '3.14'
- pydantic-version: '2.10'
python-version: '3.14'
# Pydantic 2.11 supports 3.9-3.13
- pydantic-version: '2.11'
python-version: '3.8'
# Pydantic 2.12 supports 3.9-3.14
- pydantic-version: '2.12'
python-version: '3.8'
- pydantic-version: '2.11'
python-version: '3.14'
# Pydantic 2.12+ supports 3.14 (only with Django 5.2)
# Django 4.2 supports 3.8-3.12
- django-version: '4.2'
python-version: '3.13'
- django-version: '4.2'
python-version: '3.14'
# Django 5.1 supports 3.10-3.13
- django-version: '5.1'
python-version: '3.8'
- django-version: '5.1'
python-version: '3.9'
# Django 5.2 supports 3.10-3.13
- django-version: '5.1'
python-version: '3.14'
# Django 5.2 supports 3.10-3.13, 3.14
- django-version: '5.2'
python-version: '3.8'
- django-version: '5.2'
python-version: '3.9'
steps:
- uses: actions/checkout@v6
with:
ref: ${{ github.head_ref }}
ref: ${{ github.ref }}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah I didn't see this, can you leave the checkout action as it is on master?

- name: Debug matrix values
run: |
echo "Python version: ${{ matrix.python-version }}"
echo "Django version: ${{ matrix.django-version }}"
echo "Pydantic version: ${{ matrix.pydantic-version }}"
- name: Set up Python
uses: actions/setup-python@v6
with:
Expand Down
6 changes: 5 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
requires = ["flit_core >=2,<4"]
build-backend = "flit_core.buildapi"

[project]
requires-python = ">=3.8,<3.15"

[tool.flit.metadata]
module = "ninja"
dist-name = "django-shinobi"
Expand Down Expand Up @@ -29,6 +32,7 @@ classifiers = [
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3 :: Only",
"Framework :: Django",
"Framework :: Django :: 4.2",
Expand All @@ -41,7 +45,7 @@ classifiers = [

requires = ["Django >=4.2", "pydantic >=2.5,<2.13"]
description-file = "README.md"
requires-python = ">=3.8"
requires-python = ">=3.8,<3.15"


[tool.flit.metadata.urls]
Expand Down
Loading