Skip to content

Commit

Permalink
Merge pull request #127 from academic-innovation/python-313
Browse files Browse the repository at this point in the history
Add support for Python 3.13
  • Loading branch information
michaelwheeler authored Dec 20, 2024
2 parents 650e814 + 0427b62 commit 811c612
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
django: ["4.2.0", "5.0.0", "5.1.0"]
exclude:
- django: "5.0.0"
Expand All @@ -59,6 +59,10 @@ jobs:
python: "3.8"
- django: "5.1.0"
python: "3.9"
- django: "4.2.0"
python: "3.13"
- django: "5.0.0"
python: "3.13"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand Down
11 changes: 9 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,17 @@ def types(session):
"python,django",
[
(python, django)
for python in ("3.8", "3.9", "3.10", "3.11", "3.12")
for python in ("3.8", "3.9", "3.10", "3.11", "3.12", "3.13")
for django in ("4.2.0", "5.0.0", "5.1.0")
if (python, django)
not in [("3.8", "5.0.0"), ("3.8", "5.1.0"), ("3.9", "5.0.0"), ("3.9", "5.1.0")]
not in [
("3.8", "5.0.0"),
("3.8", "5.1.0"),
("3.9", "5.0.0"),
("3.9", "5.1.0"),
("3.13", "4.2.0"),
("3.13", "5.0.0"),
]
],
)
def test(session, django):
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ flake8-docstrings==1.6.0
flake8==4.0.1
isort==5.10.1
mypy==0.942
nox==2021.10.1
nox==2024.10.09
PyLTI1p3==2.0.0
pytest-django==4.5.1
pytest==6.2.5
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ classifiers =
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Programming Language :: Python :: 3.13

[options]
python_requires = >=3.8
Expand Down

0 comments on commit 811c612

Please sign in to comment.