--
You received this message because you are subscribed to a topic in the Google Groups "sage-devel" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sage-devel/-ASHfAXqVYo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sage-devel+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/sage-devel/Z-sy8YjThruYJN7H%40mertle.
What was the original intent behind having the dual requirements of (i) a system python and (ii) a SPKG python both in Sage? What (once upon a time) did having a SKPG do that couldn't/shouldn't/wouldn't be done by the system python?
In general, it could make sage less accessible to a mathematician who uses only sage, maybe only through the notebook, never python otherwise. I am not against it, but it may need some caution, not to increase the barrier to use sage for the non-developers.
Would that mean that users (like me) will have to downgrade python provided by their distribution at times - or to learn how to use multiple version of python? Maybe documentation of what is recommended for this would be necessary. In general, it could make sage less accessible to a mathematician who uses only sage, maybe only through the notebook, never python otherwise. I am not against it, but it may need some caution, not to increase the barrier to use sage for the non-developers.Chris
--
You received this message because you are subscribed to a topic in the Google Groups "sage-devel" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sage-devel/-ASHfAXqVYo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sage-devel+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/sage-devel/71d713db-ee03-42db-acb8-258c785c4294n%40googlegroups.com.
On Thu, Apr 3, 2025 at 3:48 PM Marc Culler <marc....@gmail.com> wrote:
>
> This will unnecessarily make it more difficult to build the Sage_mac OS binary package. In order to make that package easy to install in the way that normal macOS users expect, it must be signed and notarized. In order to notarize the package it must be self-contained.
>
> Not signing and notarizing the package would break it. So would requiring users to install a particular version of python.
Somebody will update the Sage macOS binary package preparation process
to install Python in a self-contained way, so that you can sign and
notarize it.
There are other ways to install Python instead of
building Python from source using our recipe
I just followed
https://docs.astral.sh/uv/guides/install-python/#reinstalling-python
to install Python 3.12 from that project on MacOS and ended up with
this working python (in a matter of seconds):
How much space does the Python that is included with Sage take? I
wonder if it is more than 48 MB.
Let's work with the wider python community (way, way) more and
leverage some of the great innovation and work that is happening,
rather than ignoring it.
--
You received this message because you are subscribed to a topic in the Google Groups "sage-devel" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sage-devel/-ASHfAXqVYo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sage-devel+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/sage-devel/75629f0f-59fe-4680-9151-ab3d673566fdn%40googlegroups.com.
On Thu, Apr 3, 2025 at 7:06 PM Trevor Karn <trevor...@gmail.com> wrote:
>
> Maybe we can all take a breath here. Everyone here is passionate about making Sage as good as it can be. This seems to be getting a bit too heated right now.
>
+1 - I just wanted to offer some helpful links and support, and now I
feel like I'm being "flame baited. I'm out.
To view this discussion visit https://groups.google.com/d/msgid/sage-devel/CACLE5GAsvDby%3DQMz6im%2BOJw4rkDn%3DswBUzaQw8x6LN5%3DGH_K%2BA%40mail.gmail.com.
Dima started this thread because he believes that the Python spkg in Sage is making the support he's providing users harder. Marc believes that this change would make his work more difficult. As a community, we need to make a decision about what to do with this proposal, but rather than thinking about it as picking a side, we should think about what the costs are on each side and how we can help mitigate them and help Dima and Marc.
Concretely, Dima, can you expand a bit on how the Python spkg was complicating the build situation here? Marc, what would be involved in building a signed Mac app if we needed to include Python in another way than an spkg?
I appreciate what both of you are doing, as I'm sure that everyone else does as well.
You received this message because you are subscribed to a topic in the Google Groups "sage-devel" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sage-devel/-ASHfAXqVYo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sage-devel+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/sage-devel/CACLE5GDk43NLmKaZ4v1t-ZY3%2Beoybs3a7%3DahFRh%2Bj8TPkuwqjg%40mail.gmail.com.
vishalshahi@Vishals-MacBook-Air-2 pkgs % sudo less /Users/vishalshahi/Desktop/sage/sage/logs/pkgs/python3-3.12.5.log
Password:
[spkg-build] Could not build the ssl module!
[spkg-build] Python requires a OpenSSL 1.1.1 or newer
[spkg-build]
[spkg-build] Checked 111 modules (31 built-in, 75 shared, 2 n/a on macosx-15.3-arm64, 0 disabled, 3 missing, 0 failed on import)
[spkg-build] Testing importing of various modules...
[spkg-build] ctypes module imported OK
[spkg-build] math module imported OK
[spkg-build] hashlib module imported OK
[spkg-build] <string>:1: DeprecationWarning: 'crypt' is deprecated and slated for removal in Python 3.13
[spkg-build] crypt module imported OK
[spkg-build] socket module imported OK
[spkg-build] zlib module imported OK
[spkg-build] sqlite3 module imported OK
[spkg-build] Traceback (most recent call last):
[spkg-build] File "<string>", line 1, in <module>
[spkg-build] File "/Users/vishalshahi/Desktop/sage/sage/local/var/lib/sage/venv-python3.12.5/var/tmp/sage/build/python3-3.12.5/src/Lib/ssl.py", line 100, in <module>
[spkg-build] import _ssl # if we can't import it, let the error propagate
[spkg-build] ^^^^^^^^^^^
[spkg-build] ModuleNotFoundError: No module named '_ssl'
[spkg-build] ssl module failed to import
[spkg-build] _scproxy module imported OK
[spkg-build] Error: One or more modules failed to import.
************************************************************************
Error building package python3-3.12.5
************************************************************************
Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem and including the log files
/Users/vishalshahi/Desktop/sage/sage/logs/pkgs/python3-3.12.5.log
and
/Users/vishalshahi/Desktop/sage/sage/config.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/Users/vishalshahi/Desktop/sage/sage/local/var/lib/sage/venv-python3.12.5/var/tmp/sage/build/python3-3.12.5 and type 'make' or whatever is appropriate.
Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
(cd '/Users/vishalshahi/Desktop/sage/sage/local/var/lib/sage/venv-python3.12.5/var/tmp/sage/build/python3-3.12.5' && '/Users/vishalshahi/Desktop/sage/sage/sage' --buildsh)
When you are done debugging, you can type "exit" to leave the subshell.
************************************************************************
real 2m19.398s user 1m25.244s sys 0m23.402s
(END)
---------- Forwarded message ---------
From: <dim...@gmail.com>
Date: Sun, Mar 30, 2025 at 11:54 AM
Subject: Re: [sage-devel] Error Building Sage
To: 'Vishal Shahi 4-Yr B.Tech.: Electronics Engg., IIT(BHU)' via
sage-devel <sage-...@googlegroups.com>
On Sun, Mar 30, 2025 at 10:39:53AM +0530, 'Vishal Shahi 4-Yr B.Tech.:
Electronics Engg., IIT(BHU)' via sage-devel wrote:
> Even after installing gsl from brew it still shows that gsl will be
> installed as no system package detected what to do ?
it's detected all right, but it depends on openblas, which is already
installed (and mixing 2 openblas installs is bad). Your log says:
openblas: SPKG version 0.3.28 is already installed
So, as your log says:
Checking whether SageMath should install SPKG gsl...
checking whether any of openblas is installed as or will be installed as
SPKG... yes; install gsl as well
Please run
make distclean
and then re-run
./configure
This should result in using both system-wide openblas and gsl.
> vishalshahi@Vishals-MacBook-Air-2 sage % brew reinstall gsl && source
> /Users/vishalshahi/Desktop/sage/sage/.homebrew-build-env
> ==> Downloading https://ghcr.io/v2/homebrew/core/gsl/manifests/2.8
> Already downloaded:
> /Users/vishalshahi/Library/Caches/Homebrew/downloads/fd4485cda398f5fdecc616106f261ea2cd84987bc3f02422a1ae0fc0b5c6451a--gsl-2.8.bottle_manifest.json
> ==> Fetching gsl
> ==> Downloading
> https://ghcr.io/v2/homebrew/core/gsl/blobs/sha256:52e3fe781b19bd2d88986005309b2d81a2af60d17a8b3dbc3d5cad4ae2c
> Already downloaded:
> /Users/vishalshahi/Library/Caches/Homebrew/downloads/4dbb9c0506a701ad627c5cab95e17f2124ee45d5dce44b752dad124e25ad85cf--gsl--2.8.arm64_sequoia.bottle.tar.gz
> ==> Reinstalling gsl
> ==> Pouring gsl--2.8.arm64_sequoia.bottle.tar.gz
> 🍺 /opt/homebrew/Cellar/gsl/2.8: 292 files, 10.2MB
> ==> Running `brew cleanup gsl`...
> Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
> Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
> AFTER THIS I RAN make reconfigure
>
> Checking whether SageMath should install SPKG distlib...
> configure: SPKG distlib is not required on this system
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG libatomic_ops...
> checking for atomic_ops >= 7.6.2... yes
> configure: will use system package and not install SPKG libatomic_ops
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG gc...
> checking whether any of libatomic_ops is installed as or will be installed
> as SPKG... no
> checking whether we run on WSL... no
> checking for bdw-gc-threaded >= 7.6.4... no
> checking for bdw-gc >= 7.6.4... yes
> configure: will use system package and not install SPKG gc
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG ecl...
> checking whether any of gcc gc gmp is installed as or will be installed as
> SPKG... no
> checking for ecl-config... /opt/homebrew/bin/ecl-config
> configure: will use system package and not install SPKG ecl
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG ntl...
> checking whether any of gmp gcc is installed as or will be installed as
> SPKG... no
> checking for NTL/ZZ.h... yes
> checking whether we can link a program using NTL... yes
> checking NTL version >= 10.3... yes
> configure: will use system package and not install SPKG ntl
> checking absolute name of <NTL/ZZ.h>... checking for NTL/ZZ.h... (cached)
> yes
> ///opt/homebrew/opt/ntl/include/NTL/ZZ.h
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG ncurses...
> checking for ncurses >= 6.0... yes
> configure: will use system package and not install SPKG ncurses
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG readline...
> checking Installing ncurses? ... No.
> checking for readline >= 6.0... yes
> configure: will use system package and not install SPKG readline
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG pari...
> configure: pari has already been installed by SageMath
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG mpfr...
> checking whether any of gmp is installed as or will be installed as SPKG...
> no
> checking for mpfr.h... yes
> checking for library containing mpfr_cmpabs_ui... -lmpfr
> configure: will use system package and not install SPKG mpfr
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG flint...
> configure: flint has already been installed by SageMath
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG eclib...
> configure: eclib has already been installed by SageMath
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG ecm...
> configure: ecm has already been installed by SageMath
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG givaro...
> configure: givaro has already been installed by SageMath
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG fflas_ffpack...
> checking whether any of givaro gmp openblas is installed as or will be
> installed as SPKG... yes; install fflas_ffpack as well
> configure: no suitable system package found for SPKG fflas_ffpack
> checking whether C++ compiler accepts -mavx512f -mavx512vl -mavx512dq... yes
> checking whether C++ compiler accepts -mfma... yes
> checking whether C++ compiler accepts -mfma4... yes
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG ffmpeg...
> checking for ffmpeg... /opt/homebrew/bin/ffmpeg
> configure: will use system package and not install SPKG ffmpeg
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG filelock...
> configure: SPKG filelock is not required on this system
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG fplll...
> checking whether any of gcc mpfr is installed as or will be installed as
> SPKG... no
> checking for fplll >= 5.4.5 fplll <= 5.4.5... no
> configure: no suitable system package found for SPKG fplll
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG free_fonts...
> checking for FreeSerif.ttf... no
> checking for FreeSerif.otf... no
> configure: no suitable system package found for SPKG free_fonts
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG freetype...
> checking whether any of gcc libpng is installed as or will be installed as
> SPKG... no
> checking for freetype2 >= 20.0... yes
> configure: will use system package and not install SPKG freetype
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG fricas...
> checking for FriCAS >= 1.3.8...
> configure: no suitable system package found for SPKG fricas
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG gap...
> configure: gap has already been installed by SageMath
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG gengetopt...
> checking for gengetopt... /opt/homebrew/bin/gengetopt
> configure: will use system package and not install SPKG gengetopt
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG gf2x...
> checking for gf2x >= 1.2... no
> checking for gf2x.h... no
> checking for library containing gf2x_mul_r... no
> configure: no suitable system package found for SPKG gf2x
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG gfan...
> checking for gfan >= 0.6.2...
> configure: no suitable system package found for SPKG gfan
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG giac...
> checking whether any of pari is installed as or will be installed as
> SPKG... yes; install giac as well
> configure: no suitable system package found for SPKG giac
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG git...
> checking for git... /opt/homebrew/bin/git
> configure: will use system package and not install SPKG git
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG gp2c...
> checking whether any of pari is installed as or will be installed as
> SPKG... yes; install gp2c as well
> configure: pari.cfg is $SAGE_LOCAL/lib/pari/pari.cfg
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG graphviz...
> checking for dot... dot
> checking for neato... neato
> checking for twopi... twopi
> configure: will use system package and not install SPKG graphviz
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG gsl...
> checking whether any of openblas is installed as or will be installed as
> SPKG... yes; install gsl as well
> configure: no suitable system package found for SPKG gsl
> checking 32-bit host C ABI... no
> checking for egrep -e... /usr/bin/grep -E
> checking for ELF binary format... no
> checking for the common suffixes of directories in the library search
> path... lib,lib,lib
> checking for iconv... yes
> checking for working iconv... yes
> checking how to link with libiconv... -liconv
> checking whether iconv is compatible with its POSIX signature... yes
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG iconv...
> configure: will use system package and not install SPKG iconv
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG igraph...
> checking whether any of glpk openblas gmp is installed as or will be
> installed as SPKG... yes; install igraph as well
> configure: no suitable system package found for SPKG igraph
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG imagemagick...
> checking for convert... /opt/homebrew/bin/convert
> configure: will use system package and not install SPKG imagemagick
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG iml...
> checking whether any of gmp openblas is installed as or will be installed
> as SPKG... yes; install iml as well
> configure: no suitable system package found for SPKG iml
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG info...
> checking for info... /opt/homebrew/opt/texinfo/bin/info
> checking for texi2any... /opt/homebrew/opt/texinfo/bin/texi2any
> configure: will use system package and not install SPKG info
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG isl...
> checking whether any of gmp is installed as or will be installed as SPKG...
> no
> checking for isl >= 0.20... yes
> configure: will use system package and not install SPKG isl
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG lcalc...
> checking whether any of pari is installed as or will be installed as
> SPKG... yes; install lcalc as well
> configure: no suitable system package found for SPKG lcalc
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG libbraiding...
> checking if we can link against libbraiding... no
> configure: no suitable system package found for SPKG libbraiding
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG libffi...
> checking for libffi... yes
> configure: will use system package and not install SPKG libffi
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG libgd...
> checking whether any of gcc libpng freetype is installed as or will be
> installed as SPKG... no
> checking for gdlib >= 2.1... yes
> configure: will use system package and not install SPKG libgd
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG libgraphviz...
> checking for graphviz/cgraph.h... yes
> configure: will use system package and not install SPKG libgraphviz
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG libhomfly...
> checking whether any of gc is installed as or will be installed as SPKG...
> no
> checking for homfly.h... no
> configure: no suitable system package found for SPKG libhomfly
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG libjpeg...
> checking for libjpeg... yes
> configure: will use system package and not install SPKG libjpeg
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG xz...
> configure: SPKG xz is not required on this system
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG liblzma...
> checking whether any of xz is installed as or will be installed as SPKG...
> no
> checking for lzma_raw_decoder in -llzma... yes
> checking for lzma.h... yes
> configure: will use system package and not install SPKG liblzma
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG nauty...
> checking for geng... /opt/homebrew/bin/geng
> checking for directg... /opt/homebrew/bin/directg
> checking for gentourng... /opt/homebrew/bin/gentourng
> checking for geng... /opt/homebrew/bin/geng
> checking for genbg... /opt/homebrew/bin/genbg
> checking for gentreeg... /opt/homebrew/bin/gentreeg
> checking for genktreeg... /opt/homebrew/bin/genktreeg
> checking for genposetg... /opt/homebrew/bin/genposetg
> configure: will use system package and not install SPKG nauty
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG libnauty...
> checking whether any of nauty is installed as or will be installed as
> SPKG... no
> checking for nauty/nauty.h... yes
> checking for library containing densenauty... -lnauty
> configure: will use system package and not install SPKG libnauty
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG libsemigroups...
> checking for libsemigroups >= 0.6.7... no
> configure: no suitable system package found for SPKG libsemigroups
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG libxml2...
> checking for xml2-config... /usr/bin/xml2-config
> configure: will use system package and not install SPKG libxml2
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG m4rie...
> checking whether any of m4ri is installed as or will be installed as
> SPKG... yes; install m4rie as well
> configure: no suitable system package found for SPKG m4rie
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG linbox...
> checking whether any of fflas_ffpack flint fplll givaro gmp iml m4ri m4rie
> mpfr ntl is installed as or will be installed as SPKG... yes; install
> linbox as well
> configure: no suitable system package found for SPKG linbox
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG llvm...
> configure: will use system package and not install SPKG llvm
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG lrcalc...
> checking for lrcalc/schublib.h... no
> checking for lrcalc/lrcoef.h... no
> configure: no suitable system package found for SPKG lrcalc
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG lrslib...
> checking whether any of gmp flint is installed as or will be installed as
> SPKG... yes; install lrslib as well
> configure: no suitable system package found for SPKG lrslib
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG mathjax...
> checking for MathJax-3.x... no
> configure: no suitable system package found for SPKG mathjax
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG maxima...
> checking whether any of ecl is installed as or will be installed as SPKG...
> no
> checking for Maxima >= $5.45.0... /opt/homebrew/bin/maxima
> checking if ECL can "require" the maxima module... no
> configure: no suitable system package found for SPKG maxima
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG meson...
> checking for meson >= 1.2.3... /opt/homebrew/bin/meson
> configure: will use system package and not install SPKG meson
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG mpc...
> checking whether any of mpfr is installed as or will be installed as
> SPKG... no
> checking for MPC >= 1.2.1... yes
> checking for library containing mpc_sum... -lmpc
> configure: will use system package and not install SPKG mpc
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG mpfi...
> checking whether any of mpfr is installed as or will be installed as
> SPKG... no
> checking for mpfi.h... yes
> checking for library containing mpfi_diam_abs... -lmpfi
> checking MPFI version >= 1.5... yes
> configure: will use system package and not install SPKG mpfi
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG msolve...
> checking for msolve >= 0.6.5... no
> checking for msolve... could not find working msolve
>
> configure: no suitable system package found for SPKG msolve
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG ninja_build...
> checking for ninja >= 1.8.2... /opt/homebrew/bin/ninja
> configure: will use system package and not install SPKG ninja_build
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG onetbb...
> checking whether oneTBB >= 2018 is available... yes
> configure: will use system package and not install SPKG onetbb
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG python3...
> checking whether any of bzip2 liblzma libffi zlib is installed as or will
> be installed as SPKG... no
> checking for python3 >= 3.9.0, < 3.13.0 with modules sqlite3, ctypes, math,
> hashlib, socket, zlib, ssl, ensurepip and setuptools/distutils...
> checking ... whether /opt/homebrew/bin/python3 is good... no, Python 3.13.2
> is too recent
> checking ... whether
> /Library/Frameworks/Python.framework/Versions/3.12/bin/python3 is good...
> no, the version is in the supported range but cannot import one of the
> required modules: sqlite3, ctypes, math, hashlib, socket, zlib, ssl,
> ensurepip, setuptools, setuptools.extension
> checking ... whether /usr/local/bin/python3 is good... no, the version is
> in the supported range but cannot import one of the required modules:
> sqlite3, ctypes, math, hashlib, socket, zlib, ssl, ensurepip, setuptools,
> setuptools.extension
> checking ... whether /usr/bin/python3 is good... yes
> checking for python3 >= 3.9.0, < 3.13.0 with modules sqlite3, ctypes, math,
> hashlib, socket, zlib, ssl, ensurepip... /usr/bin/python3
> configure: will use system package and not install SPKG python3
> checking whether /usr/bin/python3 is configured to build multiarch
> extensions... yes; disabling it by setting ARCHFLAGS
> checking whether "-march=native" works with the C/C++ compilers configured
> for building extensions for /usr/bin/python3... yes
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG openssl...
> configure: SPKG openssl is not required on this system
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG palp...
> checking for poly.x... no
> checking for poly-4d.x... no
> checking for poly-5d.x... no
> checking for poly-6d.x... no
> checking for poly-11d.x... no
> checking for class.x... no
> checking for class-4d.x... no
> checking for class-5d.x... no
> checking for class-6d.x... no
> checking for class-11d.x... no
> checking for nef.x... no
> checking for nef-4d.x... no
> checking for nef-5d.x... no
> checking for nef-6d.x... no
> checking for nef-11d.x... no
> checking for cws.x... no
> checking for cws-4d.x... no
> checking for cws-5d.x... no
> checking for cws-6d.x... no
> checking for cws-11d.x... no
> configure: no suitable system package found for SPKG palp
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG pandoc...
> checking for pandoc... /opt/homebrew/bin/pandoc
> configure: will use system package and not install SPKG pandoc
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG pari_elldata...
> checking installing pari? ... yes; install pari_elldata as well
> configure: no suitable system package found for SPKG pari_elldata
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG pari_galdata...
> configure: pari_galdata has already been installed by SageMath
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG pari_galpol...
> checking installing pari? ... yes; install pari_galpol as well
> configure: no suitable system package found for SPKG pari_galpol
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG pari_nftables...
> checking installing pari? ... yes; install pari_nftables as well
> configure: no suitable system package found for SPKG pari_nftables
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG pari_seadata...
> checking installing pari? ... yes; install pari_seadata as well
> configure: no suitable system package found for SPKG pari_seadata
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG pari_seadata_small...
> configure: pari_seadata_small has already been installed by SageMath
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG patch...
> configure: patch has already been installed by SageMath
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG patchelf...
> checking for patchelf... /opt/homebrew/bin/patchelf
> configure: will use system package and not install SPKG patchelf
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG pdf2svg...
> checking for pdf2svg... /opt/homebrew/bin/pdf2svg
> configure: will use system package and not install SPKG pdf2svg
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG perl_cpan_polymake_prereq...
> checking for perl module XML::Writer... no
> checking for perl module XML::LibXML... no
> checking for perl module XML::LibXSLT... no
> checking for perl module File::Slurp... no
> checking for perl module JSON... no
> checking for perl module SVG... no
> checking for perl module Term::ReadKey... no
> configure: no suitable system package found for SPKG
> perl_cpan_polymake_prereq
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG perl_mongodb...
> checking for perl module MongoDB... no
> configure: no suitable system package found for SPKG perl_mongodb
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG perl_term_readline_gnu...
> checking for perl module Term::ReadLine... ok
> checking Term::ReadLine module...... non-GNU
> configure: no suitable system package found for SPKG perl_term_readline_gnu
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG pkgconf...
> configure: will use system package and not install SPKG pkgconf
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG planarity...
> checking for planarity/planarity.h... no
> configure: no suitable system package found for SPKG planarity
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG polymake...
> checking for polymake-config >= 3.5... /opt/homebrew/bin/polymake-config
> checking whether libpolymake works... no
> configure: no suitable system package found for SPKG polymake
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG ppl...
> checking whether any of gcc glpk gmp is installed as or will be installed
> as SPKG... no
> checking for ppl-config... /opt/homebrew/bin/ppl-config
> checking for the Parma Polyhedra Library, version >= 1.2... yes
> configure: will use system package and not install SPKG ppl
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG primesieve...
> checking for primesieve >= 8.0... yes
> configure: will use system package and not install SPKG primesieve
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG primecount...
> checking whether any of primesieve is installed as or will be installed as
> SPKG... no
> checking for primecount >= 7.1... yes
> configure: will use system package and not install SPKG primecount
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG qhull...
> checking for qhull... /opt/homebrew/bin/qhull
> checking whether qhull's version is good enough... yes
> checking for libqhull_r/libqhull_r.h... yes
> checking for library containing qh_distplane... -lqhull_r
> configure: will use system package and not install SPKG qhull
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG rw...
> checking for rw.h... no
> checking for library containing calculate_level... no
> configure: no suitable system package found for SPKG rw
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG sbcl...
> checking for sbcl >= 1.4.16... /opt/homebrew/bin/sbcl
> configure: will use system package and not install SPKG sbcl
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG singular...
> checking whether any of gmp ntl flint readline mpfr cddlib is installed as
> or will be installed as SPKG... yes; install singular as well
> configure: no suitable system package found for SPKG singular
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG sqlite...
> configure: SPKG sqlite is not required on this system
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG suitesparse...
> checking whether any of openblas is installed as or will be installed as
> SPKG... yes; install suitesparse as well
> configure: no suitable system package found for SPKG suitesparse
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG symengine...
> checking whether any of gmp ecm flint mpc mpfr is installed as or will be
> installed as SPKG... yes; install symengine as well
> configure: no suitable system package found for SPKG symengine
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG symmetrica...
> checking for symmetrica/def.h... no
> configure: no suitable system package found for SPKG symmetrica
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG sympow...
> checking for sympow... no
> configure: no suitable system package found for SPKG sympow
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG tachyon...
> checking for tachyon... no
> configure: tachyon not found. Installing tachyon
> configure: no suitable system package found for SPKG tachyon
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG texlive...
> checking for pdflatex... no
> checking for latexmk... no
> checking for dvipng... no
> checking for latex package fontspec... no
> checking for latex package xunicode... no
> checking for latex package xltxtra... no
> checking for latex package amssymb... no
> checking for latex package amsfonts... no
> checking for latex package graphicx... no
> checking for latex package mathrsfs... no
> checking for latex package textcomp... no
> checking for latex package tikz... no
> checking for latex package tikz-qtree... no
> checking for latex package iftex... no
> checking for latex package tkz-berge... no
> checking for latex package tkz-graph... no
> checking for latex package xy... no
> checking for latex package babel... no
> checking for latex package subfigure... no
> checking for latex package hyperref... no
> checking for latex package hypcap... no
> checking for latex package xr... no
> checking for latex package tgtermes... no
> checking for latex package fncychap... no
> configure: no suitable system package found for SPKG texlive
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG texlive_luatex...
> checking for luaotfload-main.lua... no
> configure: no suitable system package found for SPKG texlive_luatex
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG xindy...
> checking for xindy... no
> configure: no suitable system package found for SPKG xindy
> -----------------------------------------------------------------------------
> Checking whether SageMath should install SPKG zeromq...
> checking whether any of gcc is installed as or will be installed as SPKG...
> no
> checking for zmq.h... yes
> checking for ZMQ version >= 4.2.5... yes
> configure: will use system package and not install SPKG zeromq
> ## -----------------------------------------------------------------------
> ##
> ## Build status for each package:
> ##
> ## -----------------------------------------------------------------------
> ##
> 4ti2: no suitable system package; optional, use
> "./configure --enable-4ti2" to install SPKG version 1.6.10
> admcycles: no; optional pip package; use "./sage -i
> admcycles" to install
> alabaster: no; standard, SPKG version 0.7.16 will be
> installed
> anyio: no; standard, SPKG version 4.4.0 will be
> installed
> appdirs: not required on your platform; SPKG will
> not be installed
> appnope: no; standard, SPKG version 0.1.4 will be
> installed
> argon2_cffi: no; standard, SPKG version 21.3.0 will be
> installed
> argon2_cffi_bindings: no; standard, SPKG version 21.2.0 will be
> installed
> arrow: no; standard, SPKG version 1.3.0 will be
> installed
> asttokens: no; standard, SPKG version 2.4.1 will be
> installed
> async_lru: no; standard, SPKG version 2.0.4 will be
> installed
> attrs: no; standard, SPKG version 23.2.0 will be
> installed
> auditwheel_or_delocate: no; optional pip package; use "./sage -i
> auditwheel_or_delocate" to install
> awali: experimental, use "./configure
> --enable-awali" to install SPKG version 1.0.2-190218
> babel: no; standard, SPKG version 2.14.0 will be
> installed
> barvinok: experimental, use "./configure
> --enable-barvinok" to install SPKG version 0.41.7
> beautifulsoup4: no; standard, SPKG version 4.12.2 will be
> installed
> beniget: no; standard, SPKG version 0.4.1 will be
> installed
> benzene: optional, use "./configure
> --enable-benzene" to install SPKG version 20130630
> biopython: no; optional pip package; use "./sage -i
> biopython" to install
> bleach: no; standard, SPKG version 6.1.0 will be
> installed
> bliss: no suitable system package; optional, use
> "./configure --enable-bliss" to install SPKG version 0.77
> boost_cropped: using system package; SPKG will not be
> installed
> brial: SPKG version 1.2.8 is already installed
> buckygen: optional, use "./configure
> --enable-buckygen" to install SPKG version 1.1
> bzip2: using system package; SPKG will not be
> installed
> cachetools: not required on your platform; SPKG will
> not be installed
> calver: no; standard, SPKG version 2022.6.26 will
> be installed
> cbc: no suitable system package; optional, use
> "./configure --enable-cbc" to install SPKG version 2.9.4.p0
> ccache: optional, use "./configure --enable-ccache"
> to install SPKG version 3.3.4
> cddlib: using system package; SPKG will not be
> installed
> certifi: no; standard, SPKG version 2024.2.2 will be
> installed
> cffi: no; standard, SPKG version 1.15.1 will be
> installed
> chardet: not required on your platform; SPKG will
> not be installed
> charset_normalizer: no; standard, SPKG version 3.3.2 will be
> installed
> clarabel: optional pip package; use "./sage -i
> clarabel" to install
> cliquer: SPKG version 1.22 is already installed
> cmake: using system package; SPKG will not be
> installed
> cocoalib: experimental, use "./configure
> --enable-cocoalib" to install SPKG version 0.99564
> colorama: not required on your platform; SPKG will
> not be installed
> combinatorial_designs: standard, SPKG version 20140630.p0 is
> already installed
> comm: no; standard, SPKG version 0.1.4 will be
> installed
> configure: base, use "./configure --enable-configure"
> to install SPKG version f6ad0ecf1f4a269f5954d5487336b13f70624594
> contourpy: no; standard, SPKG version 1.1.1 will be
> installed
> conway_polynomials: no; standard, SPKG version 0.10 will be
> installed
> coxeter3: no suitable system package; optional, use
> "./configure --enable-coxeter3" to install SPKG version
> 8ac9c71723c8ca57a836d6381aed125261e44e9e.p0
> cppy: no; standard, SPKG version 1.2.1 will be
> installed
> csdp: optional, use "./configure --enable-csdp"
> to install SPKG version 6.2.p1
> cunningham_tables: optional, use "./configure
> --enable-cunningham_tables" to install SPKG version 1.0
> curl: using system package; SPKG will not be
> installed
> cvxopt: no suitable system package; standard, SPKG
> version 1.3.2 will be installed
> cvxpy: no; optional, use "./configure
> --enable-cvxpy" to install SPKG version 1.4.1
> cycler: no; standard, SPKG version 0.11.0 will be
> installed
> cylp: no; optional, use "./configure
> --enable-cylp" to install SPKG version 0.92.2
> cypari: no suitable system package; standard, SPKG
> version 2.2.0 will be installed
> cysignals: no; standard, SPKG version 1.11.4 will be
> installed
> cython: no; standard, SPKG version 3.0.11 will be
> installed
> d3js: optional, use "./configure --enable-d3js"
> to install SPKG version 3.4.8
> database_cremona_ellcurve: optional, use "./configure
> --enable-database_cremona_ellcurve" to install SPKG version 20190911
> database_cubic_hecke: no; optional, use "./configure
> --enable-database_cubic_hecke" to install SPKG version 2022.4.4
> database_jones_numfield: optional, use "./configure
> --enable-database_jones_numfield" to install SPKG version 4
> database_knotinfo: no; optional, use "./configure
> --enable-database_knotinfo" to install SPKG version 2024.10.1
> database_kohel: optional, use "./configure
> --enable-database_kohel" to install SPKG version 20160724
> database_mutation_class: optional, use "./configure
> --enable-database_mutation_class" to install SPKG version 1.0
> database_odlyzko_zeta: optional, use "./configure
> --enable-database_odlyzko_zeta" to install SPKG version 20061209
> database_stein_watkins: optional, use "./configure
> --enable-database_stein_watkins" to install SPKG version 20110713
> database_stein_watkins_mini: optional, use "./configure
> --enable-database_stein_watkins_mini" to install SPKG version 20070827
> database_symbolic_data: optional, use "./configure
> --enable-database_symbolic_data" to install SPKG version 20070206
> dateutil: no; standard, SPKG version 2.9.0.post0 will
> be installed
> debugpy: no; standard, SPKG version 1.8.1 will be
> installed
> decorator: no; standard, SPKG version 5.1.1 will be
> installed
> deformation: experimental, use "./configure
> --enable-deformation" to install SPKG version 20210503
> defusedxml: no; standard, SPKG version 0.7.1 will be
> installed
> distlib: not required on your platform; SPKG will
> not be installed
> docutils: no; standard, SPKG version 0.21.2 will be
> installed
> dot2tex: no; optional, use "./configure
> --enable-dot2tex" to install SPKG version 2.11.3.p0
> dsdp: optional, use "./configure --enable-dsdp"
> to install SPKG version 5.8
> e_antic: optional, use "./configure
> --enable-e_antic" to install SPKG version 2.0.2
> ecl: using system package; SPKG will not be
> installed
> eclib: SPKG version 20231212 is already installed
> ecm: SPKG version 7.0.6 is already installed
> ecos_python: no; optional, use "./configure
> --enable-ecos_python" to install SPKG version 2.0.12
> editables: no; standard, SPKG version 0.5 will be
> installed
> elliptic_curves: standard, SPKG version 0.8.1 will be
> installed
> entrypoints: no; standard, SPKG version 0.4 will be
> installed
> exceptiongroup: no; standard, SPKG version 1.2.2 will be
> installed
> execnet: standard, SPKG version 2.1.1 will be
> installed
> executing: no; standard, SPKG version 2.0.1 will be
> installed
> fastjsonschema: no; standard, SPKG version 2.18.0 will be
> installed
> fflas_ffpack: no suitable system package; standard, SPKG
> version 2.5.0+sage-2024-05-18b will be installed
> ffmpeg: using system package
> filelock: not required on your platform; SPKG will
> not be installed
> flint: SPKG version 3.1.3 is already installed
> flit_core: no; standard, SPKG version 3.9.0 will be
> installed
> fonttools: no; standard, SPKG version 4.42.1 will be
> installed
> fplll: no suitable system package; standard, SPKG
> version 5.4.5 will be installed
> fpylll: no suitable system package; standard, SPKG
> version 0.6.1 will be installed
> fqdn: no; standard, SPKG version 1.5.1 will be
> installed
> free_fonts: no suitable system package; optional
> freetype: using system package; SPKG will not be
> installed
> fricas: no suitable system package; optional, use
> "./configure --enable-fricas" to install SPKG version 1.3.11
> frobby: optional, use "./configure --enable-frobby"
> to install SPKG version 0.9.0.p2
> furo: no; standard, SPKG version 2024.7.18 will
> be installed
> gap: SPKG version 4.13.1 is already installed
> gap3: experimental, use "./configure
> --enable-gap3" to install SPKG version 04jul17
> gap_jupyter: no; optional, use "./configure
> --enable-gap_jupyter" to install SPKG version 0.9
> gap_packages: optional, use "./configure
> --enable-gap_packages" to install SPKG version 4.13.1
> gast: no; standard, SPKG version 0.5.4 will be
> installed
> gc: using system package; SPKG will not be
> installed
> gcc: using system package; SPKG will not be
> installed
> gdb: optional
> gengetopt: using system package; SPKG will not be
> installed
> gf2x: no suitable system package; standard, SPKG
> version 1.3.0 will be installed
> gfan: no suitable system package; standard, SPKG
> version 0.6.2.p1 will be installed
> gfortran: using system package; SPKG will not be
> installed
> giac: no suitable system package; standard, SPKG
> version 1.9.0.15p0 will be installed
> git: using system package
> github_cli: optional
> gitpython: no; optional pip package; use "./sage -i
> gitpython" to install
> givaro: SPKG version 4.2.0 is already installed
> glpk: using system package; SPKG will not be
> installed
> glucose: optional, use "./configure
> --enable-glucose" to install SPKG version 4.1
> gmp: using system package; SPKG will not be
> installed
> gmpy2: no; standard, SPKG version 2.2.0a1 will be
> installed
> gnulib: standard, SPKG version
> f9b39c4e337f1dc0dd07c4f3985c476fb875d799 will be installed
> gnumake_tokenpool: standard, SPKG version 0.0.7 will be
> installed
> gp2c: no suitable system package; optional, use
> "./configure --enable-gp2c" to install SPKG version 0.0.10.p0
> graphs: standard, SPKG version 20210214.p0 will be
> installed
> graphviz: using system package
> gsl: no suitable system package; standard, SPKG
> version 2.7.1 will be installed
> h11: standard, SPKG version 0.14.0 will be
> installed
> hatchling: no; standard, SPKG version 1.25.0 will be
> installed
> httpcore: no; standard, SPKG version 1.0.5 will be
> installed
> httpx: no; standard, SPKG version 0.27.0 will be
> installed
> hypothesis: optional pip package; use "./sage -i
> hypothesis" to install
> iconv: using system package
> idna: no; standard, SPKG version 3.7 will be
> installed
> igraph: no suitable system package; optional, use
> "./configure --enable-igraph" to install SPKG version 0.10.12
> imagemagick: using system package
> imagesize: no; standard, SPKG version 1.4.1 will be
> installed
> iml: no suitable system package; standard, SPKG
> version 1.0.4p2.p2 will be installed
> importlib_metadata: no; standard, SPKG version 7.0.1 will be
> installed
> importlib_resources: no; standard, SPKG version 6.1.1 will be
> installed
> info: using system package; SPKG will not be
> installed
> iniconfig: standard, SPKG version 2.0.0 will be
> installed
> ipykernel: no; standard, SPKG version 6.27.1 will be
> installed
> ipympl: no; standard, SPKG version 0.9.3 will be
> installed
> ipython: no; standard, SPKG version 8.18.1 will be
> installed
> ipython_genutils: no; standard, SPKG version 0.2.0 will be
> installed
> ipywidgets: no; standard, SPKG version 8.1.1 will be
> installed
> isl: using system package; SPKG will not be
> installed
> isoduration: no; standard, SPKG version 20.11.0 will be
> installed
> jedi: no; standard, SPKG version 0.19.1 will be
> installed
> jinja2: no; standard, SPKG version 3.1.4 will be
> installed
> jmol: optional, use "./configure --enable-jmol"
> to install SPKG version 14.29.52
> json5: no; standard, SPKG version 0.9.14 will be
> installed
> jsonpointer: no; standard, SPKG version 2.4 will be
> installed
> jsonschema: no; standard, SPKG version 4.17.3 will be
> installed
> jsonschema_specifications: no; standard, SPKG version 2023.3.3 will be
> installed
> jupymake: no; optional, use "./configure
> --enable-jupymake" to install SPKG version 0.9
> jupyter_client: no; standard, SPKG version 8.3.1 will be
> installed
> jupyter_core: no; standard, SPKG version 5.3.2 will be
> installed
> jupyter_events: no; standard, SPKG version 0.6.3 will be
> installed
> jupyter_jsmol: no; optional, use "./configure
> --enable-jupyter_jsmol" to install SPKG version 2022.1.0
> jupyter_lsp: no; standard, SPKG version 2.2.0 will be
> installed
> jupyter_server: no; standard, SPKG version 2.7.3 will be
> installed
> jupyter_server_terminals: no; standard, SPKG version 0.4.4 will be
> installed
> jupyter_sphinx: no; standard, SPKG version 0.5.3.p0 will be
> installed
> jupyterlab: no; standard, SPKG version 4.1.3 will be
> installed
> jupyterlab_mathjax2: no; standard, SPKG version 4.0.0 will be
> installed
> jupyterlab_pygments: no; standard, SPKG version 0.2.2 will be
> installed
> jupyterlab_server: no; standard, SPKG version 2.24.0 will be
> installed
> jupyterlab_widgets: no; standard, SPKG version 3.0.9 will be
> installed
> kenzo: optional, use "./configure --enable-kenzo"
> to install SPKG version 1.1.10
> kissat: optional, use "./configure --enable-kissat"
> to install SPKG version 3.1.0
> kiwisolver: no; standard, SPKG version 1.4.5 will be
> installed
> latte_int: optional, use "./configure
> --enable-latte_int" to install SPKG version 1.7.6
> lcalc: no suitable system package; standard, SPKG
> version 2.0.5 will be installed
> libatomic_ops: using system package; SPKG will not be
> installed
> libbraiding: no suitable system package; standard, SPKG
> version 1.2 will be installed
> libffi: using system package; SPKG will not be
> installed
> libgd: using system package; SPKG will not be
> installed
> libgraphviz: using system package
> libhomfly: no suitable system package; standard, SPKG
> version 1.02r6 will be installed
> libjpeg: using system package
> liblzma: using system package; SPKG will not be
> installed
> libnauty: using system package; SPKG will not be
> installed
> libogg: optional, use "./configure --enable-libogg"
> to install SPKG version 1.3.1.p0
> libpng: using system package; SPKG will not be
> installed
> libsemigroups: no suitable system package; optional, use
> "./configure --enable-libsemigroups" to install SPKG version 2.7.3
> libtheora: experimental, use "./configure
> --enable-libtheora" to install SPKG version 1.1.1
> libxml2: using system package
> lidia: optional, use "./configure --enable-lidia"
> to install SPKG version 2.3.0+latte-patches-2019-05-02
> lie: experimental, use "./configure
> --enable-lie" to install SPKG version 2.2.2
> linbox: no suitable system package; standard, SPKG
> version 1.7.0+sage-2024-05-18 will be installed
> llvm: not required on your platform
> lrcalc: no suitable system package; standard, SPKG
> version 2.1 will be installed
> lrcalc_python: no; standard, SPKG version 2.1 will be
> installed
> lrslib: no suitable system package; optional, use
> "./configure --enable-lrslib" to install SPKG version
> 071b+autotools-2021-07-13
> m4ri: SPKG version 20200125 is already installed
> m4rie: no suitable system package; standard, SPKG
> version 20200125 will be installed
> markupsafe: no; standard, SPKG version 2.1.5 will be
> installed
> mathics: no; optional pip package; use "./sage -i
> mathics" to install
> mathjax: no suitable system package; standard, SPKG
> version 3.2.0 will be installed
> matplotlib: no; standard, SPKG version 3.8.0 will be
> installed
> matplotlib_inline: no; standard, SPKG version 0.1.6 will be
> installed
> matroid_database: optional, use "./configure
> --enable-matroid_database" to install SPKG version 0.3
> maxima: no suitable system package; standard, SPKG
> version 5.47.0 will be installed
> mcqd: optional, use "./configure --enable-mcqd"
> to install SPKG version 1.0.p0
> meataxe: optional, use "./configure
> --enable-meataxe" to install SPKG version 1.0.1
> memory_allocator: no; standard, SPKG version 0.1.4 will be
> installed
> meson: using system package; SPKG will not be
> installed
> meson_python: no; standard, SPKG version 0.15.0 will be
> installed
> mistune: no; standard, SPKG version 2.0.4 will be
> installed
> modular_decomposition: experimental, use "./configure
> --enable-modular_decomposition" to install SPKG version 20100607
> modular_resolution: optional, use "./configure
> --enable-modular_resolution" to install SPKG version 1.1
> mpc: using system package; SPKG will not be
> installed
> mpfi: using system package; SPKG will not be
> installed
> mpfr: using system package; SPKG will not be
> installed
> mpfrcx: optional, use "./configure --enable-mpfrcx"
> to install SPKG version 0.6.3
> mpmath: no; standard, SPKG version 1.3.0 will be
> installed
> msolve: no suitable system package; optional, use
> "./configure --enable-msolve" to install SPKG version 0.6.5
> nauty: using system package; SPKG will not be
> installed
> nbclient: no; standard, SPKG version 0.8.0 will be
> installed
> nbconvert: no; standard, SPKG version 7.9.2 will be
> installed
> nbformat: no; standard, SPKG version 5.9.2 will be
> installed
> ncurses: using system package; SPKG will not be
> installed
> nest_asyncio: no; standard, SPKG version 1.6.0 will be
> installed
> networkx: no; standard, SPKG version 3.2.1 will be
> installed
> nibabel: no; optional pip package; use "./sage -i
> nibabel" to install
> ninja_build: using system package; SPKG will not be
> installed
> normaliz: optional, use "./configure
> --enable-normaliz" to install SPKG version 3.10.3
> notebook: no; standard, SPKG version 7.1.1 will be
> installed
> notebook_shim: no; standard, SPKG version 0.2.3 will be
> installed
> notedown: no; optional, use "./configure
> --enable-notedown" to install SPKG version 1.5.1
> ntl: using system package; SPKG will not be
> installed
> numpy: no suitable system package; standard, SPKG
> version 1.26.3 will be installed
> onetbb: using system package; SPKG will not be
> installed
> openblas: SPKG version 0.3.28 is already installed
> openssl: not required on your platform; SPKG will
> not be installed
> ore_algebra: no; optional pip package; use "./sage -i
> ore_algebra" to install
> osqp_python: no; optional, use "./configure
> --enable-osqp_python" to install SPKG version 0.6.3
> overrides: no; standard, SPKG version 7.4.0 will be
> installed
> p_group_cohomology: no; optional, use "./configure
> --enable-p_group_cohomology" to install SPKG version 3.3.3.p1
> packaging: no; standard, SPKG version 24.1 will be
> installed
> palp: no suitable system package; standard, SPKG
> version 2.11 will be installed
> pandoc: using system package
> pandoc_attributes: no; optional, use "./configure
> --enable-pandoc_attributes" to install SPKG version 8bc82f6d
> pandocfilters: no; standard, SPKG version 1.5.0 will be
> installed
> papilo: optional, use "./configure --enable-papilo"
> to install SPKG version 2.2.1
> pari: SPKG version 2.15.5 is already installed
> pari_elldata: no suitable system package; optional, use
> "./configure --enable-pari_elldata" to install SPKG version 20161017
> pari_galdata: SPKG version 20080411.p0 is already
> installed
> pari_galpol: no suitable system package; optional, use
> "./configure --enable-pari_galpol" to install SPKG version 20180625
> pari_jupyter: no; optional, use "./configure
> --enable-pari_jupyter" to install SPKG version 1.4.3
> pari_nftables: no suitable system package; optional, use
> "./configure --enable-pari_nftables" to install SPKG version 20080929
> pari_seadata: no suitable system package; optional, use
> "./configure --enable-pari_seadata" to install SPKG version 20090618
> pari_seadata_small: SPKG version 20090618.p0 is already
> installed
> parso: no; standard, SPKG version 0.8.4 will be
> installed
> patch: SPKG version 2.7.6 is already installed
> patchelf: using system package; SPKG will not be
> installed
> pathspec: no; standard, SPKG version 0.12.1 will be
> installed
> pdf2svg: using system package
> perl_cpan_polymake_prereq: no suitable system package; optional
> perl_mongodb: no suitable system package; optional
> perl_term_readline_gnu: no suitable system package; optional, use
> "./configure --enable-perl_term_readline_gnu" to install SPKG version 1.35
> pexpect: no; standard, SPKG version 4.9.0 will be
> installed
> phitigra: no; optional pip package; use "./sage -i
> phitigra" to install
> pickleshare: no; standard, SPKG version 0.7.5 will be
> installed
> pillow: no; standard, SPKG version 10.1.0 will be
> installed
> pip: no; standard, SPKG version 24.2 is already
> installed
> pkgconf: using system package; SPKG will not be
> installed
> pkgconfig: no; standard, SPKG version 1.5.5 will be
> installed
> planarity: no suitable system package; standard, SPKG
> version 3.0.1.0 will be installed
> plantri: optional, use "./configure
> --enable-plantri" to install SPKG version 5.3
> platformdirs: no; standard, SPKG version 4.2.2 will be
> installed
> pluggy: no; standard, SPKG version 1.5.0 will be
> installed
> ply: no; standard, SPKG version 3.11 will be
> installed
> polylib: experimental, use "./configure
> --enable-polylib" to install SPKG version 5.22.5
> polymake: no suitable system package; optional, use
> "./configure --enable-polymake" to install SPKG version 4.12
> polytopes_db: standard, SPKG version 20170220.p0 will be
> installed
> polytopes_db_4d: optional, use "./configure
> --enable-polytopes_db_4d" to install SPKG version 1.0
> ppl: using system package; SPKG will not be
> installed
> pplpy: no suitable system package; standard, SPKG
> version 0.8.9 will be installed
> pplpy_doc: standard, SPKG version 0.8.9 will be
> installed
> primecount: using system package; SPKG will not be
> installed
> primecountpy: no suitable system package; standard, SPKG
> version 0.1.0 will be installed
> primesieve: using system package; SPKG will not be
> installed
> prometheus_client: no; standard, SPKG version 0.14.1 will be
> installed
> prompt_toolkit: no; standard, SPKG version 3.0.43 will be
> installed
> psutil: no; standard, SPKG version 5.9.6 will be
> installed
> ptyprocess: no; standard, SPKG version 0.7.0 will be
> installed
> pure_eval: no; standard, SPKG version 0.2.2 will be
> installed
> py: no; standard, SPKG version 1.11.0 will be
> installed
> pybind11: no; standard, SPKG version 2.11.1 will be
> installed
> pybtex: no; optional pip package; use "./sage -i
> pybtex" to install
> pycosat: no; optional, use "./configure
> --enable-pycosat" to install SPKG version 0.6.3
> pycparser: no; standard, SPKG version 2.22 will be
> installed
> pycryptosat: no; optional pip package; use "./sage -i
> pycryptosat" to install
> pygments: no; standard, SPKG version 2.18.0 will be
> installed
> pygraphviz: no; optional pip package; use "./sage -i
> pygraphviz" to install
> pynormaliz: no; optional, use "./configure
> --enable-pynormaliz" to install SPKG version 2.20
> pyparsing: no; standard, SPKG version 3.1.2 will be
> installed
> pyppeteer: no; optional pip package; use "./sage -i
> pyppeteer" to install
> pyproject_api: no; standard, SPKG version 1.7.1 will be
> installed
> pyproject_hooks: standard, SPKG version 1.1.0 will be
> installed
> pyproject_metadata: no; standard, SPKG version 0.8.0 will be
> installed
> pyrsistent: no; standard, SPKG version 0.19.3 will be
> installed
> pyscipopt: no; optional, use "./configure
> --enable-pyscipopt" to install SPKG version 5.0.0
> pysingular: no; optional, use "./configure
> --enable-pysingular" to install SPKG version 0.9.7
> pytest: no; standard, SPKG version 8.3.2 will be
> installed
> pytest_mock: no; standard, SPKG version 3.14.0 will be
> installed
> pytest_xdist: no; standard, SPKG version 3.6.1 will be
> installed
> python3: using system package; SPKG will not be
> installed
> python_build: no; standard, SPKG version 1.2.1 will be
> installed
> python_flint: optional, use "./configure
> --enable-python_flint" to install SPKG version 0.6.0
> python_igraph: no; optional, use "./configure
> --enable-python_igraph" to install SPKG version 0.11.5
> python_json_logger: no; standard, SPKG version 2.0.7 will be
> installed
> pythran: no; standard, SPKG version 0.15.0 will be
> installed
> pytz: no; standard, SPKG version 2023.3.post1
> will be installed
> pytz_deprecation_shim: no; standard, SPKG version 0.1.0.post0 will
> be installed
> pyx: no; optional pip package; use "./sage -i
> pyx" to install
> pyyaml: no; standard, SPKG version 6.0.1 will be
> installed
> pyzmq: no; standard, SPKG version 25.1.1 will be
> installed
> qdldl_python: no; optional, use "./configure
> --enable-qdldl_python" to install SPKG version 0.1.5.post3
> qepcad: optional, use "./configure --enable-qepcad"
> to install SPKG version 1.74
> qhull: using system package; SPKG will not be
> installed
> r: optional
> r_jupyter: experimental, use "./configure
> --enable-r_jupyter" to install SPKG version none
> readline: using system package; SPKG will not be
> installed
> referencing: no; standard, SPKG version 0.23.0 will be
> installed
> requests: no; standard, SPKG version 2.32.2 will be
> installed
> rfc3339_validator: no; standard, SPKG version 0.1.4 will be
> installed
> rfc3986_validator: no; standard, SPKG version 0.1.1 will be
> installed
> rpy2: not required on your platform; SPKG will
> not be installed
> rst2ipynb: no; optional, use "./configure
> --enable-rst2ipynb" to install SPKG version 0.2.3
> rubiks: optional, use "./configure --enable-rubiks"
> to install SPKG version 20070912.p21
> rw: no suitable system package; standard, SPKG
> version 0.9 will be installed
> saclib: optional, use "./configure --enable-saclib"
> to install SPKG version 2.2.8
> sage_conf: standard, SPKG version 10.5 will be
> installed
> sage_docbuild: standard, SPKG version 10.5 will be
> installed
> sage_flatsurf: optional pip package; use "./sage -i
> sage_flatsurf" to install
> sage_numerical_backends_coin: optional, use "./configure
> --enable-sage_numerical_backends_coin" to install SPKG version 10.4
> sage_numerical_backends_cplex: optional, use "./configure
> --enable-sage_numerical_backends_cplex" to install SPKG version 10.4
> sage_numerical_backends_gurobi: optional, use "./configure
> --enable-sage_numerical_backends_gurobi" to install SPKG version 10.4
> sage_setup: standard, SPKG version 10.5 will be
> installed
> sage_sws2rst: optional, use "./configure
> --enable-sage_sws2rst" to install SPKG version 10.5
> sagelib: no; standard, SPKG version 10.5 will be
> installed
> sagemath_bliss: optional, use "./configure
> --enable-sagemath_bliss" to install SPKG version 10.5
> sagemath_categories: optional, use "./configure
> --enable-sagemath_categories" to install SPKG version 10.5
> sagemath_coxeter3: optional, use "./configure
> --enable-sagemath_coxeter3" to install SPKG version 10.5
> sagemath_doc_html: standard, SPKG will be installed
> sagemath_doc_pdf: optional, use "./configure
> --enable-sagemath_doc_pdf" to install SPKG version none
> sagemath_environment: optional, use "./configure
> --enable-sagemath_environment" to install SPKG version 10.5
> sagemath_mcqd: optional, use "./configure
> --enable-sagemath_mcqd" to install SPKG version 10.5
> sagemath_meataxe: optional, use "./configure
> --enable-sagemath_meataxe" to install SPKG version 10.5
> sagemath_objects: optional, use "./configure
> --enable-sagemath_objects" to install SPKG version 10.5
> sagemath_repl: optional, use "./configure
> --enable-sagemath_repl" to install SPKG version 10.5
> sagemath_sirocco: optional, use "./configure
> --enable-sagemath_sirocco" to install SPKG version 10.5
> sagemath_tdlib: optional, use "./configure
> --enable-sagemath_tdlib" to install SPKG version 10.5
> sagenb_export: no; standard, SPKG version 3.3 will be
> installed
> sagetex: no; standard, SPKG version 3.6.1 will be
> installed
> sbcl: using system package
> scip: optional, use "./configure --enable-scip"
> to install SPKG version 9.0.1
> scip_sdp: optional, use "./configure
> --enable-scip_sdp" to install SPKG version 4.3.0
> scipy: no suitable system package; standard, SPKG
> version 1.12.0 will be installed
> scs: no; optional, use "./configure
> --enable-scs" to install SPKG version 3.2.3
> send2trash: no; standard, SPKG version 1.8.3 will be
> installed
> setuptools: no; standard, SPKG version 73.0.1 will be
> installed
> setuptools_scm: no; standard, SPKG version 8.1.0 will be
> installed
> singular: no suitable system package; standard, SPKG
> version 4.4.0 will be installed
> singular_jupyter: no; optional, use "./configure
> --enable-singular_jupyter" to install SPKG version 0.9.7
> sirocco: optional, use "./configure
> --enable-sirocco" to install SPKG version 2.1.0
> six: no; standard, SPKG version 1.16.0 will be
> installed
> slabbe: no; optional pip package; use "./sage -i
> slabbe" to install
> snappy: no; optional pip package; use "./sage -i
> snappy" to install
> sniffio: no; standard, SPKG version 1.3.1 will be
> installed
> snowballstemmer: no; standard, SPKG version 2.2.0 will be
> installed
> soplex: optional, use "./configure --enable-soplex"
> to install SPKG version 7.0.1
> soupsieve: no; standard, SPKG version 2.5 will be
> installed
> sphinx: no; standard, SPKG version 7.4.7 will be
> installed
> sphinx_basic_ng: no; standard, SPKG version 1.0.0b2 will be
> installed
> sphinx_copybutton: no; standard, SPKG version 0.5.2 will be
> installed
> sphinx_inline_tabs: no; standard, SPKG version 2023.4.21 will
> be installed
> sphinxcontrib_applehelp: no; standard, SPKG version 1.0.8 will be
> installed
> sphinxcontrib_devhelp: no; standard, SPKG version 1.0.6 will be
> installed
> sphinxcontrib_htmlhelp: no; standard, SPKG version 2.0.5 will be
> installed
> sphinxcontrib_jsmath: no; standard, SPKG version 1.0.1 will be
> installed
> sphinxcontrib_qthelp: no; standard, SPKG version 1.0.7 will be
> installed
> sphinxcontrib_serializinghtml: no; standard, SPKG version 1.1.10 will be
> installed
> sphinxcontrib_websupport: no; standard, SPKG version 1.2.7 will be
> installed
> sqlalchemy: no; optional pip package; use "./sage -i
> sqlalchemy" to install
> sqlite: not required on your platform; SPKG will
> not be installed
> stack_data: no; standard, SPKG version 0.6.3 will be
> installed
> suitesparse: no suitable system package; standard, SPKG
> version 7.8.0 will be installed
> surf: experimental, use "./configure
> --enable-surf" to install SPKG version 1.0.6-gcc6
> surface_dynamics: no; optional pip package; use "./sage -i
> surface_dynamics" to install
> symengine: no suitable system package; optional, use
> "./configure --enable-symengine" to install SPKG version 0.11.2
> symengine_py: no; optional, use "./configure
> --enable-symengine_py" to install SPKG version 0.11.0
> symmetrica: no suitable system package; standard, SPKG
> version 3.0.1 will be installed
> sympow: no suitable system package; standard, SPKG
> version 2.023.6 will be installed
> sympy: no; standard, SPKG version 1.13.2 will be
> installed
> tachyon: no suitable system package; standard, SPKG
> version 0.99.5.p0 will be installed
> tdlib: optional, use "./configure --enable-tdlib"
> to install SPKG version 0.9.3.p0
> terminado: no; standard, SPKG version 0.17.1 will be
> installed
> texlive: no suitable system package; optional, use
> "./configure --enable-texlive" to install SPKG version none
> texlive_luatex: no suitable system package; optional
> texttable: no; optional, use "./configure
> --enable-texttable" to install SPKG version 1.7.0
> threejs: standard, SPKG version r122.p0 will be
> installed
> tides: optional, use "./configure --enable-tides"
> to install SPKG version 2.0.p0
> tinycss2: no; standard, SPKG version 1.2.1 will be
> installed
> tomli: no; standard, SPKG version 2.0.1 will be
> installed
> topcom: optional, use "./configure --enable-topcom"
> to install SPKG version 1.1.2
> tornado: no; standard, SPKG version 6.4 will be
> installed
> tox: using system package; SPKG will not be
> installed
> traitlets: no; standard, SPKG version 5.14.3 will be
> installed
> trove_classifiers: no; standard, SPKG version 2024.7.2 will be
> installed
> types_python_dateutil: no; standard, SPKG version 2.9.0.20240316
> will be installed
> typing_extensions: no; standard, SPKG version 4.12.2 will be
> installed
> tzdata: standard, SPKG version 2023.3 will be
> installed
> tzlocal: no; standard, SPKG version 5.0.1 will be
> installed
> uri_template: no; standard, SPKG version 1.3.0 will be
> installed
> urllib3: no; standard, SPKG version 2.1.0 will be
> installed
> valgrind: optional
> virtualenv: not required on your platform; SPKG will
> not be installed
> wcwidth: no; standard, SPKG version 0.2.12 will be
> installed
> webcolors: no; standard, SPKG version 1.13 will be
> installed
> webencodings: no; standard, SPKG version 0.5.1 will be
> installed
> websocket_client: no; standard, SPKG version 1.6.4 will be
> installed
> wheel: no; standard, SPKG version 0.44.0 will be
> installed
> widgetsnbextension: no; standard, SPKG version 4.0.9 will be
> installed
> xindy: no suitable system package; optional
> xz: not required on your platform; SPKG will
> not be installed
> zeromq: using system package; SPKG will not be
> installed
> zipp: no; standard, SPKG version 3.19.0 will be
> installed
> zlib: using system package; SPKG will not be
> installed
> checking that generated files are newer than configure... done
> configure: creating ./config.status
> configure:
>
> notice: the following SPKGs did not find equivalent system packages:
>
> cvxopt cypari fflas_ffpack fplll fpylll gf2x gfan giac gsl iml
> lcalc libbraiding libhomfly linbox lrcalc m4rie mathjax maxima numpy palp
> planarity pplpy primecountpy rw scipy singular suitesparse symmetrica
> sympow tachyon 4ti2 _develop _recommended bliss cbc coxeter3 free_fonts
> fricas gp2c igraph libsemigroups lrslib msolve pari_elldata pari_galpol
> pari_nftables pari_seadata perl_cpan_polymake_prereq perl_mongodb
> perl_term_readline_gnu polymake symengine texlive texlive_luatex xindy
>
> checking for the package system in use... (ignoring conda because no
> environment is active) homebrew
> configure:
>
> hint: installing the following system packages, if not
> already present, is recommended and may avoid having to
> build them (though some may have to be built anyway):
>
> $ brew install fplll gsl maxima singular suite-sparse
>
> Homebrew can issue suggestions regarding keg-only packages.
> The following command is to automatically apply these suggestions
> for packages relevant for Sage to make them available for the build.
> Run it once to apply the suggestions for the current session.
> Add it to your shell profile to apply them for all future sessions.
>
> $ source /Users/vishalshahi/Desktop/sage/sage/.homebrew-build-env
>
> configure:
>
> hint: installing the following system packages, if not
> already present, may provide additional optional features:
>
> $ brew install gnupg texinfo cbc igraph apaffenholz/polymake/polymake
> symengine
>
> Homebrew can issue suggestions regarding keg-only packages.
> The following command is to automatically apply these suggestions
> for packages relevant for Sage to make them available for the build.
> Run it once to apply the suggestions for the current session.
> Add it to your shell profile to apply them for all future sessions.
>
> $ source /Users/vishalshahi/Desktop/sage/sage/.homebrew-build-env
>
> configure:
>
> hint: After installation, re-run configure using:
>
> $ make reconfigure
>
> config.status: creating build/make/Makefile-auto
> config.status: creating build/make/Makefile
> config.status: creating src/bin/sage-env-config
> config.status: creating src/bin/sage-src-env-config
> config.status: creating build/bin/sage-build-env-config
> config.status: creating pkgs/sage-conf/_sage_conf/_conf.py
> config.status: executing depfiles commands
> config.status: executing mkdirs commands
> config.status: creating directory
> /Users/vishalshahi/Desktop/sage/sage/logs/pkgs
> config.status: creating directory local
> config.status: creating directory local/bin
> config.status: creating directory local/etc
> config.status: creating directory local/include
> config.status: creating directory local/lib
> config.status: creating directory local/lib/pkgconfig
> config.status: creating directory local/share
> config.status: creating directory local/var/lib/sage/installed
> config.status: creating directory local/var/tmp/sage/build
> config.status: executing links commands
> config.status: creating convenience symlink prefix -> local
> config.status: creating convenience symlink venv ->
> local/var/lib/sage/venv-python3.9
> vishalshahi@Vishals-MacBook-Air-2 sage %
>
> On Sun, Mar 30, 2025 at 6:13 AM Dima Pasechnik <dim...@gmail.com> wrote:
>
> > You can install Homebrew's gsl package (so this will solve whatever
> > problem you have with building it), and many more Homebrew packages: check
> > out the last 2 pages of the output of
> >
> > ./configure
> >
> > for a list.
> >
> > We prefer not a part of the config.log, but the whole file. You can
> > attach files here.
> >
> >
> >
> >
> > On 29 March 2025 11:41:32 GMT-05:00, "'Vishal Shahi 4-Yr B.Tech.:
> > Electronics Engg., IIT(BHU)' via sage-devel" <sage-...@googlegroups.com>
> > wrote:
> >
> >> yes i am using home brew
> >> this is config.log
> >>
> >> ne/lib/pkgconfig:/opt/homebrew/opt/openssl/lib/pkgconfig:/opt/homebrew/opt/openblas/lib/pkgconfig:/opt/homebrew/lib/pkgconfig:
> >> --no-create --no-recursion
> >>
> >>
> >> ## --------- ##
> >>
> >> ## Platform. ##
> >>
> >> ## --------- ##
> >>
> >>
> >> hostname = Vishals-MacBook-Air-2.local
> >>
> >> uname -m = arm64
> >>
> >> uname -r = 24.3.0
> >>
> >> uname -s = Darwin
> >>
> >> uname -v = Darwin Kernel Version 24.3.0: Thu Jan 2 20:24:06 PST 2025;
> >> root:xnu-11215.81.4~3/RELEASE_ARM64_T8103
> >>
> >>
> >> /usr/bin/uname -p = arm
> >>
> >> /bin/uname -X = unknown
> >>
> >>
> >> /bin/arch = unknown
> >>
> >> /usr/bin/arch -k = unknown
> >>
> >> /usr/convex/getsysinfo = unknown
> >>
> >> /usr/bin/hostinfo = Mach kernel version:
> >>
> >> Darwin Kernel Version 24.3.0: Thu Jan 2 20:24:06 PST 2025;
> >> root:xnu-11215.81.4~3/RELEASE_ARM64_T8103
> >>
> >> Kernel configured for up to 8 processors.
> >>
> >> 8 processors are physically available.
> >>
> >> 8 processors are logically available.
> >>
> >> Processor type: arm64e (ARM64E)
> >>
> >> Processors active: 0 1 2 3 4 5 6 7
> >>
> >> Primary memory available: 8.00 gigabytes
> >>
> >> Default processor set: 550 tasks, 2421 threads, 8 processors
> >>
> >> Load average: 1.69, Mach factor: 6.30
> >>
> >> /bin/machine = unknown
> >>
> >> /usr/bin/oslevel = unknown
> >>
> >> /bin/universe = unknown
> >>
> >>
> >> PATH: /opt/homebrew/opt/polymake/bin/
> >>
> >> PATH: /opt/homebrew/opt/texinfo/bin/
> >>
> >>
> >> /usr/bin/uname -p = arm
> >>
> >> /bin/uname -X = unknown
> >>
> >>
> >> /bin/arch = unknown
> >>
> >> /usr/bin/arch -k = unknown
> >>
> >> /usr/convex/getsysinfo = unknown
> >>
> >> /usr/bin/hostinfo = Mach kernel version:
> >>
> >> Darwin Kernel Version 24.3.0: Thu Jan 2 20:24:06 PST 2025;
> >> root:xnu-11215.81.4~3/RELEASE_ARM64_T8103
> >>
> >> Kernel configured for up to 8 processors.
> >>
> >> 8 processors are physically available.
> >>
> >> 8 processors are logically available.
> >>
> >> Processor type: arm64e (ARM64E)
> >>
> >> Processors active: 0 1 2 3 4 5 6 7
> >>
> >> Primary memory available: 8.00 gigabytes
> >>
> >> Default processor set: 550 tasks, 2421 threads, 8 processors
> >>
> >> Load average: 1.69, Mach factor: 6.30
> >>
> >> /bin/machine = unknown
> >>
> >> /usr/bin/oslevel = unknown
> >>
> >> /bin/universe = unknown
> >>
> >>
> >> PATH: /opt/homebrew/opt/polymake/bin/
> >>
> >> PATH: /opt/homebrew/opt/texinfo/bin/
> >>
> >> PATH: /opt/homebrew/opt/bzip2/bin/
> >>
> >> PATH: /opt/homebrew/opt/polymake/bin/
> >>
> >> PATH: /opt/homebrew/opt/texinfo/bin/
> >>
> >> PATH: /opt/homebrew/opt/bzip2/bin/
> >>
> >> PATH: /Users/vishalshahi/.nvm/versions/node/v18.20.7/bin/
> >>
> >> PATH: /Users/vishalshahi/.pyenv/shims/
> >>
> >> PATH: /opt/miniconda3/condabin/
> >>
> >> PATH: /opt/homebrew/bin/
> >>
> >> PATH: /opt/homebrew/sbin/
> >>
> >> PATH: /Library/Frameworks/Python.framework/Versions/3.12/bin/
> >>
> >> PATH: /usr/local/bin/
> >>
> >> PATH: /System/Cryptexes/App/usr/bin/
> >>
> >> PATH: /usr/bin/
> >>
> >> PATH: /bin/
> >>
> >> PATH: /usr/sbin/
> >>
> >> PATH: /sbin/
> >>
> >> PATH:
> >> /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin/
> >>
> >> PATH: /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin/
> >>
> >> PATH:
> >> /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin/
> >>
> >> PATH: /Library/Apple/usr/bin/
> >>
> >> PATH: /Users/vishalshahi/.cargo/bin/
> >>
> >>
> >>
> >> ## ----------- ##
> >>
> >> ## Core tests. ##
> >>
> >> ## ----------- ##
> >>
> >>
> >> configure:5522: looking for aux files: config.guess config.sub compile
> >> config.rpath missing install-sh
> >>
> >> configure:5535: trying ./config/
> >>
> >> configure:5564: ./config/config.guess found
> >>
> >> configure:5564: ./config/config.sub found
> >>
> >> configure:5564: ./config/compile found
> >>
> >> configure:5564: ./config/config.rpath found
> >>
> >> configure:5564: ./config/missing found
> >>
> >> configure:5546: ./config/install-sh found
> >>
> >> configure:5702: checking for a BSD-compatible install
> >>
> >> configure:5776: result: /opt/homebrew/bin/ginstall -c
> >>
> >> configure:5787: checking whether sleep supports fractional seconds
> >>
> >> configure:5803: result: yes
> >>
> >> configure:5806: checking filesystem timestamp resolution
> >>
> >> configure:5941: result: 2
> >>
> >> configure:5946: checking whether build environment is sane
> >>
> >> configure:5987: result: yes
> >>
> >> configure:6158: checking for a race-free mkdir -p
> >>
> >> configure:6201: result: /opt/homebrew/bin/gmkdir -p
> >>
> >> configure:6208: checking for gawk
> >>
> >> configure:6244: result: no
> >>
> >> configure:6208: checking for mawk
> >>
> >> configure:6244: result: no
> >>
> >> configure:6208: checking for nawk
> >>
> >> configure:6244: result: no
> >>
> >> configure:6208: checking for awk
> >>
> >> configure:6229: found /usr/bin/awk
> >>
> >> configure:6241: result: awk
> >>
> >> configure:6252: checking whether make sets $(MAKE)
> >>
> >> configure:6276: result: yes
> >>
> >> configure:6302: checking whether make supports nested variables
> >>
> >> configure:6321: result: yes
> >>
> >> configure:6335: checking xargs -n works
> >>
> >> configure:6351: result: yes
> >>
> >> configure:6452: checking whether to enable maintainer-specific portions
> >> of Makefiles
> >>
> >> configure:6463: result: yes
> >>
> >> configure:6492: checking whether make supports the include directive
> >>
> >> configure:6507: make -f confmf.GNU && cat confinc.out
> >>
> >> this is the am__doit target
> >>
> >> configure:6510: $? = 0
> >>
> >> configure:6529: result: yes (GNU style)
> >>
> >> configure:6606: checking for gcc
> >>
> >> configure:6627: found /usr/bin/gcc
> >>
> >> configure:6639: result: gcc
> >>
> >> configure:6998: checking for C compiler version
> >>
> >> configure:7007: gcc --version >&5
> >>
> >> Apple clang version 16.0.0 (clang-1600.0.26.6)
> >>
> >> Target: arm64-apple-darwin24.3.0
> >>
> >> Thread model: posix
> >>
> >> InstalledDir: /Library/Developer/CommandLineTools/usr/bin
> >>
> >> configure:7018: $? = 0
> >>
> >> configure:7007: gcc -v >&5
> >>
> >> Apple clang version 16.0.0 (clang-1600.0.26.6)
> >>
> >> Target: arm64-apple-darwin24.3.0
> >>
> >> Thread model: posix
> >>
> >> InstalledDir: /Library/Developer/CommandLineTools/usr/bin
> >>
> >> configure:7018: $? = 0
> >>
> >> configure:7007: gcc -V >&5
> >>
> >> clang: error: argument to '-V' is missing (expected 1 value)
> >>
> >> clang: error: no input files
> >>
> >> configure:7018: $? = 1
> >>
> >> configure:7007: gcc -qversion >&5
> >>
> >> clang: error: unknown argument '-qversion'; did you mean '--version'?
> >>
> >> clang: error: no input files
> >>
> >> configure:7018: $? = 1
> >>
> >> configure:7007: gcc -version >&5
> >>
> >> clang: error: unknown argument '-version'; did you mean '--version'?
> >>
> >> clang: error: no input files
> >>
> >> configure:7018: $? = 1
> >>
> >> configure:7038: checking whether the C compiler works
> >>
> >> configure:7060: gcc conftest.c >&5
> >>
> >> configure:7064: $? = 0
> >>
> >> configure:7115: result: yes
> >>
> >> configure:7119: checking for C compiler default output file name
> >>
> >> configure:7121: result: a.out
> >>
> >>
> >> Do you need more sir ?
> >>
> >>
> >>
> >> On Sat, Mar 29, 2025 at 8:56 PM Dima Pasechnik <dim...@gmail.com> wrote:
> >>
> >>> Do you use Homebrew?
> >>> Please post top-level config.log
> >>>
> >>>
> >>> On 29 March 2025 01:29:35 GMT-05:00, 'Vishal Shahi' via sage-devel <
> >>> sage-...@googlegroups.com> wrote:
> >>>
> >>>> Dear Sage Development Team,
> >>>>
> >>>> I am experiencing an issue while building Sage on my MacBook Air M1
> >>>> running macOS Sequoia. I followed all instructions outlined in the GitHub
> >>>> README, yet I continually receive an error during the build process,
> >>>> specifically when attempting to configure gsl-2.7.1.
> >>>>
> >>>> ```
> >>>>
> >>>> [gsl-2.7.1] [spkg-install] checking host system type...
> >>>> arm-apple-darwin24.3.0
> >>>>
> >>>> [gsl-2.7.1] [spkg-install] checking for gcc... gcc
> >>>>
> >>>> [gsl-2.7.1] [spkg-install] checking whether the C compiler works... no
> >>>>
> >>>> [gsl-2.7.1] [spkg-install] configure: error: in
> >>>> `/Users/vishalshahi/Desktop/sage/sage/local/var/tmp/sage/build/gsl-2.7.1/src':
> >>>>
> >>>> [gsl-2.7.1] [spkg-install] configure: error: C compiler cannot create
> >>>> executables
> >>>>
> >>>> [gsl-2.7.1] [spkg-install] See `config.log' for more details
> >>>>
> >>>> [gsl-2.7.1] [spkg-install]
> >>>> ********************************************************************************
> >>>>
> >>>> [gsl-2.7.1] [spkg-install] Error configuring gsl-2.7.1 See the file
> >>>>
> >>>> [gsl-2.7.1] [spkg-install]
> >>>> /Users/vishalshahi/Desktop/sage/sage/local/var/tmp/sage/build/gsl-2.7.1/src/config.log
> >>>>
> >>>> [gsl-2.7.1] [spkg-install] for details.
> >>>>
> >>>> [gsl-2.7.1] [spkg-install]
> >>>> ********************************************************************************
> >>>>
> >>>> [gsl-2.7.1]
> >>>> ************************************************************************
> >>>>
> >>>> [gsl-2.7.1] Error installing package gsl-2.7.1
> >>>>
> >>>> [gsl-2.7.1]
> >>>> ************************************************************************
> >>>>
> >>>> [gsl-2.7.1] Please email sage-devel (
> >>>> http://groups.google.com/group/sage-devel)
> >>>>
> >>>> [gsl-2.7.1] explaining the problem and including the log files
> >>>>
> >>>> [gsl-2.7.1]
> >>>> /Users/vishalshahi/Desktop/sage/sage/logs/pkgs/gsl-2.7.1.log
> >>>>
> >>>> [gsl-2.7.1] and
> >>>>
> >>>> [gsl-2.7.1] /Users/vishalshahi/Desktop/sage/sage/config.log
> >>>>
> >>>> [gsl-2.7.1] Describe your computer, operating system, etc.
> >>>>
> >>>> [gsl-2.7.1] If you want to try to fix the problem yourself, *don't*
> >>>> just cd to
> >>>>
> >>>> [gsl-2.7.1]
> >>>> /Users/vishalshahi/Desktop/sage/sage/local/var/tmp/sage/build/gsl-2.7.1 and
> >>>> type 'make' or whatever is appropriate.
> >>>>
> >>>> [gsl-2.7.1] Instead, the following commands setup all environment
> >>>> variables
> >>>>
> >>>> [gsl-2.7.1] correctly and load a subshell for you to debug the error:
> >>>>
> >>>> [gsl-2.7.1] (cd
> >>>> '/Users/vishalshahi/Desktop/sage/sage/local/var/tmp/sage/build/gsl-2.7.1'
> >>>> && '/Users/vishalshahi/Desktop/sage/sage/sage' --buildsh)
> >>>>
> >>>> [gsl-2.7.1] When you are done debugging, you can type "exit" to leave
> >>>> the subshell.
> >>>>
> >>>> [gsl-2.7.1]
> >>>> ************************************************************************
> >>>>
> >>>> make[4]: *** [gsl-SAGE_LOCAL-no-deps] Error 1
> >>>>
> >>>> make[3]: ***
> >>>> [/Users/vishalshahi/Desktop/sage/sage/local/var/lib/sage/installed/gsl-2.7.1]
> >>>> Error 2
> >>>>
> >>>> make[2]: *** [all-build] Error 2
> >>>>
> >>>> ***************************************************************
> >>>>
> >>>> Error building Sage.
> >>>>
> >>>>
> >>>> The following package(s) may have failed to build (not necessarily
> >>>>
> >>>> during this run of 'make all-build'):
> >>>>
> >>>>
> >>>> * package: gsl-2.7.1
> >>>>
> >>>> last build time: Mar 29 11:25
> >>>>
> >>>> log file:
> >>>> /Users/vishalshahi/Desktop/sage/sage/logs/pkgs/gsl-2.7.1.log
> >>>>
> >>>> build directory:
> >>>> /Users/vishalshahi/Desktop/sage/sage/local/var/tmp/sage/build/gsl-2.7.1
> >>>> ```
> >>>> log file gsl
> >>>> [spkg-install] configure: error: C compiler cannot create executables
> >>>> [spkg-install] See `config.log' for more details
> >>>> [spkg-install] checking for a BSD-compatible install...
> >>>> /opt/homebrew/bin/ginstall -c
> >>>> [spkg-install] checking whether build environment is sane... yes
> >>>> [spkg-install] checking for a race-free mkdir -p...
> >>>> /opt/homebrew/bin/gmkdir -p
> >>>> [spkg-install] checking for gawk... no
> >>>> [spkg-install] checking for mawk... no
> >>>> [spkg-install] checking for nawk... no
> >>>> [spkg-install] checking for awk... awk
> >>>> [spkg-install] checking whether make sets $(MAKE)... yes
> >>>> [spkg-install] checking whether make supports nested variables... yes
> >>>> [spkg-install] checking whether to enable maintainer-specific portions
> >>>> of Makefiles... no
> >>>> [spkg-install] checking for a sed that does not truncate output...
> >>>> /usr/bin/sed
> >>>> [spkg-install] checking whether make sets $(MAKE)... (cached) yes
> >>>> [spkg-install] checking build system type... arm-apple-darwin24.3.0
> >>>> [spkg-install] checking host system type... arm-apple-darwin24.3.0
> >>>> [spkg-install] checking for gcc... gcc
> >>>> [spkg-install] checking whether the C compiler works... no
> >>>> [spkg-install] configure: error: in
> >>>> `/Users/vishalshahi/Desktop/sage/sage/local/var/tmp/sage/build/gsl-2.7.1/src':
> >>>> [spkg-install] configure: error: C compiler cannot create executables
> >>>> [spkg-install] See `config.log' for more details
> >>>> [spkg-install]
> >>>> ********************************************************************************
> >>>> [spkg-install] Error configuring gsl-2.7.1 See the file
> >>>> [spkg-install]
> >>>> /Users/vishalshahi/Desktop/sage/sage/local/var/tmp/sage/build/gsl-2.7.1/src/config.log
> >>>> [spkg-install] for details.
> >>>> [spkg-install]
> >>>> ********************************************************************************
> >>>> ************************************************************************
> >>>> Error installing package gsl-2.7.1
> >>>> ************************************************************************
> >>>> Please email sage-devel (http://groups.google.com/group/sage-devel)
> >>>> explaining the problem and including the log files
> >>>> /Users/vishalshahi/Desktop/sage/sage/logs/pkgs/gsl-2.7.1.log
> >>>> and
> >>>> /Users/vishalshahi/Desktop/sage/sage/config.log
> >>>> Describe your computer, operating system, etc.
> >>>> If you want to try to fix the problem yourself, *don't* just cd to
> >>>> /Users/vishalshahi/Desktop/sage/sage/local/var/tmp/sage/build/gsl-2.7.1
> >>>> and type 'make' or whatever is appropriate.
> >>>> Instead, the following commands setup all environment variables
> >>>> correctly and load a subshell for you to debug the error:
> >>>> (cd
> >>>> '/Users/vishalshahi/Desktop/sage/sage/local/var/tmp/sage/build/gsl-2.7.1'
> >>>> && '/Users/vishalshahi/Desktop/sage/sage/sage' --buildsh)
> >>>> When you are done debugging, you can type "exit" to leave the subshell.
> >>>> ************************************************************************
> >>>> config.log
> >>>> #define HAVE_ICONV 1
> >>>> #define ICONV_CONST
> >>>> #define HAVE_ZMQ /**/
> >>>>
> >>>> configure: exit 0
> >>>>
> >>>> ## ---------------------- ##
> >>>> ## Running config.status. ##
> >>>> ## ---------------------- ##
> >>>>
> >>>> This file was extended by Sage config.status 10.5, which was
> >>>> generated by GNU Autoconf 2.72. Invocation command line was
> >>>>
> >>>> CONFIG_FILES =
> >>>> CONFIG_HEADERS =
> >>>> CONFIG_LINKS =
> >>>> CONFIG_COMMANDS =
> >>>> $ ./config.status
> >>>>
> >>>> on Vishals-MacBook-Air-2.local
> >>>>
> >>>> config.status:4031: creating build/make/Makefile-auto
> >>>> config.status:4031: creating build/make/Makefile
> >>>> config.status:4031: creating src/bin/sage-env-config
> >>>> config.status:4031: creating src/bin/sage-src-env-config
> >>>> config.status:4031: creating build/bin/sage-build-env-config
> >>>> config.status:4031: creating pkgs/sage-conf/_sage_conf/_conf.py
> >>>> config.status:4203: executing depfiles commands
> >>>> config.status:4203: executing mkdirs commands
> >>>> config.status:4335: creating directory
> >>>> /Users/vishalshahi/Desktop/sage/sage/logs/pkgs
> >>>> config.status:4335: creating directory local
> >>>> config.status:4335: creating directory local/bin
> >>>> config.status:4335: creating directory local/etc
> >>>> config.status:4335: creating directory local/include
> >>>> config.status:4335: creating directory local/lib
> >>>> config.status:4335: creating directory local/lib/pkgconfig
> >>>> config.status:4335: creating directory local/share
> >>>> config.status:4335: creating directory local/var/lib/sage/installed
> >>>> config.status:4354: creating directory local/var/tmp/sage/build
> >>>> config.status:4203: executing links commands
> >>>> config.status:4370: creating convenience symlink prefix -> local
> >>>> config.status:4386: creating convenience symlink venv ->
> >>>> local/var/lib/sage/venv-python3.9
> >>>>
> >>>> --
> >>> You received this message because you are subscribed to the Google
> >>> Groups "sage-devel" group.
> >>> To unsubscribe from this group and stop receiving emails from it, send
> >>> an email to sage-devel+...@googlegroups.com.
> >>> To view this discussion visit
> >>> https://groups.google.com/d/msgid/sage-devel/EB91F382-B326-4873-B115-9EC41C53753E%40gmail.com
> >>> <https://groups.google.com/d/msgid/sage-devel/EB91F382-B326-4873-B115-9EC41C53753E%40gmail.com?utm_medium=email&utm_source=footer>
> >>> .
> >>>
> >> --
> > You received this message because you are subscribed to the Google Groups
> > "sage-devel" group.
> > To unsubscribe from this group and stop receiving emails from it, send an
> > email to sage-devel+...@googlegroups.com.
> > To view this discussion visit
> > https://groups.google.com/d/msgid/sage-devel/6AF38F98-63D7-47F3-8A08-92EF3B8B4FAA%40gmail.com
> > <https://groups.google.com/d/msgid/sage-devel/6AF38F98-63D7-47F3-8A08-92EF3B8B4FAA%40gmail.com?utm_medium=email&utm_source=footer>
> > .
> >
>
> --
> You received this message because you are subscribed to the Google Groups "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/sage-devel/CAL2Ch8Yd42K%2B%2B9y3_S10g%3D93fa_BUHU5pp%3DKQWobHYKB%2BAPkaA%40mail.gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/sage-devel/CAChs6_%3D%3DR%2BinCPF4KwXJ3b2zTDPGatftRO6mCw59Zf9g5zAPRw%40mail.gmail.com.
What are good criteria for evaluating different ways to install Python?
Reliability
Installation speed
Disk space used after installation
Ease of use for end users
Suitability for distributions
Suitability for the macOS app (listed separately due to its unique packaging and distribution requirements)
For the first two points, using a precompiled Python (like the one provided by uv) is clearly faster and more reliable than building from source. The uv installation is heavily optimized, though it's unclear to me whether it's smaller or larger than a source build. It would be helpful if Marc could share the size of the Python installation on macOS to compare with William’s numbers for uv.
From a user-experience perspective, it's slightly easier to run a single global make command that installs Python as part of the python-spkg. That said, the python-spkg doesn't necessarily have to build Python from source - it could still use a precompiled version (say via uv) under the hood.
“Normal” Linux distributions typically include their own Python, so they don’t depend on Sage’s Python packaging.
I don’t have the expertise to speak confidently about macOS packaging, but my impression is that tools like PyOxidizer use similar prebuilt Pythons and are capable of producing signed and notarized apps. It would be great if Marc (or others familiar with the macOS side) could explain how other Python projects embed Python to generate signed applications; and why it's so important for the sage macos app to build from source.
Reliability
Installation speed
Disk space used after installation
Ease of use for end users
Suitability for distributions
Suitability for the macOS app (listed separately due to its unique packaging and distribution requirements)
To view this discussion visit https://groups.google.com/d/msgid/sage-devel/c56945d8-3008-4163-bd61-af3759188ff5n%40googlegroups.com.
1) Having sagemath detect python version requirements and build its own if not acceptable version is found leads to increased support requests.
It seems to me that for 1) it isn't so important if python occurs as an spkg or not -- the main issue there would be resolved if the build process would not default to initiating building python. So it would seem that it's simply the python version detection code that can be adjusted. We could just have a configure flag "--install_own_python" to allow the prerequisite requirement to be fulfilled by building the python spkg; an option that would by default be off.
Homebrew, uv, etc provide single-arch Python3 just fine.
We do see similar problems on Linux being run in WSL. It's probably due to WSL defaulting to an old Ubuntu version, on which you need to jump extra hoops to install modern Python.
--
You received this message because you are subscribed to a topic in the Google Groups "sage-devel" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sage-devel/-ASHfAXqVYo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sage-devel+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/sage-devel/CACLE5GCqfaOgUxaQo%3DOoLPfj2YHDqYOu-0bt4UicvcBwJANbgg%40mail.gmail.com.
Maybe I'm misinterpreting, but we already have --with-system-python3 that defaults to "yes", right? Is this different than the proposed --install_own_python option?
As this discussion tries to wander off into a new discussion about the uv project, I will attempt to bring it back on topic.The point is this: Currently, to build the macOS binary, we first build sage in a completely standard way. The only customization we need to do is to set up the configure options. After that completely standard build we construct the app from the sage directory. That involves removing some unneeded things, making some modifications and making Sage (not just python, Sage) relocatable and self-contained. But the starting point is just a completely standard build of Sage.
It's not standard - no-one nowadays builds Sage's Python, not even CI is doing this.
This is the point I already made.
You are the sole users of this semi-broken feature.
Besides, Nils' proposal would mean to introduce an entirely new kind of Sage package,
No, this won't fly. This is going to break the already fragile logic
behind package types.
Standard packages cannot be optionally installed, so it can't stay
standard. Optional packages probably cannot appear in toolchain.
At the same time, the concession that python3.spkg *can* still provide python if really wanted helps Marc see that the MacOS app build is taken seriously. I would expect it's a major delivery platform of sagemath functionality to users, so it should be taken seriously.
--
You received this message because you are subscribed to a topic in the Google Groups "sage-devel" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sage-devel/-ASHfAXqVYo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sage-devel+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/sage-devel/c9f1ff09-5e5c-4b48-b8c1-cc636dc05d3an%40googlegroups.com.
As I already explained, it's quite a stretch by Sage's standards to call
python3 package standard. Because it is not tested enough;
because few months into release, the supposedly stable Sage release is
often not installable, not the least due to rapidly aging Python
toolchain.
If the Python spkg were removed we would no longer be able to start from a standard build of Sage.
On Monday, 7 April 2025 at 08:59:40 UTC-7 marc....@gmail.com wrote:If the Python spkg were removed we would no longer be able to start from a standard build of Sage.Can you explain what the non-standard part would be
and why you are concerned it would be more fragile on the side of Sage?
To me it looks you would start out with building python much in the same way as how it now gets built by sage's python3 package and then in the ensuing environment you would end up building sage in a completely standard way, with the python requirement satisfied by the python build you have just completed.
Given that the python build would complete *before* you even get started on building sage, I would expect that this doesn't affect the fragility of the sage build at all.
Are you worried that sage would have trouble recognizing the python build as valid for its purposes?
If anything, I'd expect that if sage would not be providing its own python package, it would be forced to be more tolerant on what python to accept.
So I can see how giving away full control of python could make *sage* more fragile, but at the same time we are already relying on externally provided pythons in many cases and that doesn't seem to cause huge problems.
> Probably not on the build system. But the app needs to work on *any* system.
>
>> Are you worried that sage would have trouble recognizing the python build as valid for its purposes?
>
No. Because sagelib (with meson build) is already a proper Python
package, which should just shut up and get installed as a Python
package of a Python. :-)
(And the rest is just a semi-optional environment coming on top of
sagelib, pretty much orthogonal to what's in the macOS app)
At the same time, the concession that python3.spkg *can* still provide python if really wanted helps Marc see that the MacOS app build is taken seriously. I would expect it's a major delivery platform of sagemath functionality to users, so it should be taken seriously.Anecdotally in my department, it seems at least as many people use the MacOS build as build from source. so +1 to this.
On 10 April 2025 07:45:09 GMT-05:00, I wrote:
>To me, a "proper Python package" is something I can install with
>"random-python -m pip install blah" that pulls a binary wheel off PyPI that
>just works. If we're getting close to being able to do that, which would
>absolutely amazing, then why not wait until that's done so we can ditch
>sage-the-distribution completely?
Sorry, let's not try to shift the goalposts now.
Binary wheels (with self-contained binary extension modules) are a different story, and I am under the impression they are not of any use to the macOS app building.
As far as I can see, we are at the point where macOS app can switch to
using the meson build, with any Python you want. E.g. you can use the same Python as you use to package Jupyter (my understanding is that how macOS app does it).
With all non-python pre-reqs in place,
just run./bootstrap and pip to build sagelib, that's all.
No need to worry about a dodgy custom venv,
unhappy ./configure, etc.
We were told here that you want to build everything from source, and with this build you can do this just fine.
With all non-python pre-reqs in place,
just run./bootstrap and pip to build sagelib, that's all.
No need to worry about a dodgy custom venv,
unhappy ./configure, etc.
On Thursday, April 10, 2025 at 9:37:09 AM UTC-5 Dima wrote:On 10 April 2025 07:45:09 GMT-05:00, I wrote:
>To me, a "proper Python package" is something I can install with
>"random-python -m pip install blah" that pulls a binary wheel off PyPI that
>just works. If we're getting close to being able to do that, which would
>absolutely amazing, then why not wait until that's done so we can ditch
>sage-the-distribution completely?
Sorry, let's not try to shift the goalposts now.I didn't mean shift goalposts, I just misunderstand what you meant by the phrase "proper Python package"; the definition I'm familiar with goes farther at least on macOS/Windows.
Binary wheels (with self-contained binary extension modules) are a different story, and I am under the impression they are not of any use to the macOS app building.Binary wheels are just fine for the macOS app, indeed it already uses a number of them. For example, while "pillow" is a standard spkg, that version only supports a limited number of image types. So that macOS app instead uses the one off PyPI to offer more functionality.
As far as I can see, we are at the point where macOS app can switch to
using the meson build, with any Python you want. E.g. you can use the same Python as you use to package Jupyter (my understanding is that how macOS app does it).
With all non-python pre-reqs in place,
just run./bootstrap and pip to build sagelib, that's all.
No need to worry about a dodgy custom venv,
unhappy ./configure, etc.Interesting, where can I find a list of the non-python pre-reqs?
With all non-python pre-reqs in place,
just run./bootstrap and pip to build sagelib, that's all.
No need to worry about a dodgy custom venv,
unhappy ./configure, etc.> Interesting, where can I find a list of the non-python pre-reqs?
--
You received this message because you are subscribed to the Google Groups "sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/sage-devel/15523de1-226e-4b3e-bd6d-a91ece173cabn%40googlegroups.com.
The obvious questions which this raises and which have still not been answered here are: What is so wrong with this process? Why do we have to break it? Why can't we at least leave the Sage spkg in place until there is an actual, tested, working replacement for it? (I am ignoring the other obvious question: what is so difficult about changing 4 lines of text in an spkg directory?)
I get the impression that the concern is about maintenance load: when the project takes on the commitment to build python then it must update the python build package whenever this is required for supporting current operating systems. Apparently that clock ticks very quickly. So that requires frequent updates to the python package.
Alternatively, the project could set python as a prerequisite and just build on top of that. It shifts what outside clocks we need to keep up with: now we need to ensure that we support a wide enough range of pythons so that it is easy for people to install a python that works on all current operating systems.
I think the main function of having a build-from-source python package was to have a fall-back that allowed us to be very strict with our python requirements. It looks to me that the claim is that nowadays keeping a build-from-source python up to date is more work than keeping up-to-date with the python on which we run.
What used to also be the case is that python itself would be quite in flux and that upgrading python from one version to another would need quite a bit of adjustment. I think that was why packaging python was generally deemed beneficial then.
Python has grown considerably and hopefully has turned a lot more stable (and/or distributions have gotten better of supporting older version of python for longer), so it could well be that the calculus has changed on this. That's definitely the position I see Dima and William take.Certainly in the current situation of the python spkg we risk getting the worst of both worlds, if we want to do both well:- we need to ensure that the python spkg actually *can* build python on our supported platforms
- we need to support a wide variety of pythons (including new ones) because people want the python spkg to be happy to have the python prerequisite satisfied by externally provided pythons.
this is what many users need - to be able to install Sage into an existing Python environment; thus support is provided for a range of pythons.
Catering for the upside-down setup where Sage installs Python is a totally orthogonal user case, and you seem to be the only user who doesn't want to give it up.
Marc, what is your opinion about replacing "building from source" in the Python spkg by "installing the prebuild pythons from astral/python-build-standalone"?
Marc, Your response seems to suggest that Dima is claiming that your
distribution of Sage is wrong or shouldn't exist. Nothing could be
further from the truth.
Marc, Your response seems to suggest that Dima is claiming that your
distribution of Sage is wrong or shouldn't exist. Nothing could be
further from the truth.Really? What does the following mean to you?"I don't want to go into merits of the macOS app, but it's a highly non-standard by modern Python standards
thing which does not bring to users full functionality of Sage, and ties them up to a shifty expensive platform."(Dima, Wednesday, April 9, 2025 at 6:44:31 PM UTC-5)
Please don't break our working build system before there is an actual working replacement.
- Marc
--
You received this message because you are subscribed to the Google Groups "sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/sage-devel/20eb17b2-a989-481f-8104-f4f725a78fb4n%40googlegroups.com.
Nobody is going to "break" anything. You'll just need a proper Python to install Sage, like one of many pre-reqs already needed.It's just fear-mongering. Building Sage will be less broken this way, not more broken.
On Fri, Apr 18, 2025 at 4:12 PM Nils Bruin <nbr...@sfu.ca> wrote:
>
> On Friday, 18 April 2025 at 10:07:12 UTC-7 dim...@gmail.com wrote:
>
> Nobody is going to "break" anything. You'll just need a proper Python to install Sage, like one of many pre-reqs already needed.
> It's just fear-mongering. Building Sage will be less broken this way, not more broken.
>
> It looks to me that a consensus to move forward on this is in reach:
>
> * Dima's preference is to (eventually) end up in a state where python is a prerequisite for sage and his main argument for that is: other projects have as purpose to provide python and they likely do a better job than we'd do.
>
> * Marc and Sébastien have voiced some concerns about how smooth the transition to "python purely a prerequisite" would be. Given that we HAVE been offering the option to build python since the start, one would expect that some people's workflows are relying on that behaviour, so there are going to be wrinkles for those people. We in fact know that one example of that is the building process of the MacOS app.
>
> It seems to me that the concerns of the two parties above aren't even conflicting: one is aiming for something they find technologically superior and ultimately more stable and reliable (and easier to maintain) whereas the other party is concerned that the transition will be too painful for them, or that they're forced to transition to something that may need fixing due to unforeseen shortcomings that come to light once they go through this forced transition. I haven't seen them object to the principle of the final goal.
>
> So a middle ground would be to offer a security blanket during the transition: change the default behaviour of the python package for now to NOT build, but as a transition measure offer a configuration flag that restores the ability to build python from source. The clear goal of that must be that within the near future, no-one is actually activating that configuration flag, after which it can be removed with minimal impact. Once the python package has become just a stub to test if there is a python available that works properly, it will be easy to remove the package and instead make the test for python a normal prerequisite check.
>
If the proposal to require an external Python is accepted, there could
still be our standard1-year deprecation period, during what you say
above is done.
> The perceived conflict here doesn't look like it's technological at all. It seems much more an issue with trust. I realize it may be sobering to find that people basically say: "I don't trust your assessment", but just shouting "Just trust me" at an increased volume is very unlikely to persuade them. Instead, if there's a way forward that allows you to say "Fine, you don't have to trust me unconditionally; let's just do it in smaller steps and then you can check for yourself it's OK", you'll likely to do much better on gaining trust in the future. Plus, you'll arrive at the destination you were aiming for eventually anyway.
>
>
> --
> You received this message because you are subscribed to the Google Groups "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/sage-devel/a444cbd4-ff0b-4397-97ce-ad6da16f2679n%40googlegroups.com.
--
William (http://wstein.org)
--
You received this message because you are subscribed to the Google Groups "sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/sage-devel/CACLE5GB1CtC16J__rqQXxDk%2B5DKwtuyH-VXj3fwKb8q%3D468vZA%40mail.gmail.com.
So a middle ground would be to offer a security blanket during the transition: change the default behaviour of the python package for now to NOT build, but as a transition measure offer a configuration flag that restores the ability to build python from source. The clear goal of that must be that within the near future, no-one is actually activating that configuration flag, after which it can be removed with minimal impact. Once the python package has become just a stub to test if there is a python available that works properly, it will be easy to remove the package and instead make the test for python a normal prerequisite check.
I got the impression from comments in this thread that it would be possible to build python with the prefix directory of my choice and use that python as the "system python" for a build of Sage. So I built a relocatable python 3.13 and installed it in a prefix directory. Since the python installation is relocatable I can rename the prefix directory to whatever I want.However, I am not able to find any way to convince Sage's configure script to use my python. No matter what I try, it declares that there is no suitable system python.
To view this discussion visit https://groups.google.com/d/msgid/sage-devel/02e9812e-84c8-4bca-b1ee-d05f6f421f6fn%40googlegroups.com.
My first guess is that
SAGE_SPKG_DEPCHECK([bzip2 liblzma libffi zlib], ...
IIRC you are building everything (except python, now) from SPKGs. If
so and if you are sure that your newly-built python was linked against
the sage copies of bzip2, zlib, etc., you can just ignore the DEPCHECK
(edit it out).
If those checks fail I would guessthat it just returns an error. Does anyone know how sage decides whether thereis a usable "system version" of bzip2 or liblzma?
Of course the other complication is that I need to be able to make the sage installationself-contained and relocatable. I have done a lot of experimentation with that over thelast few days, which seems to indicate that it is not possible to make a standard "prefix"installation of python relocatable - one has to use a "framework" installation to do that.- Marc
--
You received this message because you are subscribed to the Google Groups "sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/sage-devel/a88d22ca-b9a4-485a-9912-d140338d8f7cn%40googlegroups.com.
Here is one thing that I find strange. The only external libraries that are needed to compile python on macOS are openssl and (if you want the real gnu thing) readline. I know, because I have compiled python on macOS. The dependencies like libbz2, liblzma, libffi, libz and even libsqlite3 are all provided with the OS. They are available on any macOS system and accessible by any xcode compiler. Yet Sage does not find "usable system versions" of many of them. (It does find bzip2, for some weird reason, and maybe the liblzma behavior is explained by the fact that Apple does not provide an xz executable even though it does provide liblzma.)The following are available as part of the OS, for example:libbz2, libblas, libdbm, libffi, libf77lapack, liblapack, libiconv, liblzma, libncurses, libsqlite3, libz (many versions)The point, to be clear, is that Sage will currently not accept the versions of these libraries provided by Apple, but python will accept the subset which it needs. Yet somehow the claim is being made that the "remove the python spkg" project will make it be the case that sage will accept a python built locally even though, if done in the obvious way, such a python build will use many of those Apple libraries. At the same time there is a worry about the crashes that will occur if python uses one version of a library and some sage package uses a different one. Yet there is no option to use the Apple libraries to satisfy the requirements of Sage packages which use versions of those libraries.
To view this discussion visit https://groups.google.com/d/msgid/sage-devel/edf5c543-d148-4e29-9f1e-c2219f9e8e1bn%40googlegroups.com.