Skip to content

fix(cratedb): add CrateDB community module#1051

Open
florinutz wants to merge 2 commits into
testcontainers:mainfrom
florinutz:cratedb
Open

fix(cratedb): add CrateDB community module#1051
florinutz wants to merge 2 commits into
testcontainers:mainfrom
florinutz:cratedb

Conversation

@florinutz

Copy link
Copy Markdown

Add a CrateDB module under testcontainers.community.cratedb, ported from #888 and built on the generic SqlContainer base reintroduced in #892.

  • CrateDBContainer extends community.generic.sql.SqlContainer; single-node command, HTTP (4200) wait strategy so startup needs no DB client library, crate:// SQLAlchemy connection URL
  • deprecation shim at testcontainers.cratedb
  • tests under tests/community/cratedb, docs, mkdocs nav entry, and the cratedb optional-dependency (empty; sqlalchemy-cratedb is a test-group dep)

Supersedes #888

Add a CrateDB module under testcontainers.community.cratedb, ported from
testcontainers#888 and built on the generic SqlContainer base reintroduced in testcontainers#892.

- CrateDBContainer extends community.generic.sql.SqlContainer; single-node
  command, HTTP (4200) wait strategy so startup needs no DB client library,
  crate:// SQLAlchemy connection URL
- deprecation shim at testcontainers.cratedb
- tests under tests/community/cratedb, docs, mkdocs nav entry, and the
  `cratedb` optional-dependency (empty; sqlalchemy-cratedb is a test-group dep)

Supersedes testcontainers#888.

Co-authored-by: surister <surister98@gmail.com>
Comment thread pyproject.toml Outdated
Co-authored-by: Andreas Motl <andreas.motl@elmyra.de>
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