I noticed that a new version was released today (2024-05-30): post2, which doesn't match the system, so it causes the installation to fail and the CI to run with errors.
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [30 lines of output]
meson setup C:\Users\username\AppData\Local\Temp\pip-install-mnl5nt54\scs_0cca347c6d5c4539af688a08dc2c3747 C:\Users\username\AppData\Local\Temp\pip-install-mnl5nt54\scs_0cca347c6d5c4539af688a08dc2c3747.mesonpy-fp6x2w8x -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=C:\Users\username\AppData\Local\Temp\pip-install-mnl5nt54\scs_0cca347c6d5c4539af688a08dc2c3747.mesonpy-fp6x2w8x\meson-python-native-file.ini
The Meson build system
Version: 1.4.0
Source dir: C:\Users\username\AppData\Local\Temp\pip-install-mnl5nt54\scs_0cca347c6d5c4539af688a08dc2c3747
Build dir: C:\Users\username\AppData\Local\Temp\pip-install-mnl5nt54\scs_0cca347c6d5c4539af688a08dc2c3747.mesonpy-fp6x2w8x
Build type: native build
Project name: scs
Project version: undefined
Activating VS 17.9.7
C compiler for the host machine: cl (msvc 19.39.33523 "用于 x64 的 Microsoft (R) C/C++ 优化编译器 19.39.33523 版")
C linker for the host machine: link link 14.39.33523.0
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program python found: YES (G:\Miniconda3\envs\test_install_scs\python.exe)
Library openblas found: NO
Did not find pkg-config by name 'pkg-config'
Found pkg-config: NO
Found CMake: C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.EXE (3.28.0)
Run-time dependency openblas found: NO (tried pkgconfig and cmake)
Run-time dependency openblas found: NO (tried pkgconfig and cmake)
Library blas found: NO
Run-time dependency blas found: NO (tried pkgconfig and cmake)
Library lapack found: NO
Run-time dependency lapack found: NO (tried pkgconfig and cmake)
Library cblas found: NO
Run-time dependency cblas found: NO (tried pkgconfig and cmake)
..\meson.build:48:4: ERROR: Problem encountered: OpenBLAS or Netlib BLAS/CBLAS is required on all platforms except Windows, and was not found.
A full log can be found at C:\Users\username\AppData\Local\Temp\pip-install-mnl5nt54\scs_0cca347c6d5c4539af688a08dc2c3747.mesonpy-fp6x2w8x\meson-logs\meson-log.txt
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Specifications
Description
I noticed that a new version was released today (2024-05-30): post2, which doesn't match the system, so it causes the installation to fail and the CI to run with errors.
How to reproduce
Run:
pip install scs
Additional information
Extra context.
Output
Collecting scs Using cached scs-3.2.4.post2.tar.gz (1.5 MB) Installing build dependencies ... done Getting requirements to build wheel ... done Installing backend dependencies ... done Preparing metadata (pyproject.toml) ... error error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [30 lines of output]
meson setup C:\Users\username\AppData\Local\Temp\pip-install-mnl5nt54\scs_0cca347c6d5c4539af688a08dc2c3747 C:\Users\username\AppData\Local\Temp\pip-install-mnl5nt54\scs_0cca347c6d5c4539af688a08dc2c3747.mesonpy-fp6x2w8x -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=C:\Users\username\AppData\Local\Temp\pip-install-mnl5nt54\scs_0cca347c6d5c4539af688a08dc2c3747.mesonpy-fp6x2w8x\meson-python-native-file.ini The Meson build system Version: 1.4.0 Source dir: C:\Users\username\AppData\Local\Temp\pip-install-mnl5nt54\scs_0cca347c6d5c4539af688a08dc2c3747 Build dir: C:\Users\username\AppData\Local\Temp\pip-install-mnl5nt54\scs_0cca347c6d5c4539af688a08dc2c3747.mesonpy-fp6x2w8x Build type: native build Project name: scs Project version: undefined Activating VS 17.9.7 C compiler for the host machine: cl (msvc 19.39.33523 "用于 x64 的 Microsoft (R) C/C++ 优化编译器 19.39.33523 版") C linker for the host machine: link link 14.39.33523.0 Host machine cpu family: x86_64 Host machine cpu: x86_64 Program python found: YES (G:\Miniconda3\envs\test_install_scs\python.exe) Library openblas found: NO Did not find pkg-config by name 'pkg-config' Found pkg-config: NO Found CMake: C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.EXE (3.28.0) Run-time dependency openblas found: NO (tried pkgconfig and cmake) Run-time dependency openblas found: NO (tried pkgconfig and cmake) Library blas found: NO Run-time dependency blas found: NO (tried pkgconfig and cmake) Library lapack found: NO Run-time dependency lapack found: NO (tried pkgconfig and cmake) Library cblas found: NO Run-time dependency cblas found: NO (tried pkgconfig and cmake)
..\meson.build:48:4: ERROR: Problem encountered: OpenBLAS or Netlib BLAS/CBLAS is required on all platforms except Windows, and was not found.
A full log can be found at C:\Users\username\AppData\Local\Temp\pip-install-mnl5nt54\scs_0cca347c6d5c4539af688a08dc2c3747.mesonpy-fp6x2w8x\meson-logs\meson-log.txt [end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed
× Encountered error while generating package metadata. ╰─> See above for output.
note: This is an issue with the package mentioned above, not pip. hint: See above for details.