conda-forge / conda-forge/conda-forge.github.io

Need for a knowledgebase explanation on how to handle pyproject.toml, PEP 517, and PEP 518

Đang mở
#1,174 1 bình luận 4 reaction 0 người được giao Xem trên GitHub
Docs
Ngôn ngữ chính
JavaScript
Star
170
Fork
320
Merge trung bình
2 ngày 10 giờ
Pull request đã merge (30 ngày)
5

Mô tả

Issue:

pip now uses the pyproject.toml file by default as per PEP 517 and PEP 518. But that file seems to be a bit redundant with the conda meta.yaml file. I've had to delete this file from the downloaded tarballs to get builds working and it seems many other feedstocks do the same:

https://github.com/search?q=org%3Aconda-forge+pyproject.toml&type=code

Is the best practice to delete the file? pip has `-no-binary` and `--no-use-pep-517` (or did) but I haven't had luck with those flags combined with conda. Maybe someone else knows the best approach at dealing with pip trying to setup a build environment when it isn't needed because conda build already handles that.

Whatever the answer is, it would be good to add something to the knowledge base page about this. I can add something, but I'm not sure what should be added.



Environment (conda list):

```
$ conda list

```



Details about conda and system ( conda info ):

```
$ conda info

```

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.