Skip to content

Commit

Permalink
Support and test python 3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
MrThearMan committed Oct 10, 2024
1 parent 4048888 commit bba2059
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ jobs:
test:
uses: MrThearMan/CI/.github/workflows/[email protected]
with:
python-version: '["3.9", "3.10", "3.11", "3.12"]'
python-version: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
12 changes: 7 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Framework :: Django :: 5.1",
Expand Down Expand Up @@ -259,7 +260,7 @@ banned-from = [
max-args = 7

[tool.mypy]
python_version = "3.12"
python_version = "3.13"
warn_return_any = "True"
warn_unused_configs = "True"
plugins = [
Expand Down Expand Up @@ -295,7 +296,7 @@ django_settings_module = "tests.project.settings"
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py{39, 310, 311, 312}-django{42, 50, 51}
envlist = py{39, 310, 311, 312, 313}-django{42, 50, 51}
isolated_build = true
[gh-actions]
Expand All @@ -304,6 +305,7 @@ python =
3.10: py310
3.11: py311
3.12: py312
3.13: py313
[testenv]
allowlist_externals =
Expand All @@ -314,10 +316,10 @@ deps =
django42: Django>=4.2,<4.3
py39-django50: Django>=4.2,<4.3
py{310, 311, 312}-django50: Django>=5.0,<5.1
py{310, 311, 312, 313}-django50: Django>=5.0,<5.1
py39-django51: Django>=4.2,<4.3
py{310, 311, 312}-django51: Django>=5.1,<5.2
py{310, 311, 312, 313}-django51: Django>=5.1,<5.2
asgiref>=3.5.0
httpx>=0.23.0
Expand All @@ -334,5 +336,5 @@ commands =
"""

[build-system]
requires = ["poetry-core>=1.5.0"]
requires = ["poetry-core>=1.9.0"]
build-backend = "poetry.core.masonry.api"

0 comments on commit bba2059

Please sign in to comment.