Skip to content

Commit 8bbb0ed

Browse files
committed
psycopg3: install c extras
This is apparently the extra now that makes psycopg3 correspond to the old psycopg2 non-binary version.
1 parent 9c6f41d commit 8bbb0ed

File tree

3 files changed

+18
-6
lines changed

3 files changed

+18
-6
lines changed

index/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ RUN --mount=type=cache,id=opendatacube-uv-cache,target=/root/.cache \
5050
uv sync --locked --no-dev --no-install-project \
5151
--no-binary-package fiona \
5252
--no-binary-package psycopg \
53+
--no-binary-package psycopg-c \
5354
--no-binary-package psycopg2 \
5455
--no-binary-package rasterio \
5556
--no-binary-package shapely

index/pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@ version = "0.1.0"
44
description = "Installation project for datacube-index"
55
requires-python = ">=3.12"
66
dependencies = [
7-
"datacube[performance,postgres,psycopg3,s3]",
7+
"datacube[performance,postgres,s3]",
88
"aiobotocore[awscli,boto3]",
99
# Azure indexing, just in case.
1010
"azure-storage-blob",
1111
"odc-apps-dc-tools",
12+
"psycopg[c]",
1213
"pyyaml>=6.0.1",
1314
"rasterio>=1.4.2",
1415
"fiona>=1.10.1",

index/uv.lock

Lines changed: 15 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)