Skip to content

Commit

Permalink
Add Django 4.1 support
Browse files Browse the repository at this point in the history
  • Loading branch information
adamchainz authored and bluetech committed Oct 20, 2022
1 parent e0c77b3 commit 9c64b44
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 8 deletions.
22 changes: 17 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox==3.24.4
pip install tox==3.25.1
- name: Run tox
run: tox -e ${{ matrix.name }}
Expand All @@ -68,6 +68,10 @@ jobs:
python: 3.8
allow_failure: false

- name: py310-dj41-postgres-xdist-coverage
python: '3.10'
allow_failure: false

- name: py310-dj40-postgres-xdist-coverage
python: '3.10'
allow_failure: false
Expand All @@ -76,24 +80,32 @@ jobs:
python: '3.10'
allow_failure: false

- name: py39-dj32-postgres-xdist-coverage
- name: py39-dj41-mysql_innodb-coverage
python: 3.9
allow_failure: false

- name: py39-dj40-mysql_innodb-coverage
python: 3.9
allow_failure: false

- name: py38-dj32-sqlite-xdist-coverage
- name: py39-dj32-mysql_innodb-xdist-coverage
python: 3.9
allow_failure: false

- name: py38-dj41-sqlite-xdist-coverage
python: 3.8
allow_failure: false

- name: py38-dj40-sqlite-xdist-coverage
python: 3.8
allow_failure: false

- name: py39-djmain-sqlite-coverage
python: 3.9
- name: py38-dj32-sqlite-xdist-coverage
python: 3.8
allow_failure: false

- name: py310-djmain-sqlite-coverage
python: '3.10'
allow_failure: true

- name: py36-dj32-mysql_myisam-coverage
Expand Down
8 changes: 8 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
Changelog
=========

Pending
-------

Improvements
^^^^^^^^^^^^

* Official Django 4.1 support.

v4.5.2 (2021-12-07)
-------------------

Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ classifiers =
Framework :: Django
Framework :: Django :: 3.2
Framework :: Django :: 4.0
Framework :: Django :: 4.1
Intended Audience :: Developers
License :: OSI Approved :: BSD License
Operating System :: OS Independent
Expand Down
7 changes: 4 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[tox]
envlist =
py310-dj{main,40,32}-postgres
py39-dj{main,40,32}-postgres
py38-dj{main,40,32}-postgres
py310-dj{main,41,40,32}-postgres
py39-dj{main,41,40,32}-postgres
py38-dj{main,41,40,32}-postgres
py37-dj{32}-postgres
py36-dj{32}-postgres
linting
Expand All @@ -11,6 +11,7 @@ envlist =
extras = testing
deps =
djmain: https://github.com/django/django/archive/main.tar.gz
dj41: Django>=4.1,<4.2
dj40: Django>=4.0,<4.1
dj32: Django>=3.2,<4.0

Expand Down

0 comments on commit 9c64b44

Please sign in to comment.