scipy: REL: missing MacOS 10.13 Py3.12 wheel
Describe your issue.
scipy==1.14.1 appears to be causing installation issues with our package on MacOS with Python 3.12.
Reproducing Code Example
I have not reproduced locally, but it consistently happens on our MacOS runners on GitHub Actions. Resolved the issue with this PR. See an example run here.
Error message
Installing project in development mode
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [43 lines of output]
+ meson setup /private/var/folders/k_/2n6sfcjj6b7dm7znt8sx5lgw0000gn/T/pip-install-89_auglf/scipy_5a4541f396854fd580955c262fa91e93 /private/var/folders/k_/2n6sfcjj6b7dm7znt8sx5lgw0000gn/T/pip-install-89_auglf/scipy_5a4541f396854fd580955c262fa91e93/.mesonpy-45vze25y -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=/private/var/folders/k_/2n6sfcjj6b7dm7znt8sx5lgw0000gn/T/pip-install-89_auglf/scipy_5a4541f396854fd580955c262fa91e93/.mesonpy-45vze25y/meson-python-native-file.ini
The Meson build system
Version: 1.5.1
Source dir: /private/var/folders/k_/2n6sfcjj6b7dm7znt8sx5lgw0000gn/T/pip-install-89_auglf/scipy_5a4541f396854fd580955c262fa91e93
Build dir: /private/var/folders/k_/2n6sfcjj6b7dm7znt8sx5lgw0000gn/T/pip-install-89_auglf/scipy_5a4541f396854fd580955c262fa91e93/.mesonpy-45vze25y
Build type: native build
Project name: scipy
Project version: 1.14.1
C compiler for the host machine: cc (clang 14.0.0 "Apple clang version 14.0.0 (clang-1400.0.29.202)")
C linker for the host machine: cc ld64 820.1
C++ compiler for the host machine: c++ (clang 14.0.0 "Apple clang version 14.0.0 (clang-1400.0.29.202)")
C++ linker for the host machine: c++ ld64 820.1
Cython compiler for the host machine: cython (cython 3.0.11)
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program python found: YES (/Users/runner/Library/Application Support/hatch/env/virtual/arize-phoenix/N9SiT4_Z/test.py3.12/bin/python)
Found pkg-config: YES (/usr/local/bin/pkg-config) 0.29.2
Run-time dependency python found: YES 3.12
Program cython found: YES (/private/var/folders/k_/2n6sfcjj6b7dm7znt8sx5lgw0000gn/T/pip-build-env-_x3ipohp/overlay/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
../meson.build:84:0: ERROR: Unknown compiler(s): [['gfortran'], ['flang'], ['nvfortran'], ['pgfortran'], ['ifort'], ['ifx'], ['g95']]
The following exception(s) were encountered:
Running `gfortran --version` gave "[Errno 2] No such file or directory: 'gfortran'"
Running `gfortran -V` gave "[Errno 2] No such file or directory: 'gfortran'"
Running `flang --version` gave "[Errno 2] No such file or directory: 'flang'"
Running `flang -V` gave "[Errno 2] No such file or directory: 'flang'"
Running `nvfortran --version` gave "[Errno 2] No such file or directory: 'nvfortran'"
Running `nvfortran -V` gave "[Errno 2] No such file or directory: 'nvfortran'"
Running `pgfortran --version` gave "[Errno 2] No such file or directory: 'pgfortran'"
Running `pgfortran -V` gave "[Errno 2] No such file or directory: 'pgfortran'"
Running `ifort --version` gave "[Errno 2] No such file or directory: 'ifort'"
Running `ifort -V` gave "[Errno 2] No such file or directory: 'ifort'"
Running `ifx --version` gave "[Errno 2] No such file or directory: 'ifx'"
Running `ifx -V` gave "[Errno 2] No such file or directory: 'ifx'"
Running `g95 --version` gave "[Errno 2] No such file or directory: 'g95'"
Running `g95 -V` gave "[Errno 2] No such file or directory: 'g95'"
A full log can be found at /private/var/folders/k_/2n6sfcjj6b7dm7znt8sx5lgw0000gn/T/pip-install-89_auglf/scipy_5a4541f396854fd580955c262fa91e93/.mesonpy-45vze25y/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.
Error: Process completed with exit code 1.
SciPy/NumPy/Python version and system information
I do not have this information as the issue appears on our GitHub Action runner.
About this issue
- Original URL
- State: open
- Created 2 years ago
- Comments: 15 (12 by maintainers)
I went ahead and performed the PyPI and GitHub release page uploads manually for that missing wheel file just now.
I have no idea why that happened, all steps appeared to work normally.
If we do close this issue, let’s open another to remind us to investigate.