Skip to content

Commit 173ff5b

Browse files
committed
⬆️ [maykinmedia/open-api-framework#117] Upgrade postgres to 17
and drop support for postgres<13 and postgis<3.2
1 parent a5ed5fa commit 173ff5b

File tree

5 files changed

+21
-8
lines changed

5 files changed

+21
-8
lines changed

.github/workflows/ci.yml

+16-2
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,26 @@ env:
1414

1515
jobs:
1616
tests:
17-
name: Run the Django test suite
17+
strategy:
18+
matrix:
19+
postgres: ['13', '15', '16', '17']
20+
postgis: ['3.2', '3.5']
21+
exclude:
22+
# postgis 3.2 is not compatible with recent postgres versions
23+
- postgres: '17'
24+
postgis: '3.2'
25+
- postgres: '16'
26+
postgis: '3.2'
27+
- postgres: '15'
28+
postgis: '3.2'
29+
30+
name: Run the Django test suite (PG ${{ matrix.postgres }}, postgis ${{ matrix.postgis }})
31+
1832
runs-on: ubuntu-latest
1933

2034
services:
2135
postgres:
22-
image: postgis/postgis:12-2.5
36+
image: postgis/postgis:${{ matrix.postgres }}-${{ matrix.postgis }}
2337
env:
2438
POSTGRES_HOST_AUTH_METHOD: trust
2539
ports:

.github/workflows/code-quality.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,5 @@ jobs:
2020
apt-packages: 'libgdal-dev gdal-bin'
2121
python-version: '3.11'
2222
node-version: '18'
23-
postgres-image: 'postgis/postgis:12-2.5'
24-
23+
postgres-image: 'postgis/postgis:17-3.5'
2524
django-settings-module: 'objects.conf.ci'

INSTALL.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ You need the following libraries and/or programs:
2020

2121
* `Python`_ 3.11 or above
2222
* Python `Virtualenv`_ and `Pip`_
23-
* `PostgreSQL`_ 12 or above with PostGIS extension
23+
* `PostgreSQL`_ 13 or above with PostGIS extension
2424
* `Node.js`_
2525
* `npm`_
2626

docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ services:
22
db:
33
# NOTE: No persistance storage configured.
44
# See: https://hub.docker.com/_/postgres/
5-
image: postgis/postgis:12-2.5
5+
image: postgis/postgis:17-3.5
66
environment:
77
- POSTGRES_USER=${DB_USER:-objects}
88
- POSTGRES_PASSWORD=${DB_PASSWORD:-objects}

publiccode.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,10 @@ dependsOn:
7171
versionMin: '1.0'
7272
- name: PostgreSQL
7373
optional: false
74-
versionMin: '11.0'
74+
versionMin: '13.0'
7575
- name: PostGIS
7676
optional: false
77-
versionMin: '2.4'
77+
versionMin: '3.2'
7878
- name: Kubernetes
7979
optional: true
8080
versionMin: '1.12'

0 commit comments

Comments
 (0)