Unable to install both returns and classes together
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- python
- 领域
- build-system
调研方向
使用报告的版本运行 poetry add returns 和 poetry add classes,在 Python 3.9 中重现冲突。检查 classes 0.4.0 的依赖元数据及其对 typing_extensions 的约束;完成的标准是 Poetry 能够在不发生版本解析失败的情况下同时解析这两个包。
由索引模型根据 Issue 内容生成。
描述
Bug report
What's wrong
Just doing a simple poetry add returns and poetry add classes results in:
Because no versions of classes match >0.4.0,<0.5.0
and classes (0.4.0) depends on typing_extensions (>=3.10,<4.0), classes (>=0.4.0,<0.5.0) requires typing_extensions (>=3.10,<4.0).
And because returns (0.19.0) depends on typing-extensions (>=4.0,<5.0)
and no versions of returns match >0.19.0,<0.20.0, classes (>=0.4.0,<0.5.0) is incompatible with returns (>=0.19.0,<0.20.0).
So, because ogc depends on both returns (^0.19.0) and classes (^0.4.0), version solving failed.
How is that should be
Should I be able to run both of these libraries together? If so, maybe just a typing-extensions version update is needed?
System information
pythonversion: 3.9classesversion: 0.4.0returnsversion: 0.19.0mypyversion: 0.941
- 主要语言
- Python
- 星标
- 730
- 派生
- 30
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
dry-python/classes 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 35/100
dry-python/classes#496 ·
-
bug
难度 2/5 1-3 小时 新手友好度 45/100
dry-python/classes#494 ·
-
bug
难度 2/5 1-3 小时 新手友好度 52/100
dry-python/classes#492 · 2 条评论 ·
-
bug
难度 3/5 1-2 天 新手友好度 35/100
dry-python/classes#481 · 5 条评论 · 4 个 reaction ·
-
bug
难度 4/5 3-5 天 新手友好度 25/100
dry-python/classes#330 · 1 条评论 ·
查看 dry-python/classes 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 90/100
learningequality/ricecooker#747 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
BSData/horus-heresy-3rd-edition#3171 ·
-
enhancement
难度 2/5 1-3 小时 新手友好度 72/100
-
难度 2/5 1-3 小时 新手友好度 76/100
run-llama/llama_index#23199 ·
-
难度 2/5 1-3 小时 新手友好度 84/100
KhronosGroup/glTF-Blender-IO#2769 ·