testcontainers / testcontainers/testcontainers-python

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

未关闭
#1,063 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

📖 documentation
主要语言
Python
星标
2.3k
派生
386
平均合并
4 小时 40 分钟
30 天内合并 PR
1

描述

When importing like this:

from testcontainers.postgres import PostgresContainer
from testcontainers.redis import RedisContainer

I get a deprecation warning , I can found one in init.py files , but there are no any ways of how to download the current , modern way.
Sorry , for a dumb question , but update docs please to avoid such cases.

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从 issue 中的 imports 开始,检查链接的 src/testcontainers/redis.py 文件,包括 deprecation warning 以及附近的任何 package 指引。更新文档,说明社区容器当前的安装和导入路径,然后验证文档中的示例不再使用已弃用的方法。

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
documentation
Issue 类型
文档
难度
2/5
预计耗时
1-3 小时
活跃度
冷清
描述清晰度
基本清楚
新手友好度
52/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。