Skip to content

docs: show how to migrate PostgreSQL and Redis imports - #1154

Open
archit15singh wants to merge 1 commit into
testcontainers:mainfrom
archit15singh:docs/community-import-migration
Open

archit15singh wants to merge 1 commit into
testcontainers:mainfrom
archit15singh:docs/community-import-migration

Conversation

@archit15singh

Copy link
Copy Markdown

Fixes #1063.

Users upgrading PostgreSQL or Redis imports can find the new paths and install command together in Getting help. The guide links to each module for database client dependencies.

Before  Legacy import warning → look up the new path and dependencies separately
After   Legacy import warning → Getting help → install extras and use the community imports

The replay installs the published 4.15.0 wheel into fresh Python 3.13 environments and runs the documented imports with deprecation warnings treated as errors. It covers installation and imports.

Local verification

Base 6146aa1170f415fcc825ed9bddc4eacbeb937a12 · Candidate 690d4bfb7107dd104fc40b6cf1c9d802b0172b41 · macOS-27.0.1-arm64-arm-64bit-Mach-O

Check Base Candidate
Install the extras and execute the documented imports in a fresh Python environment Missing documented migration for both deprecated imports Documented install and both imports passed without deprecation warnings
Python 3.13 Passed Passed
Legacy imports warn and still work Passed Passed
Base package and PostgreSQL still import without Redis extra Passed Passed
Module metadata and PostgreSQL/Redis shim tests — Passed

Coverage limits

  • Failure scenarios omitted — The primary replay exhibits both deprecated imports. No container starts are involved in this documentation change.

Replay receipt, commands, and logs

This branch has not been deployed

No deployments
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.

Question: What are the new way to install community containers?

1 participant