conda-forge / conda-forge/python-feedstock

Exclude `_sysconfigdata__linux_x86_64.pyc` file

未關閉
#859 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Shell
星號
47
分支
112
平均合併
2 天 9 小時
30 天內合併 PR
18

描述

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.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。