dry-python / dry-python/classes

Unable to install both returns and classes together

Đang mở
#386 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
Python
Star
730
Fork
30
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

# 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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.