Skip to content

Commit

Permalink
chore: upgrade pgai extension to 0.8.0 (#296)
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesGuthrie authored Feb 4, 2025
1 parent 48087a9 commit 23807cb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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; \
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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) \
Expand Down

0 comments on commit 23807cb

Please sign in to comment.