m-labs / artiq

A leading-edge control system for quantum information experiments
https://m-labs.hk/artiq
GNU Lesser General Public License v3.0
422 stars 194 forks source link

scipy missing in MSYS2 #2512

Open jsm8989 opened 1 month ago

jsm8989 commented 1 month ago

Bug Report

One-Line Summary

Installing artiq via MSYS as in the (stable) manual fails due to unrecognised scipy dependency.

Issue Details

Steps to Reproduce

  1. Install MSYS from msys2.org
  2. Following the exact Windows (MSYS) installation instructions in manual for 8.8912+cd12600
  3. The step pacman -S mingw-w64-clang-x86_64-artiq fails

Expected Behavior

Install artiq

Actual (undesired) Behavior

Your System (omit irrelevant parts)

thomasfire commented 1 month ago

should be mingw-w64-x86_64-python-scipy

Well, it wouldn't fix the problem, because the artiq is clang64 package, and packages across platforms are not interchangeable.

For now you can either install the artiq from offline installer or install the previous scipy package from file: https://mirror.msys2.org/mingw/clang64/mingw-w64-clang-x86_64-python-scipy-1.12.0-1-any.pkg.tar.zst .

Here is what happened: https://github.com/msys2/MINGW-packages/pull/21416

sbourdeauducq commented 1 month ago

With LLVM 19 only released in September it sounds like we will be stuck with this bug for a while.

sbourdeauducq commented 1 month ago

We can just remove the scipy dependency (only for MSYS2, in extrapkgs) in the meantime, it's only used in one example and it's optional for the compiler.