Skip to content

Check library against django 4.1/4.2 #287

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

Closed
wants to merge 2 commits into from
Closed
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
35 changes: 34 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

services:
postgres:
image: postgis/postgis:10-2.5
image: postgis/postgis:13-3.3
env:
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
Expand Down Expand Up @@ -71,6 +71,39 @@ jobs:
TOXENV: py38-django40-djangorestframework313
- python: 3.9
TOXENV: py39-django40-djangorestframework313
- python: 3.8
TOXENV: py38-django41-djangorestframework313
- python: 3.9
TOXENV: py39-django41-djangorestframework313
- python: "3.10"
TOXENV: py310-django41-djangorestframework313
- python: 3.11
TOXENV: py311-django41-djangorestframework313
- python: 3.8
TOXENV: py38-django42-djangorestframework313
- python: 3.9
TOXENV: py39-django42-djangorestframework313
- python: "3.10"
TOXENV: py310-django42-djangorestframework313
- python: 3.11
TOXENV: py311-django42-djangorestframework313
- python: 3.8
TOXENV: py38-django41-djangorestframework314
- python: 3.9
TOXENV: py39-django41-djangorestframework314
- python: "3.10"
TOXENV: py310-django41-djangorestframework314
- python: 3.11
TOXENV: py311-django41-djangorestframework314
- python: 3.8
TOXENV: py38-django42-djangorestframework314
- python: 3.9
TOXENV: py39-django42-djangorestframework314
- python: "3.10"
TOXENV: py310-django42-djangorestframework314
- python: 3.11
TOXENV: py311-django42-djangorestframework314

steps:
- uses: actions/checkout@v2
with:
Expand Down
1 change: 1 addition & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ Compatibility with DRF, Django and Python

======================== ============================ ==================== ==================================
DRF-gis version DRF version Django version Python version
**1.1.x** **3.13** up to **3.14** **2.2 to 4.2** **3.8** to **3.11**
**1.0.x** **3.10** up to **3.13** **2.2 to 4.0** **3.6** to **3.9**
**0.18.x** **3.10** up to **3.13** **2.2 to 4.0** **3.6** to **3.9**
**0.17.x** **3.10** up to **3.12** **2.2 to 3.1** **3.6** to **3.8**
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ services:
command: sh -c "pip install -e . && python ./tests/manage.py test tests/django_restframework_gis_tests && ./run-qa-checks"

postgres:
image: mdillon/postgis:10-alpine
image: postgis/postgis:13-3.3
environment:
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
Expand Down
2 changes: 1 addition & 1 deletion requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
psycopg2~=2.8.0
psycopg2
django-filter>=2.0
contexttimer
# QA checks
Expand Down
5 changes: 5 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ envlist =
py{37,38,39,py3}-django{22}-djangorestframework{310,312}{,-pytest}
py{37,38,39,py3}-django{30,31,32}-djangorestframework{312}{,-pytest}
py{38,39,py3}-django{40}-djangorestframework{313}{,-pytest}
py{38,39,10,11,py3}-django{41}-djangorestframework{313,314}{,-pytest}
py{38,39,10,11,py3}-django{42}-djangorestframework{313,314}{,-pytest}

[testenv]
usedevelop = true
Expand All @@ -22,9 +24,12 @@ deps =
django31: Django~=3.1.0
django32: Django~=3.2.0
django40: Django~=4.0.0
django41: Django~=4.1.0
django42: Django~=4.2.0
djangorestframework310: djangorestframework~=3.10.0
djangorestframework312: djangorestframework~=3.12.0
djangorestframework313: djangorestframework~=3.13.0
djangorestframework314: djangorestframework~=3.14.0
-rrequirements-test.txt
pytest: pytest
pytest: pytest-django
Expand Down
Loading