Skip to content

Commit

Permalink
Check library against django 4.1/4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
gbip committed Nov 2, 2023
1 parent 5840e4f commit 689a794
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 3 deletions.
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: py39-django41-djangorestframework313
- python: 3.11
TOXENV: py39-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: py39-django41-djangorestframework314
- python: 3.11
TOXENV: py39-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

0 comments on commit 689a794

Please sign in to comment.