- {impl: python, python: "3.8", postgres: "postgres:11"}
- {impl: python, python: "3.9", postgres: "postgres:12"}
- {impl: python, python: "3.10", postgres: "postgres:13"}
- - {impl: python, python: "3.11", postgres: "postgres:14"}
+ - {impl: python, python: "3.11", postgres: "postgres:14", libpq: master}
- {impl: python, python: "3.12.0-beta.4 - 3.12", postgres: "postgres:15", libpq: oldest}
- {impl: c, python: "3.7", postgres: "postgres:15", libpq: newest}
- - {impl: c, python: "3.8", postgres: "postgres:13"}
+ - {impl: c, python: "3.8", postgres: "postgres:13", libpq: master}
- {impl: c, python: "3.9", postgres: "postgres:14"}
- {impl: c, python: "3.10", postgres: "postgres:12"}
- {impl: c, python: "3.11", postgres: "postgres:11", libpq: oldest}
setup_repo () {
version=${1:-}
+ repo_suffix=${2:-pgdg}
curl -sL -o /etc/apt/trusted.gpg.d/apt.postgresql.org.asc \
https://www.postgresql.org/media/keys/ACCC4CF8.asc
- echo "deb http://apt.postgresql.org/pub/repos/apt ${rel}-pgdg main ${version}" \
+ echo "deb http://apt.postgresql.org/pub/repos/apt ${rel}-${repo_suffix} main ${version}" \
>> /etc/apt/sources.list.d/pgdg.list
apt-get -qq update
}
apt-get -qq -y install "libpq-dev=${pqver}" "libpq5=${pqver}"
;;
+ master)
+ setup_repo 17 pgdg-snapshot
+ pqver=$(apt-cache show libpq5 | grep ^Version: | head -1 | awk '{print $2}')
+ apt-get -qq -y install "libpq-dev=${pqver}" "libpq5=${pqver}"
+ ;;
+
*)
echo "Unexpected wanted libpq: '${libpq}'" >&2
exit 1