RUB-EP1 / amplitude-serialization

Prototype for the amplitude model serialization format
https://rub-ep1.github.io/amplitude-serialization
MIT License
2 stars 1 forks source link

DX: download Python dependencies from PyPI #53

Closed redeboer closed 5 months ago

redeboer commented 5 months ago

Closes #52

redeboer commented 5 months ago

@mmikhasenko could you try if that fixes the problem for you?

mmikhasenko commented 5 months ago

hm, same error

  × Failed to download distributions
  ├─▶ Failed to fetch wheel: scipy==1.13.1
  ├─▶ Failed to build: `scipy==1.13.1`
  ╰─▶ Build backend failed to build wheel through `build_wheel()` with exit status: 1
      --- stdout:
      + meson setup /Caches/rattler/cache/uv-cache/built-wheels-v3/pypi/scipy/1.13.1/J9fT5HywTfiafip2zvV7C/scipy-1.13.1.tar.gz /Caches/rattler/cache/uv-cache/built-wheels-v3/pypi/scipy/1.13.1/J9fT5HywTfiafip2zvV7C/scipy-1.13.1.tar.gz/.mesonpy-
      y4ruv1o3 -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=/Caches/rattler/cache/uv-cache/built-wheels-v3/pypi/scipy/1.13.1/J9fT5HywTfiafip2zvV7C/scipy-1.13.1.tar.gz/.mesonpy-y4ruv1o3/meson-python-native-file.ini
      The Meson build system
      Version: 1.4.0
      Source dir: /Caches/rattler/cache/uv-cache/built-wheels-v3/pypi/scipy/1.13.1/J9fT5HywTfiafip2zvV7C/scipy-1.13.1.tar.gz
      Build dir: /Caches/rattler/cache/uv-cache/built-wheels-v3/pypi/scipy/1.13.1/J9fT5HywTfiafip2zvV7C/scipy-1.13.1.tar.gz/.mesonpy-y4ruv1o3
      Build type: native build
      Project name: scipy
      Project version: 1.13.1
      C compiler for the host machine: cc (clang 15.0.0 "Apple clang version 15.0.0 (clang-1500.1.0.2.5)")
      C linker for the host machine: cc ld64 1022.1
      C++ compiler for the host machine: c++ (clang 15.0.0 "Apple clang version 15.0.0 (clang-1500.1.0.2.5)")
      C++ linker for the host machine: c++ ld64 1022.1
      Cython compiler for the host machine: cython (cython 3.0.10)
      Host machine cpu family: aarch64
      Host machine cpu: aarch64
      Program python found: YES (/Caches/rattler/cache/uv-cache/.tmp0xZwER/.venv/bin/python)
      Did not find pkg-config by name 'pkg-config'
      Found pkg-config: NO
      Run-time dependency python found: YES 3.12
      Program cython found: YES (/Caches/rattler/cache/uv-cache/.tmp0xZwER/.venv/bin/cython)
      Compiler for C supports arguments -Wno-unused-but-set-variable: YES
      Compiler for C supports arguments -Wno-unused-function: YES
      Compiler for C supports arguments -Wno-conversion: YES
      Compiler for C supports arguments -Wno-misleading-indentation: YES
      Library m found: YES
      Fortran compiler for the host machine: gfortran (gcc 13.2.0 "GNU Fortran (Homebrew GCC 13.2.0) 13.2.0")
      Fortran linker for the host machine: gfortran ld64 1022.1
      Compiler for Fortran supports arguments -Wno-conversion: YES
      Compiler for C supports link arguments -Wl,-ld_classic: YES
      Checking if "-Wl,--version-script" : links: NO
      Program pythran found: YES 0.15.0 0.15.0 (/Caches/rattler/cache/uv-cache/.tmp0xZwER/.venv/bin/pythran)
      Did not find CMake 'cmake'
      Found CMake: NO
      Run-time dependency xsimd found: NO (tried pkgconfig, framework and cmake)
      Run-time dependency threads found: YES
      Library npymath found: YES
      Library npyrandom found: YES
      pybind11-config found: YES (/Caches/rattler/cache/uv-cache/.tmp0xZwER/.venv/bin/pybind11-config) 2.12.0
      Run-time dependency pybind11 found: YES 2.12.0
      Run-time dependency scipy-openblas found: NO (tried pkgconfig)
      Run-time dependency openblas found: NO (tried pkgconfig, framework and cmake)
      Run-time dependency openblas found: NO (tried framework)

      ../scipy/meson.build:163:9: ERROR: Dependency lookup for OpenBLAS with method 'pkgconfig' failed: Pkg-config for machine host machine not found. Giving up.

      A full log can be found at /Caches/rattler/cache/uv-cache/built-wheels-v3/pypi/scipy/1.13.1/J9fT5HywTfiafip2zvV7C/scipy-1.13.1.tar.gz/.mesonpy-y4ruv1o3/meson-logs/meson-log.txt
      --- stderr:

      ---
redeboer commented 5 months ago

Seems that macos requires shared libraries? And that you don't have pkgconfig installed?

I just added pkgconfig as a dependency as well, but seems a bit like a hack

redeboer commented 5 months ago

Made redundant by #56