Skip to content

[uv] Add zodb-pgjsonb based storage support - #230

Merged
ericof merged 1 commit into
uvfrom
pgjsonb-uv
Oct 9, 2026
Merged

ericof merged 1 commit into
uvfrom
pgjsonb-uv

Conversation

@ericof

@ericof ericof commented Oct 8, 2026

Copy link
Copy Markdown
Member

Port of #209 to the uv branch: zodb-pgjsonb storage, with optional blob storage in S3.

What is ported:

  • The entrypoint selects zodb-pgjsonb.conf when ZODB_PGJSONB_DSN is set, and zodb-pgjsonb-s3blobs.conf when ZODB_PGJSONB_S3BLOBS_ENABLED=true. With S3 enabled and a required setting missing, it exits with an error that reports credentials only as set / MISSING.
  • Both configuration files, and the plone-pgjsonb / plone-pgjsonb-s3blobs tests, keeping this branch's test suite in step with 6.2.x.

What is not ported: the EXTRA_PACKAGES change to Dockerfile.builder. The UV images do not install Plone or storage packages; projects built on them add zodb-pgjsonb[s3] to their own dependencies, as they already do for RelStorage. That package requires Python 3.12 or later, so it is not available to projects on the Python 3.11 images. The news fragment says so.

The tests are not run in CI on this branch, which has no test workflow and no image to run them against. The entrypoint and configuration files are identical to those tested on 6.2.x, apart from the import command this branch already had.

Port of #209 from 6.2.x: the entrypoint selects zodb-pgjsonb.conf when
ZODB_PGJSONB_DSN is set, and zodb-pgjsonb-s3blobs.conf when
ZODB_PGJSONB_S3BLOBS_ENABLED is true, with the same tests.

Unlike 6.2.x, the UV images do not install Plone or storage packages,
so the EXTRA_PACKAGES change is not ported: projects add
zodb-pgjsonb[s3] to their own dependencies, as they do for RelStorage.
@ericof
ericof deployed to DOCKER_HUB October 8, 2026 23:51 — with GitHub Actions Active
@ericof
ericof deployed to DOCKER_HUB October 8, 2026 23:51 — with GitHub Actions Active
@ericof
ericof deployed to DOCKER_HUB October 8, 2026 23:51 — with GitHub Actions Active
@ericof
ericof deployed to DOCKER_HUB October 8, 2026 23:51 — with GitHub Actions Active
@ericof
ericof deployed to DOCKER_HUB October 8, 2026 23:51 — with GitHub Actions Active
@ericof
ericof deployed to DOCKER_HUB October 8, 2026 23:51 — with GitHub Actions Active
@ericof
ericof deployed to DOCKER_HUB October 8, 2026 23:51 — with GitHub Actions Active
@ericof
ericof deployed to DOCKER_HUB October 8, 2026 23:51 — with GitHub Actions Active
@ericof
ericof requested review from erral and fredvd and a lite review from Copilot and removed request for Copilot October 8, 2026 23:53
@ericof
ericof merged commit e051f13 into uv Oct 9, 2026
12 checks passed
@ericof
ericof deleted the pgjsonb-uv branch October 9, 2026 12:24

This branch was successfully deployed

1 active deployment
DOCKER_HUB — 3956f2a2 Deployed Oct 8, 2026 by ericof via builder-image (3.13) / release #27
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.

2 participants