dry-python / dry-python/classes

Unable to install both returns and classes together

未關閉
#386 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
bug
主要語言
Python
星號
730
分支
30
PR 合併指標
30 天內沒有已合併 PR

描述

# 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

- `python` version: 3.9
- `classes` version: 0.4.0
- `returns` version: 0.19.0
- `mypy` version: 0.941

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。