conda-forge / conda-forge/python-feedstock

Exclude `_sysconfigdata__linux_x86_64.pyc` file

Đang mở
#859 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
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ả

The `pyc` file contains the `$PREFIX` but apparently not in a way that is detected / or replaceable by conda / rattler (Python marshals strings without `\0` delimiter into the bytecode IIUC).

It might be better to not add this file at all so that it is regenerated? Or scramble it?

We hit a problem when installing python 3.11 - because we are restoring the `mtime` in rattler and the `pyc` file does not get regenerated. We're currently looking for solutions how to solve this cleanly.

We should, probably, change the `mtime` / not restore it upon installation of files where we change some contents.

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.