Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade scipy to 1.9.x, add meson toolchain #34081

Closed
mkoeppe opened this issue Jun 25, 2022 · 163 comments
Closed

Upgrade scipy to 1.9.x, add meson toolchain #34081

mkoeppe opened this issue Jun 25, 2022 · 163 comments

Comments

@mkoeppe
Copy link
Contributor

mkoeppe commented Jun 25, 2022

This ticket is also the target ticket for https://github.com/FFY00/meson-python/blob/main/.github/workflows/ci-sage.yml

Previous update:

See also:

Depends on #34572
Depends on #32182

CC: @dimpase @antonio-rojas @kiwifb @orlitzky

Component: packages: standard

Author: Matthias Koeppe

Branch: 853a699

Reviewer: Dima Pasechnik

Issue created by migration from https://trac.sagemath.org/ticket/34081

@mkoeppe mkoeppe added this to the sage-9.7 milestone Jun 25, 2022
@mkoeppe
Copy link
Contributor Author

mkoeppe commented Jul 2, 2022

Dependencies: #32423

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Jul 2, 2022

Branch: u/mkoeppe/numpy_1_23_x__scipy_1_9_x

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Jul 3, 2022

Commit: d87212c

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Jul 3, 2022

Changed dependencies from #32423 to #32423, #33789

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Jul 3, 2022

Last 10 new commits:

e1998daMerge #32423
507fc2ebuild/pkgs/numpy: Update to 1.23.0
58d62f4build/bin/write-dockerfile.sh: ADD src/VERSION.txt
99f3617Merge #34017
3fab415build/pkgs/numpy: Switch to using .tar.gz
443b3d3build/pkgs/numpy/spkg-install.in: Fix 32bit build on x86_64
9cd5ea6Merge #34017
ee79c2ebuild/pkgs/numpy/spkg-install.in: Fix 32bit build on x86_64 (fixup)
2534f5abuild/pkgs/numpy/patches/21891.patch: New
d87212cMerge #32423

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 3, 2022

Branch pushed to git repo; I updated commit sha1. Last 10 new commits:

738ab26build/bin/sage-dist-helpers (sdh_pip_install): Change default to --build-isolation
79c6002build/bin/sage-dist-helpers (sdh_pip_install): Fall back to --no-build-isolation on error
f6ba526build/pkgs/tomli/spkg-install.in: Build it with --no-build-isolation
0b744beMerge #33789
10aaf61build/pkgs/meson: New
3ca53c9build/pkgs/pyproject_metadata: New
be09d5abuild/pkgs/ninja: New
3b92d3fbuild/pkgs/ninja_build/type: Change to standard
563ba19build/pkgs/pyproject_metadata/dependencies: Update
bf62474build/pkgs/meson_python: Update dependencies, spkg-install

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 3, 2022

Changed commit from d87212c to bf62474

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Jul 3, 2022

Changed dependencies from #32423, #33789 to #32423, #33789, #33866

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Jul 3, 2022

comment:6
[scipy-1.9.0rc1]       hook = backend.prepare_metadata_for_build_wheel
[scipy-1.9.0rc1]   AttributeError: module 'mesonpy' has no attribute 'prepare_metadata_for_build_wheel'
[scipy-1.9.0rc1] 
[scipy-1.9.0rc1]   During handling of the above exception, another exception occurred:
[scipy-1.9.0rc1] 
[}}}

@mkoeppe

This comment has been minimized.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 3, 2022

Changed commit from bf62474 to 22f91fd

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 3, 2022

Branch pushed to git repo; I updated commit sha1. This was a forced push. Last 10 new commits:

5f29fb6build/pkgs/poetry_core: New (tomlkit build dep)
0804b62build/pkgs/poetry_core/patches/5547.diff_bin: New
0c4d0ebbuild/pkgs/hatchling/dependencies: Add pluggy, packaging
3e54474build/pkgs/pip: Update to 22.1.2
7e9722fbuild/pkgs/setuptools_scm: Update to 7.0.2, add typing_extensions as dep
6f72e8cbuild/pkgs/wheel: Update to 0.37.1
3e9d4a8Revert "build/pkgs/setuptools_scm: Update to 7.0.2, add typing_extensions as dep"
5d8111fbuild/pkgs/hatchling/SPKG.rst: Add license info
6607401src/sage/misc/package.py (pip_installed_packages): Make doctests more flexible
22f91fdMerge #33866

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Jul 3, 2022

comment:9

Opened scipy/scipy#16536 (BUG: 1.9.0rc1 fails to build on macOS when CXX="g++ -std=gnu++11")

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 3, 2022

Changed commit from 22f91fd to 02d9685

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 3, 2022

Branch pushed to git repo; I updated commit sha1. New commits:

02d9685build/pkgs/scipy/spkg-install.in: Remove all old compiler/linker settings, add workaround for https://github.com/scipy/scipy/issues/16536

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 3, 2022

Changed commit from 02d9685 to 48e6783

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 3, 2022

Branch pushed to git repo; I updated commit sha1. New commits:

48e6783build/pkgs/scipy/spkg-install.in: Relax version pinning of numpy in pyproject.toml

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Jul 3, 2022

comment:12

Build goes almost through but ends with:

[scipy-1.9.0rc1] [1569/1573] Linking target scipy/spatial/_qhull.cpython-38-darwin.so
[scipy-1.9.0rc1] [1570/1573] Compiling C++ object scipy/interpolate/_rbfinterp_pythran.cpython-38-darwin.so.p/meson-generated_..__rbfinterp_pythran.cpp.o
[scipy-1.9.0rc1] [1571/1573] Linking target scipy/interpolate/_rbfinterp_pythran.cpython-38-darwin.so
[scipy-1.9.0rc1] [1572/1573] Compiling C++ object scipy/fft/_pocketfft/pypocketfft.cpython-38-darwin.so.p/pypocketfft.cxx.o
[scipy-1.9.0rc1] [1573/1573] Linking target scipy/fft/_pocketfft/pypocketfft.cpython-38-darwin.so
[scipy-1.9.0rc1] ninja: Entering directory `/Users/mkoeppe/s/sage/sage-rebasing/local/var/lib/sage/venv-python3.8/var/tmp/sage/build/scipy-1.9.0rc1/src/.mesonpy-bo77bwb4/build'
[scipy-1.9.0rc1] [1/2] Generating scipy/generate-version with a custom command
[scipy-1.9.0rc1] [2/2] Generating scipy/generate-config with a custom command
[scipy-1.9.0rc1] Installing scipy/__config__.py to /Users/mkoeppe/s/sage/sage-rebasing/local/var/lib/sage/venv-python3.8/var/tmp/sage/build/scipy-1.9.0rc1/src/.mesonpy-bo77bwb4/install/usr/local/Cellar/[email protected]/3.8.13_1/bin/../Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages//scipy

<--- these directories are wrong

[scipy-1.9.0rc1] Installing scipy/version.py to /Users/mkoeppe/s/sage/sage-rebasing/local/var/lib/sage/venv-python3.8/var/tmp/sage/build/scipy-1.9.0rc1/src/.mesonpy-bo77bwb4/install/usr/local/Cellar/[email protected]/3.8.13_1/bin/../Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages//scipy
[scipy-1.9.0rc1] Installing scipy/_lib/_ccallback_c.cpython-38-darwin.so to /Users/mkoeppe/s/sage/sage-rebasing/local/var/lib/sage/venv-python3.8/var/tmp/sage/build/scipy-1.9.0rc1/src/.mesonpy-bo77bwb4/install/usr/local/Cellar/[email protected]/3.8.13_1/bin/../Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/scipy/_lib
[scipy-1.9.0rc1] Stripping target 'scipy/_lib/_ccallback_c.cpython-38-darwin.so'.
[scipy-1.9.0rc1] Could not strip file.
[scipy-1.9.0rc1] 
[scipy-1.9.0rc1] Stdout:
[scipy-1.9.0rc1] 
[scipy-1.9.0rc1] 
[scipy-1.9.0rc1] Stderr:
[scipy-1.9.0rc1] /Library/Developer/CommandLineTools/usr/bin/strip: error: symbols referenced by indirect symbol table entries that can't be stripped in: /Users/mkoeppe/s/sage/sage-rebasing/local/var/lib/sage/venv-python3.8/var/tmp/sage/build/scipy-1.9.0rc1/src/.mesonpy-bo77bwb4/install/usr/local/Cellar/[email protected]/3.8.13_1/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/scipy/_lib/_ccallback_c.cpython-38-darwin.so
[scipy-1.9.0rc1] _PyBytes_AsStringAndSize
[scipy-1.9.0rc1] _PyBytes_FromString
[...]
[scipy-1.9.0rc1] __Py_NoneStruct
[scipy-1.9.0rc1] __Py_TrueStruct
[scipy-1.9.0rc1] ___stack_chk_guard
[scipy-1.9.0rc1] 
[scipy-1.9.0rc1] 
[scipy-1.9.0rc1] + meson setup --native-file=/Users/mkoeppe/s/sage/sage-rebasing/local/var/lib/sage/venv-python3.8/var/tmp/sage/build/scipy-1.9.0rc1/src/.mesonpy-native-file.ini -Ddebug=false -Dstrip=true -Doptimization=2 --prefix=/usr/local/Cellar/[email protected]/3.8.13_1/bin/../Frameworks/Python.framework/Versions/3.8 /Users/mkoeppe/s/sage/sage-rebasing/local/var/lib/sage/venv-python3.8/var/tmp/sage/build/scipy-1.9.0rc1/src /Users/mkoeppe/s/sage/sage-rebasing/local/var/lib/sage/venv-python3.8/var/tmp/sage/build/scipy-1.9.0rc1/src/.mesonpy-bo77bwb4/build
[scipy-1.9.0rc1] + meson compile
[scipy-1.9.0rc1] + meson install --destdir /Users/mkoeppe/s/sage/sage-rebasing/local/var/lib/sage/venv-python3.8/var/tmp/sage/build/scipy-1.9.0rc1/src/.mesonpy-bo77bwb4/install
[scipy-1.9.0rc1] Traceback (most recent call last):
[scipy-1.9.0rc1]   File "/Users/mkoeppe/s/sage/sage-rebasing/local/var/lib/sage/venv-python3.8/lib/python3.8/site-packages/pep517/in_process/_in_process.py", line 363, in <module>
[scipy-1.9.0rc1]     main()
[scipy-1.9.0rc1]   File "/Users/mkoeppe/s/sage/sage-rebasing/local/var/lib/sage/venv-python3.8/lib/python3.8/site-packages/pep517/in_process/_in_process.py", line 345, in main
[scipy-1.9.0rc1]     json_out['return_val'] = hook(**hook_input['kwargs'])
[scipy-1.9.0rc1]   File "/Users/mkoeppe/s/sage/sage-rebasing/local/var/lib/sage/venv-python3.8/lib/python3.8/site-packages/pep517/in_process/_in_process.py", line 261, in build_wheel
[scipy-1.9.0rc1]     return _build_backend().build_wheel(wheel_directory, config_settings,
[scipy-1.9.0rc1]   File "/Users/mkoeppe/s/sage/sage-rebasing/local/var/lib/sage/venv-python3.8/lib/python3.8/site-packages/mesonpy/__init__.py", line 837, in build_wheel
[scipy-1.9.0rc1]     return project.wheel(out).name
[scipy-1.9.0rc1]   File "/Users/mkoeppe/s/sage/sage-rebasing/local/var/lib/sage/venv-python3.8/lib/python3.8/site-packages/mesonpy/__init__.py", line 786, in wheel
[scipy-1.9.0rc1]     wheel = _WheelBuilder(self).build(self._install_plan, self._copy_files, self._build_dir)
[scipy-1.9.0rc1]   File "/Users/mkoeppe/s/sage/sage-rebasing/local/var/lib/sage/venv-python3.8/lib/python3.8/site-packages/mesonpy/__init__.py", line 318, in build
[scipy-1.9.0rc1]     self._project.build()  # ensure project is built
[scipy-1.9.0rc1]   File "/Users/mkoeppe/s/sage/sage-rebasing/local/var/lib/sage/venv-python3.8/lib/python3.8/site-packages/mesonpy/__init__.py", line 482, in build
[scipy-1.9.0rc1]     self._meson('install', '--destdir', os.fspath(self._install_dir))
[scipy-1.9.0rc1]   File "/Users/mkoeppe/s/sage/sage-rebasing/local/var/lib/sage/venv-python3.8/lib/python3.8/site-packages/mesonpy/__init__.py", line 430, in _meson
[scipy-1.9.0rc1]     return self._proc('meson', *args)
[scipy-1.9.0rc1]   File "/Users/mkoeppe/s/sage/sage-rebasing/local/var/lib/sage/venv-python3.8/lib/python3.8/site-packages/mesonpy/__init__.py", line 426, in _proc
[scipy-1.9.0rc1]     subprocess.check_call(list(args))
[scipy-1.9.0rc1]   File "/usr/local/Cellar/[email protected]/3.8.13_1/Frameworks/Python.framework/Versions/3.8/lib/python3.8/subprocess.py", line 364, in check_call
[scipy-1.9.0rc1]     raise CalledProcessError(retcode, cmd)
[scipy-1.9.0rc1] subprocess.CalledProcessError: Command '['meson', 'install', '--destdir', '/Users/mkoeppe/s/sage/sage-rebasing/local/var/lib/sage/venv-python3.8/var/tmp/sage/build/scipy-1.9.0rc1/src/.mesonpy-bo77bwb4/install']' returned non-zero exit status 1.
[scipy-1.9.0rc1] * Getting dependencies for wheel...
[scipy-1.9.0rc1] * Building wheel...
[scipy-1.9.0rc1] 
[scipy-1.9.0rc1] ERROR Backend subprocess exited when trying to invoke build_wheel

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Jul 3, 2022

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 3, 2022

Branch pushed to git repo; I updated commit sha1. New commits:

9b41154build/pkgs/meson_python/patches: Add https://github.com/FFY00/meson-python/pull/90

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 3, 2022

Changed commit from 48e6783 to 9b41154

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Jul 3, 2022

comment:15

That fixes it, and now I get

[scipy-1.9.0rc1] Successfully built scipy-1.9.0rc1-cp38-cp38-macosx_12_x86_64.whl
[scipy-1.9.0rc1] WARNING: Skipping scipy as it is not installed.
[scipy-1.9.0rc1] Using pip 22.1.2 from /Users/mkoeppe/s/sage/sage-rebasing/local/var/lib/sage/venv-python3.8/lib/python3.8/site-packages/pip (python 3.8)
[scipy-1.9.0rc1] Looking in links: /Users/mkoeppe/s/sage/sage-rebasing/local/var/lib/sage/venv-python3.8/var/lib/sage/wheels
[scipy-1.9.0rc1] ERROR: scipy-1.9.0rc1-cp38-cp38-macosx_12_x86_64.whl is not a supported wheel on this platform.

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Jul 3, 2022

comment:16

After renaming it from ...macosx_12... to ...macosx_12_0..., the wheel can be installed

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Jul 3, 2022

comment:17

That's now https://github.com/FFY00/meson-python/issues/91

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Jul 3, 2022

Changed dependencies from #32423, #33789, #33866 to #32423, #33789, #33866, #34110

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Jul 3, 2022

Author: Matthias Koeppe

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Oct 24, 2022

comment:113

Yes, there are known failures of the meson-python test suite on some platforms.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Oct 24, 2022

Branch pushed to git repo; I updated commit sha1. New commits:

79eccefbuild/make/Makefile.in: Only warn if meson_python testsuite fails

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Oct 24, 2022

Changed commit from 3897adb to 79eccef

@vbraun
Copy link
Member

vbraun commented Oct 31, 2022

comment:116

Doesn't seem to work, testsuite still fails with hard error

[meson_python-0.10.0] =========================== short test summary info ============================
[meson_python-0.10.0] FAILED tests/test_wheel.py::test_scipy_like - AssertionError: assert {'mypkg-...
[meson_python-0.10.0] ERROR tests/test_wheel.py::test_local_lib - subprocess.CalledProcessError: Co...
[meson_python-0.10.0] ERROR tests/test_wheel.py::test_detect_wheel_tag_module - subprocess.CalledPr...
[meson_python-0.10.0] ERROR tests/test_wheel.py::test_rpath - subprocess.CalledProcessError: Comman...
[meson_python-0.10.0] ERROR tests/test_wheel.py::test_uneeded_rpath - subprocess.CalledProcessError...
[meson_python-0.10.0] ============== 1 failed, 46 passed, 2 xfailed, 4 errors in 48.55s ==============
[meson_python-0.10.0] 
[meson_python-0.10.0] real	0m49.034s
[meson_python-0.10.0] user	0m36.548s
[meson_python-0.10.0] sys	0m3.388s
[meson_python-0.10.0] ************************************************************************
[meson_python-0.10.0] Error testing package meson_python-0.10.0
[meson_python-0.10.0] ************************************************************************
[meson_python-0.10.0] Please email sage-devel (http://groups.google.com/group/sage-devel)
[meson_python-0.10.0] explaining the problem and including the log files
[meson_python-0.10.0]   /var/lib/buildbot/slave/sage_git/build/logs/pkgs/meson_python-0.10.0.log
[meson_python-0.10.0] and
[meson_python-0.10.0]   /var/lib/buildbot/slave/sage_git/build/config.log
[meson_python-0.10.0] Describe your computer, operating system, etc.
[meson_python-0.10.0] If you want to try to fix the problem yourself, *don't* just cd to
[meson_python-0.10.0] /var/lib/buildbot/slave/sage_git/build/local/var/lib/sage/venv-python3.10.8/var/tmp/sage/build/meson_python-0.10.0 and type 'make check' or whatever is appropriate.
[meson_python-0.10.0] Instead, the following commands setup all environment variables
[meson_python-0.10.0] correctly and load a subshell for you to debug the error:
[meson_python-0.10.0]   (cd '/var/lib/buildbot/slave/sage_git/build/local/var/lib/sage/venv-python3.10.8/var/tmp/sage/build/meson_python-0.10.0' && '/var/lib/buildbot/slave/sage_git/build/sage' --buildsh)
[meson_python-0.10.0] When you are done debugging, you can type "exit" to leave the subshell.
[meson_python-0.10.0] ************************************************************************
Makefile:3079: recipe for target 'meson_python-SAGE_VENV-no-deps' failed
make[4]: *** [meson_python-SAGE_VENV-no-deps] Error 1
Makefile:3079: recipe for target '/var/lib/buildbot/slave/sage_git/build/local/var/lib/sage/venv-python3.10.8/var/lib/sage/installed/meson_python-0.10.0' failed
make[3]: *** [/var/lib/buildbot/slave/sage_git/build/local/var/lib/sage/venv-python3.10.8/var/lib/sage/installed/meson_python-0.10.0] Error 2
make[3]: Target 'all-sage' not remade because of errors.
Makefile:2735: recipe for target 'all-build' failed
make[2]: *** [all-build] Error 2
make[2]: Target 'build-start' not remade because of errors.
make[2]: Leaving directory '/var/lib/buildbot/slave/sage_git/build/build/make'

@vbraun
Copy link
Member

vbraun commented Oct 31, 2022

comment:117

The buildbot has

SAGE_CHECK_PACKAGES=!gsl,!givaro,!python2,!python3,!yasm,!zeromq,!curl,!arb,!cython,!cvxopt,!cmake,!networkx,!r,!nose,!normaliz,!rpy2,!giac,!openssl,!flint
SAGE_CHECK=yes

so I'm guessing the SAGE_CHECK_PACKAGES_DEFAULT_yes aren't merged in but overwritten? Is that the desired behavior?

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Oct 31, 2022

comment:118

Yes, by setting this environment variable, you are overriding the defaults. This works as intended.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Oct 31, 2022

Changed commit from 79eccef to 853a699

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Oct 31, 2022

Branch pushed to git repo; I updated commit sha1 and set ticket back to needs_review. New commits:

853a699Merge tag '9.8.beta3' into t/34081/numpy_1_23_x__scipy_1_9_x

@vbraun
Copy link
Member

vbraun commented Nov 7, 2022

comment:121

Install fails on OSX Catalina with

  [1216/1224] scipy/io/arff/tests/data/test7.arff
  [1217/1224] scipy/io/arff/tests/data/test8.arff
  [1218/1224] scipy/io/arff/tests/data/test9.arff
  [1219/1224] scipy/io/_harwell_boeing/__init__.py
  [1220/1224] scipy/io/_harwell_boeing/_fortran_format_parser.py
  [1221/1224] scipy/io/_harwell_boeing/hb.py
  [1222/1224] scipy/io/_harwell_boeing/tests/__init__.py
  [1223/1224] scipy/io/_harwell_boeing/tests/test_fortran_format.py
  [1224/1224] scipy/io/_harwell_boeing/tests/test_hb.py
  Preparing metadata (pyproject.toml): finished with status 'done'
Building wheels for collected packages: scipy
  Building wheel for scipy (pyproject.toml): started
  Running command Building wheel for scipy (pyproject.toml)
  Building wheel for scipy (pyproject.toml): finished with status 'done'
  Created wheel for scipy: filename=scipy-1.9.2-cp310-cp310-macosx_10_15_7_x86_64.whl size=23108774 sha256=879e2b49697cfab5f3ade64070cd1e4190bab808a13ddf592a2ad2019c1798a0
  Stored in directory: /private/tmp/pip-ephem-wheel-cache-xb5awkgq/wheels/48/64/0a/04a7b283865a80737d531abd1c9cf4c8b45e2c32c4e8771b91
Successfully built scipy
WARNING: Skipping scipy as it is not installed.
Using pip 22.3 from /Users/buildbot-sage/slave/sage_git/build/local/var/lib/sage/venv-python3.10.8/lib/python3.10/site-packages/pip (python 3.10)
Looking in links: /Users/buildbot-sage/slave/sage_git/build/local/var/lib/sage/venv-python3.10.8/var/lib/sage/wheels
ERROR: scipy-1.9.2-cp310-cp310-macosx_10_15_7_x86_64.whl is not a supported wheel on this platform.
Warning: installing with "python3 -m pip install --verbose --no-index --find-links=/Users/buildbot-sage/slave/sage_git/build/local/var/lib/sage/venv-python3.10.8/var/lib/sage/wheels --disable-pip-version-check --isolated --no-cache-dir" failed. Retrying, adding "--no-deps --ignore-installed --ignore-requires-python"
Using pip 22.3 from /Users/buildbot-sage/slave/sage_git/build/local/var/lib/sage/venv-python3.10.8/lib/python3.10/site-packages/pip (python 3.10)
Looking in links: /Users/buildbot-sage/slave/sage_git/build/local/var/lib/sage/venv-python3.10.8/var/lib/sage/wheels
ERROR: scipy-1.9.2-cp310-cp310-macosx_10_15_7_x86_64.whl is not a supported wheel on this platform.
Error: installing with pip  failed
********************************************************************************
Error installing scipy-1.9.2-cp310-cp310-macosx_10_15_7_x86_64.whl
********************************************************************************

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Nov 7, 2022

comment:122

I have reported it upstream at mesonbuild/meson-python#160 (comment) but at some point (maybe now?) we'll have to drop support for Catalina. It's no longer supported by Apple IIRC, and also scheduled for removal on GH Actions.

Also homebrew no longer supports it - https://github.com/sagemath/sage/actions/runs/3355189832/jobs/5559268353

Warning: You are using macOS 10.15.
We (and Apple) do not provide support for this old version.
It is expected behaviour that some formulae will fail to build in this old version.
It is expected behaviour that Homebrew will be buggy and slow.
Do not create any issues about this on Homebrew's GitHub repositories.
Do not create any issues even if you think this message is unrelated.
Any opened issues will be immediately closed without response.
Do not ask for help from MacHomebrew on Twitter.
You may ask for help in Homebrew's discussions but are unlikely to receive a response.
Try to figure out the problem yourself and submit a fix as a pull request.
We will review it but may or may not accept it.

@vbraun
Copy link
Member

vbraun commented Nov 15, 2022

Changed branch from u/mkoeppe/numpy_1_23_x__scipy_1_9_x to 853a699

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Nov 23, 2022

Changed commit from 853a699 to none

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Nov 23, 2022

comment:124

Replying to Antonio Rojas:

Replying to @antonio-rojas:

I suppose this is caused by our openblas not including lapack symbols. Our distro package is fine since we haven't switched to meson (yet)

Indeed, building with -Dlapack=lapack fixes this when building the distro package with meson. Not sure how to fix this in sage.

I've opened #34779 for this

kryzar pushed a commit to kryzar/sage that referenced this issue Feb 6, 2023
kryzar pushed a commit to kryzar/sage that referenced this issue Feb 6, 2023
kryzar pushed a commit to kryzar/sage that referenced this issue Feb 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants