# Test different combinations of Python, Postgres, libpq.
- {impl: python, python: "3.7", postgres: "postgres:10", libpq: "newest"}
- {impl: python, python: "3.8", postgres: "postgres:12", libpq: ""}
- - {impl: python, python: "3.9", postgres: "postgres:13", libpq: "newest"}
- - {impl: python, python: "3.10", postgres: "postgres:14", libpq: "oldest"}
- - {impl: c, python: "3.7", postgres: "postgres:14", libpq: "oldest"}
- - {impl: c, python: "3.8", postgres: "postgres:13", libpq: "newest"}
- - {impl: c, python: "3.9", postgres: "postgres:12", libpq: ""}
- - {impl: c, python: "3.10", postgres: "postgres:10", libpq: "oldest"}
+ - {impl: python, python: "3.9", postgres: "postgres:14", libpq: ""}
+ - {impl: python, python: "3.10", postgres: "postgres:15rc1", libpq: "oldest"}
+ - {impl: c, python: "3.7", postgres: "postgres:15rc1", libpq: "newest"}
+ - {impl: c, python: "3.8", postgres: "postgres:14", libpq: ""}
+ - {impl: c, python: "3.9", postgres: "postgres:13", libpq: ""}
+ - {impl: c, python: "3.10", postgres: "postgres:11", libpq: "oldest"}
- {impl: dns, python: "3.9", postgres: "postgres:14", libpq: ""}
- {impl: postgis, python: "3.9", postgres: "postgis/postgis", libpq: ""}
run: |
set -x
rel=$(lsb_release -c -s)
- echo "deb http://apt.postgresql.org/pub/repos/apt ${rel}-pgdg main" \
+ # TODO: after PG 15 has been released, remove the 15 from below.
+ echo "deb http://apt.postgresql.org/pub/repos/apt ${rel}-pgdg main 15" \
| sudo tee -a /etc/apt/sources.list.d/pgdg.list
sudo apt-get -qq update
pqver=$(apt-cache show libpq5 | grep ^Version: | head -1 \