From 23807cb195088dedb965dee0cede10f93b50a814 Mon Sep 17 00:00:00 2001 From: James Guthrie Date: Tue, 4 Feb 2025 16:29:20 +0100 Subject: [PATCH] chore: upgrade pgai extension to 0.8.0 (#296) --- Dockerfile | 7 ++++--- Makefile | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1f4f808..628dbdc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -66,8 +66,8 @@ ARG TARGETARCH RUN set -ex; \ if [ "$PG_MAJOR_VERSION" -ge 16 ] && [ "$TARGETARCH" != "arm" ]; then \ apk update; \ - # install shared libraries required by pyarrow needed at runtime - apk add libarrow libparquet; \ + # install shared libraries needed at runtime + apk add libarrow libparquet geos; \ # install required dependencies for building pyarrow from source apk add --no-cache --virtual .pgai-deps \ git \ @@ -76,7 +76,8 @@ RUN set -ex; \ cmake \ python3-dev \ py3-pip \ - apache-arrow-dev; \ + apache-arrow-dev \ + geos-dev; \ # using uv reduces space required for pgai's dependencies \ python3 -m pip install uv --break-system-packages; \ git clone --branch ${PGAI_VERSION} https://github.com/timescale/pgai.git /build/pgai; \ diff --git a/Makefile b/Makefile index 2099889..2713499 100644 --- a/Makefile +++ b/Makefile @@ -28,7 +28,7 @@ TAG=-t $(TAG_VERSION) $(if $(BETA),,-t $(TAG_LATEST)) TAG_OSS=-t $(TAG_VERSION)-oss $(if $(BETA),,-t $(TAG_LATEST)-oss) PGVECTOR_VERSION=v0.7.2 -PGAI_VERSION=extension-0.7.0 +PGAI_VERSION=extension-0.8.0 COMMON_BUILD_ARGS= --build-arg TS_VERSION=$(TS_VERSION) \ --build-arg PREV_IMAGE=$(PREV_IMAGE) \