ipython / ipython/traitlets

Editable installs broken with pip 22.1

Đang mở
#725 4 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
653
Fork
217
Merge trung bình
2 ngày 21 giờ
Pull request đã merge (30 ngày)
2

Mô tả

# Problem

All CI jobs will probably fail right now if using `pip` 22.1 with the tell-tale error of:

```
pip._vendor.packaging.markers.UndefinedEnvironmentName: 'extra' does not exist in evaluation environment.
```

## References
- observed on #724
- probably due to https://github.com/pypa/pip/issues/11110
- it's suggested the "clever" `_version.py` and `version_info` stuff triggers `flit` to do more install than it's ready to do...

## Approaches

- wait for it to resolve itself
- `pip` or `flit` might fix something
- accept dupliaction
- in `pyproject.toml`
- remove `version` from `dynamic`
- add explicit version there
- add a test, etc. to verify the versions are in sync
- ???

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.