Skip to content

Test on Django 5.0 and with Python 3.12 #19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 10, 2024
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
3 changes: 2 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.11'
python-version: '3.12'
- name: Install tox
run: |
python -m pip install --upgrade pip
Expand Down Expand Up @@ -47,6 +47,7 @@ jobs:
- 3.9
- '3.10'
- '3.11'
- '3.12'
name: Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v3
Expand Down
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
default_language_version:
python: python3.11
python: python3.12
minimum_pre_commit_version: 2.4.0
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.6.0
hooks:
- id: check-yaml
- id: check-json
Expand All @@ -15,18 +15,18 @@ repos:
exclude: .*\.(min\.js|min\.css)$

- repo: https://github.com/pycqa/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort

- repo: https://github.com/psf/black
rev: 23.1.0
rev: 24.4.2
hooks:
- id: black

# Flake8 includes pyflakes, pycodestyle, mccabe, pydocstyle, bandit
- repo: https://github.com/pycqa/flake8
rev: 6.0.0
rev: 7.1.0
hooks:
- id: flake8
additional_dependencies: ["flake8-bandit"]
Expand Down
9 changes: 6 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ envlist =
{py38,py39,py310,pypy39}-django-4.0
{py38,py39,py310,py311,pypy39}-django-4.1
{py38,py39,py310,py311,pypy39}-django-4.2
{py310,py311}-django-main
{py310,py311,py312}-django-5.0
{py310,py311,py312}-django-main
skip_missing_interpreters = true

[testenv]
Expand All @@ -15,12 +16,14 @@ basepython =
py39: python3.9
py310: python3.10
py311: python3.11
py312: python3.12
pypy39: pypy3.9
deps=
django-3.2: Django>=3.2,<3.3
django-4.0: Django>=4.0,<4.1
django-4.1: Django>=4.1,<4.2
django-4.2: Django>=4.2b1,<4.3
django-4.2: Django>=4.2,<4.3
django-5.0: Django>=5.0,<5.1
django-main: https://github.com/django/django/archive/main.tar.gz
backports.zoneinfo;python_version<"3.9"
coverage
Expand All @@ -34,6 +37,6 @@ commands =
[testenv:pre-commit]
deps =
pre-commit
basepython = python3.11
basepython = python3.12
commands =
pre-commit run --all-files --show-diff-on-failure
Loading