-
Notifications
You must be signed in to change notification settings - Fork 298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(redis): add AsyncRedis support #434
Conversation
hey @bearrito thanks for the contrib! Apologies for the failures on the different module things, I'll double check my mistake on it. Will fix so you can rebase and have your checks passing! :) |
@totallyzen I'm 99% sure I did the wrong thing with dependencies. I can see they should go under the module group extras. In another issue (#436) I'm trying to create a new module. I think the docs are out of date on this - https://testcontainers-python.readthedocs.io/en/latest/README.html |
pyproject.toml
Outdated
anyio = "^4.3.0" | ||
pre-commit = "^3.6.2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for these,
- make
anyio
a dev dependency for now - you don't actually needanyio
to run redis - I tend not to install
pre-commit
under poetry because then you will need poetry-ception - just usepip install pre-commit
for that one! - the rest should be fine, and in fact after fix(build): early exit strategy for modules #437 you seem to be just fine so fixing these two should be all you need.
I fixed the early-exit strat in #437 - was a doozy but I'm happy with the results! (dynamic matrix, no errors!) |
Updated. |
…v and CI (testcontainers#438) I could not install pre-commit handler because the package was missing in [tool.poetry.group.dev.dependencies]. I also updated the configuration for the pre-commit handler as black and ruff packages were outdated. Also removed deprecation for ruff v0.3.0 config in pyproject.toml. --------- Co-authored-by: Balint Bartha <[email protected]>
Adds support for async redis
Discussed somewhat here - #374
Tested in the recently fixed devcontainers.
There is currently no working tests for pub/sub.