Duplicate of issue 42 for anyio dependency
还没有人认领这个 Issue。
评估
调研方向
从 issue 42 开始;此报告与该 issue 重复,并使用 Poetry 2.1.1、Python 3.13.2 和 poetry-plugin-shell 重现失败。完成标准是可以更新 anyio 依赖项并安装 poetry-plugin-shell,而不会出现报告中的卸载错误。
由索引模型根据 Issue 内容生成。
描述
Duplicate of issue 42 for anyio dependency
$ poetry --version
Poetry (version 2.1.1)
$ poetry run python --version
Python 3.13.2
$ poetry self add poetry-plugin-shell
Using version ^1.0.1 for poetry-plugin-shell
Updating dependencies
Resolving dependencies... (1.3s)
Package operations: 3 installs, 10 updates, 0 removals
- Updating anyio (4.8.0 -> 4.9.0): Failed
CalledProcessError
Command '['/usr/local/Cellar/poetry/2.1.1/libexec/bin/python', '/usr/local/Cellar/poetry/2.1.1/libexec/lib/python3.13/site-packages/virtualenv/seed/wheels/embed/pip-25.0.1-py3-none-any.whl/pip', 'uninstall', 'anyio', '-y']' returned non-zero exit status 1.
at /usr/local/Cellar/[email protected]/3.13.2/Frameworks/Python.framework/Versions/3.13/lib/python3.13/subprocess.py:579 in run
575│ # We don't call process.wait() as .__exit__ does that for us.
576│ raise
577│ retcode = process.poll()
578│ if check and retcode:
→ 579│ raise CalledProcessError(retcode, process.args,
580│ output=stdout, stderr=stderr)
581│ return CompletedProcess(process.args, retcode, stdout, stderr)
582│
583│
The following error occurred when trying to handle this error:
EnvCommandError
Command ['/usr/local/Cellar/poetry/2.1.1/libexec/bin/python', '/usr/local/Cellar/poetry/2.1.1/libexec/lib/python3.13/site-packages/virtualenv/seed/wheels/embed/pip-25.0.1-py3-none-any.whl/pip', 'uninstall', 'anyio', '-y'] errored with the following return code 1
Output:
Found existing installation: anyio 4.8.0
error: uninstall-no-record-file
× Cannot uninstall anyio 4.8.0
╰─> The package's contents are unknown: no RECORD file was found for anyio.
hint: The package was installed by brew. You should check if it can uninstall the package.
at /usr/local/Cellar/poetry/2.1.1/libexec/lib/python3.13/site-packages/poetry/utils/env/base_env.py:434 in _run
430│ output = subprocess.check_output(
431│ cmd, stderr=stderr, env=env, text=True, encoding=encoding, **kwargs
432│ )
433│ except CalledProcessError as e:
→ 434│ raise EnvCommandError(e)
435│
436│ return output
437│
438│ def execute(self, bin: str, *args: str, **kwargs: Any) -> int:
Cannot install anyio.
- 主要语言
- Python
- 星标
- 141
- 派生
- 10
- 平均合并
- 59 分钟
- 30 天内合并 PR
- 3
环境准备
我们还没有检查这个项目的环境配置文件。先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
python-poetry/poetry-plugin-shell 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 52/100
python-poetry/poetry-plugin-shell#42 · 4 条评论 · 15 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 38/100
python-poetry/poetry-plugin-shell#40 · 4 条评论 · 2 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 42/100
python-poetry/poetry-plugin-shell#37 · 3 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 25/100
python-poetry/poetry-plugin-shell#34 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 55/100
python-poetry/poetry-plugin-shell#30 · 1 个 reaction ·
查看 python-poetry/poetry-plugin-shell 的全部 Issue
相似的 Issue
-
ACK_WAITING HELP_WANTED UPDATE_CS
难度 2/5 1-3 小时 新手友好度 78/100
OWASP/CheatSheetSeries#2458 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 90/100
BasedHardware/omi#19711 ·
维护者通常 1 天内回复
-
Qwen3_5MoeModel no longer returns router_logits, breaking aux loss with output_router_logits=True未关闭
难度 2/5 1-3 小时 新手友好度 78/100
huggingface/transformers#49172 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
vllm-project/vllm-metal#885 ·
维护者通常 1 天内回复