Export fails due to urllib3 version mismatch
还没有人认领这个 Issue。
评估
调研方向
使用所示的 poetry export 命令,通过 Poetry 1.5.1 和 poetry-plugin-export 1.5.0 重现该故障。首先跟踪 exporter 的依赖遍历器及其对兼容的 urllib3 候选版本的处理;当导出完成且未选择不兼容的版本时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
I'm using version 1.5.0 of this plugin.
$ poetry --version
Poetry (version 1.5.1)
$ poetry export -f requirements.txt --without-hashes -o requirements/prod.txt
The `urllib3` package has the following compatible candidates `[Package('urllib3', '1.26.17')]`;
but, the exporter dependency walker previously elected `urllib3 (2.0.6)` which is not compatible
with the dependency `urllib3 (>=1.25.4,<1.27)`. Please contribute to `poetry-plugin-export` to
solve this problem.
$ poetry self add urllib3
Using version ^2.0.6 for urllib3
Updating dependencies
Resolving dependencies... (0.0s)
Because poetry-instance depends on poetry (1.5.1) which depends on urllib3 (>=1.26.0,<2.0.0),
urllib3 is required. So, because poetry-instance depends on urllib3 (^2.0.6), version solving failed.
Not quite sure how I could contribute..
- 主要语言
- Python
- 星标
- 336
- 派生
- 60
- 平均合并
- 10 分钟
- 30 天内合并 PR
- 1
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
python-poetry/poetry-plugin-export 的其他 Issue
-
pylock.toml export drops wheels when the sdist sorts between wheels可能已有人在做 @RaphaelFakhri 于 2 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 35/100
-
难度 4/5 3-5 天 新手友好度 45/100
-
难度 3/5 1-2 天 新手友好度 48/100
-
Does not install未关闭
难度 4/5 3-5 天 新手友好度 35/100
python-poetry/poetry-plugin-export#341 · 5 条评论 · 1 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 42/100
python-poetry/poetry-plugin-export#340 · 1 条评论 ·
查看 python-poetry/poetry-plugin-export 的全部 Issue
相似的 Issue
-
[BUG]: Compliance rules never see Unity Catalog views as views可能已有人在做 @wagnercsantos 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
databrickslabs/ontos#1348 ·
维护者通常 3 天内回复
-
`forum_pr_poster` action will always return `none` when checking for pre-existing feedback threads, even if a feedback thread already exists.可能已有人在做 @pgmzeta 今天认领。 未关闭E-Verified P-Major
难度 2/5 1-3 小时 新手友好度 79/100
goonstation/goonstation#28259 ·
维护者通常 2 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 65/100
woonstadrotterdam/monumenten#70 ·
维护者通常 15 天内回复
-
binding:python bug
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
The Browser tab fails with a Wayland error when Open Terminal runs from a Wayland desktop session未关闭
难度 2/5 1-3 小时 新手友好度 78/100
open-webui/open-terminal#210 ·