Cannot press Up in Python REPL under `poetry shell`
还没有人认领这个 Issue。
评估
调研方向
使用 Poetry 1.2.1 在 Windows 上,结合列出的 Windows Terminal 或内置终端与 pwsh 或 cmd 组合重现该问题。首先跟踪 poetry shell 的入口点及其终端环境处理;当 Python REPL 的 Up 键在 poetry shell 内能够像在外部一样调出之前的命令时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Overview
-
Poetry version:
1.2.1. -
Python version:
3.10.5 CPython. -
OS version and name: Windows 10 21H2 Enterprise (build 19044.2006)
-
pyproject.toml: Irrelevant.
-
I am on the latest stable Poetry version, installed using a recommended method.
-
I have searched the issues of this repo and believe that this is not a duplicate.
-
I have consulted the FAQ and blog for any relevant entries or release notes.
-
If an exception occurs when executing a command, I executed it again in debug mode (
-vvvoption) and have included the output below.
Issue
Steps to reproduce
- While not under
poetry shell, open up the Python REPL. Run any command, and press Up to quick recall the command. The previous command(s) should be auto-filled. - For reproducibility, create a new
poetryproject withpoetry new.cdinto the project, enterpoetry shell. - Open up the Python REPL, run any command, and press Up to quick recall the command.
Expected behaviour
Normal behaviour of Python REPL when pressing Up, demonstrated at step 1.
Actual behaviour
Pressing Up does nothing.
Notes
Known affected terminal-shell combo:
- Windows Terminal Preview 1.16.2641.0 +
pwsh7.2.6 - Windows Terminal Preview 1.16.2641.0 +
cmd - Built-in terminal +
pwsh7.2.6 - Built-in terminal +
cmd
- 主要语言
- Python
- 星标
- 141
- 派生
- 10
- 平均合并
- 59 分钟
- 30 天内合并 PR
- 3
环境准备
我们还没有检查这个项目的环境配置文件。先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
python-poetry/poetry-plugin-shell 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 20/100
python-poetry/poetry-plugin-shell#43 · 1 条评论 · 1 个 reaction ·
-
难度 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 条评论 ·
查看 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 天内回复