Closed mtsokol closed 3 months ago
Just to note, I can reproduce this in Docker outside of GitHub Actions, using the content in pydata/sparse#649 and this Dockerfile
:
FROM --platform=x86_64 condaforge/miniforge3:latest
ADD ci/environment.yml .
RUN conda env create -f environment.yml
RUN mkdir -p /root/workdir
WORKDIR /root/workdir
ADD . .
RUN conda run --live-stream -n sparse-dev pip install -e .[tests]
RUN conda run --live-stream -n sparse-dev pytest --pyargs sparse/tests/test_backends.py
Also, switching to Poetry resolves the issue somehow.
Okay, I've managed to reduce it down to this (Purely conda
, juliapkg
and juliacall
):
I think this is a duplicate of #464 (please comment if not and I'll reopen).
Affects: JuliaCall
Describe the bug
Hi! I recently started using
JuliaCall
to call Julia from Python. In my CI I have several jobs: ubuntu, macos and windows. One of my steps installs Julia and the other one builds python package and runs pytest.A segmentation fault happens on
import juliacall
, insidejuliacall.__init__.py::init()
function, here, but only on ubuntu jobs. Macos and windows complete successfully. Julia 1.10.2 gets installed.Do you know what might be the reason?
Failing ubuntu output: https://github.com/pydata/sparse/actions/runs/8252820808/job/22573248981?pr=647#step:7:116 JuliaCall setup: https://github.com/willow-ahrens/finch-tensor/blob/main/src/finch/julia.py JuliaCall version: https://github.com/willow-ahrens/finch-tensor/blob/1bf21a28d28a19ba1cea59c6f5a719cb8914e395/pyproject.toml#L11 CI definition that installs Julia: https://github.com/pydata/sparse/blob/4bfea8fa5b66393a1ff7c2db45218ba41f46baec/.github/workflows/ci.yml#L44