JuliaPy / JuliaPy/PythonCall.jl
[BUG] Hard crash due to Mac System Integrity Protection (SIP) Security Protocol Activation
- Ngôn ngữ chính
- Julia
- Star
- 1.1k
- Fork
- 86
- Merge trung bình
- 1 ngày 22 giờ
- Pull request đã merge (30 ngày)
- 3
Mô tả
**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
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.