conda-forge / conda-forge/python-feedstock

Make recipe friendlier to those that build off it

Đang mở
#578 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
question
Ngôn ngữ chính
Shell
Star
47
Fork
112
Merge trung bình
2 ngày 9 giờ
Pull request đã merge (30 ngày)
18

Mô tả

### Comment:

I maintain python for my company and we try to stay close to the conda-forge recipe. We aim to be compatible with conda-forge rather than defaults.

However, things like

```yaml
string: {{ dev_ }}h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}{{ linkage_nature }}{{ debug }}_cpython # ["conda-forge" in (channel_targets or "")]
string: h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}{{ linkage_nature }}{{ debug }} # ["conda-forge" not in (channel_targets or "")]
{% if 'conda-forge' in channel_targets %}
run_exports:
noarch:
- python
weak:
- python_abi {{ ver2 }}.* *_cp{{ ver2nd }}
{% endif %}
```

Link: main as of 2022/08/31 https://github.com/conda-forge/python-feedstock/blob/134ba25ba2f5696c14060518fafb4aaebfedb544/recipe/meta.yaml#L128

My guess is that this syntax was introduced to be compatible with AnacondaRecipes.

Package for me often fail to install with our built version of python, because they are looking for something with a build ending in `_cpython`.

I'm wondering if we can work to find a syntax that is more generalizable to other people building off the conda-forge recipe as well.

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.