Skip to content

fix(postgres): match pg18 Alpine toolchain#12035

Open
RedZapdos123 wants to merge 1 commit into
ibis-project:mainfrom
RedZapdos123:fix/postgres-alpine-packages-12033
Open

fix(postgres): match pg18 Alpine toolchain#12035
RedZapdos123 wants to merge 1 commit into
ibis-project:mainfrom
RedZapdos123:fix/postgres-alpine-packages-12033

Conversation

@RedZapdos123

@RedZapdos123 RedZapdos123 commented Jul 9, 2026

Copy link
Copy Markdown

Description:

Issue #12033 reported that PostgreSQL backend jobs were failing while building the
docker/postgres image after the postgis/postgis:18-3.6-alpine base moved to
the PostgreSQL 18 Alpine toolchain.

This PR updates the pgvector builder image to use the matching PostgreSQL 18
Alpine LLVM/Clang packages (clang21, llvm21, llvm21-dev) and aligns the
installed plpython3 package with PostgreSQL 18.

Closes #12033.

Testing:

  • pre-commit run --files docker/postgres/Dockerfile.
  • docker build --progress=plain -f docker/postgres/Dockerfile -t ibis-postgres-fixed docker/postgres.
  • Targeted PostgreSQL tests covering test_pgvector_type_load and
    test_existing_plpython_udf in WSL (2 passed).

The validation screenshots of the tests run:

image image

PostGIS 18 Alpine is built with CLANG=clang-21 and LLVM_CONFIG pointing at llvm21, so the pgvector build needs the matching Alpine toolchain packages. Align the plpython package with PostgreSQL 18 as well.

Refs ibis-project#12033

Signed-off-by: Mridankan Mandal <xerontitan90@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: PostgreSQL CI image build fails because clang19 and llvm19 are unavailable in postgis/postgis:18-3.6-alpine

1 participant