safe-cli fails with ModuleNotFoundError: No module named 'click' on a plain install
维护者通常 1 天内回复
评估
调研方向
使用所示的 uv 命令复现纯安装失败,然后阅读 safe_cli/typer_validators.py 和项目的依赖元数据。当纯 safe-cli==1.9.0 安装可以运行 --help 和其他命令而不出现 ModuleNotFoundError,并且 CI 覆盖不包含全部 extras 的安装时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
A plain install of the latest release fails on every command:
$ uv venv -p 3.13 && uv pip install safe-cli==1.9.0
$ safe-cli --help
File ".../site-packages/safe_cli/typer_validators.py", line 5, in <module>
import click
ModuleNotFoundError: No module named 'click'
safe_cli/typer_validators.py imports click (for ChecksumAddressParser and HexBytesParser), but click is not in the dependencies; it used to come with typer. typer 0.26.0 (2026-05-26) no longer depends on click (it vendors it as typer._click), and the dependency is typer>=0.14.0, so new installs get typer 0.27.2 and no click.
CI does not catch it because it installs with --all-extras, and the trezor extra depends on click. Installing safe-cli[trezor], or click manually, works around it.
- 主要语言
- Python
- 星标
- 281
- 派生
- 111
- 平均合并
- 1 天 20 小时
- 30 天内合并 PR
- 12
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
safe-global/safe-cli 的其他 Issue
-
support retrieval of detailed info about a specific transaction可能重新可做 @Uxio0 于 563 天前认领,目前没有进行中的 PR。 未关闭
safe-global/safe-cli#524 · 已指派 1 人 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 42/100
safe-global/safe-cli#519 · 1 条评论 ·
维护者通常 1 天内回复
-
bug SEV-4
难度 4/5 3-5 天 新手友好度 35/100
safe-global/safe-cli#511 · 5 条评论 · 2 个 reaction ·
维护者通常 1 天内回复
-
Backend bug
难度 3/5 1-2 天 新手友好度 38/100
safe-global/safe-cli#488 · 2 条评论 ·
维护者通常 1 天内回复
-
load_cli_owners_from_file / add support for encrypted keystore-files可能重新可做 @Uxio0 于 826 天前认领,目前没有进行中的 PR。 未关闭enhancement
safe-global/safe-cli#435 · 3 条评论 · 1 个 reaction · 已指派 1 人 ·
维护者通常 1 天内回复
查看 safe-global/safe-cli 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 74/100
cellrishi-code/claude-skills-atlas#165 ·
维护者通常 1 天内回复
-
bug confirmed issue
难度 2/5 1-3 小时 新手友好度 72/100
open-webui/open-webui#32635 · 1 条评论 ·
维护者通常 1 天内回复
-
Filters: ?field:ne=null matches NULL rows instead of non-NULL ones可能已有人在做 @rshdhere 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
Netflix/metaflow-service#504 ·
-
needs-triage
难度 2/5 1-3 小时 新手友好度 84/100
gke-labs/kube-agents#3394 ·
维护者通常 1 天内回复
-
A2A audit timestamps end in +00:00Z (invalid ISO 8601)可能已有人在做 @O1sumitkumar 今天认领。 未关闭bug good first issue help wanted python
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复