JuliaPy / JuliaPy/PythonCall.jl
[BUG] Hard crash due to Mac System Integrity Protection (SIP) Security Protocol Activation
- 主要言語
- Julia
- スター
- 1.1k
- フォーク
- 86
- 平均マージ
- 1日 22時間
- マージ済み PR(30日)
- 3
説明
**Affects:** PythonCall
**Describe the bug**
Setting the `PYTHON_JULIACALL_HANDLE_SIGNALS` environment variable manually and then importing `juliacall` triggers the disk security protocol on MacOS
Meanwhile just importing `juliacall` works fine
ANY VERSIONS
Reproduce script:
```py
import os
os.environ["PYTHON_JULIACALL_HANDLE_SIGNALS"] = os.environ.get("PYTHON_JULIACALL_HANDLE_SIGNALS", "yes")
import juliacall
```
For clarity: importing `juliacall` works fine, but if you set environment variable first, it triggers SIP
**Your system**
Please provide detailed information about your system:
- MacOS
- Any versions
**Additional context**
First seen at https://github.com/MilesCranmer/PySR/issues/682
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
評価
この issue はまだ評価されていません。