JuliaPy / JuliaPy/PythonCall.jl

[BUG] Hard crash due to Mac System Integrity Protection (SIP) Security Protocol Activation

Abierto
#531 3 comentarios 0 reacciones 0 asignados Ver en GitHub
bug
Lenguaje dominante
Julia
Estrellas
1.1k
Forks
86
Merge medio
1 d 22 h
PR fusionados (30 d)
3

Descripción

**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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.