Skip to content

Testing: Use native Testcontainers adapter#502

Draft
amotl wants to merge 3 commits into
crate:mainfrom
zerotired:testcontainers-native
Draft

Testing: Use native Testcontainers adapter#502
amotl wants to merge 3 commits into
crate:mainfrom
zerotired:testcontainers-native

Conversation

@amotl

@amotl amotl commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

About

Thanks to @surister and @florinutz, the upstream testcontainers package will include an adapter for CrateDB. With this patch, the test suite will start using it.

References

Comment thread setup.py
'crate[test]>=1.0.0.dev2',
'cratedb-toolkit[testing]',
'sqlalchemy-cratedb',
'testcontainers[cratedb] @ git+https://github.com/testcontainers/testcontainers-python.git@main',

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As soon as there will be a GA release, we can switch over.

Suggested change
'testcontainers[cratedb] @ git+https://github.com/testcontainers/testcontainers-python.git@main',
'testcontainers[cratedb]>=4.15',

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we proceed the same way wherever else we have python testcontainers, I wonder, or wait for GA?

@amotl amotl Jun 18, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think version 4.15 will be around the corner, possibly becoming GA next week already, before the summer heat waves will begin? In this spirit, I think it will be good to wait for an official release before merging this patch.

-- https://pypi.org/project/testcontainers/#history

/cc @alexanderankin

@amotl amotl mentioned this pull request Jun 18, 2026
@amotl amotl force-pushed the testcontainers-native branch from 9ef08e4 to 4bfa4b2 Compare June 18, 2026 15:51
@amotl amotl force-pushed the testcontainers-native branch from f073808 to 8768c26 Compare June 18, 2026 15:59
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.

Trim dependencies

2 participants