Sage 10.8.beta2 released

151 views
Skip to first unread message

Volker Braun

unread,
Sep 7, 2025, 11:39:15 AMSep 7
to sage-release
As always, you can get the latest beta version from the "develop" git branch. Alternatively, the self-contained source tarball is at http://www.sagemath.org/download-latest.html 

1f459003e01 (tag: 10.8.beta2, github/develop) Updated SageMath version to 10.8.beta2
287c8b49970 gh-40761: src/sage/plot/plot.py: fix random test failure
153864ba088 gh-40757: various pep8 fixes in groups/
90d2653d7c1 gh-40753: Handle aliased functions and methods in generated documentation
bc7c98a6d96 gh-40749: small cleanup of the file splitting_algebra.py
02dee9fca6f gh-40748: moving the _pseudo_fraction_field method to categories
d542c6ac74a gh-40747: fix some wrong syntax
89d02402cbd gh-40745: pythran's version_requirements.txt
f54f0eff0e9 gh-40743: add type annotations "-> str" in algebras/
86a06a248d3 gh-40737: Speed up the maxima _commands() list
ab8ee47af5f gh-40736: Clean up symbolic min max doctests
79623d05bfa gh-40731: Hide spurious stderr output in notebook_cmd_test.py
e1a36723c5b gh-40730: fix issue in method delete_vertices for bipartite graphs
95518b8d9b1 gh-40725: some fixes for ruff SIM warnings
41fbe031ebb gh-40724: finding more deprecated stuff
f1657543215 gh-40723: fix some ruff PERF in rings/
63c9ba7591a gh-40722: Update pillow
f5f876ac3e2 gh-40720: fix ruff PERF in schemes
273073b00b8 gh-40719: implement the method "is_left_modular" for lattices
8aed6f7634a gh-40718: Speed up random_element of finite field
1ad3f20c0c2 gh-40717: Fix enumerating the same cycle twice in undirected graph
eb7e296b908 gh-40713: Improve FiniteField_givaroElement
7a2ef2fa7de gh-40711: remove some deprecations in matrix2
da0856bc51f gh-40710: Allow calling is_perfect() on immutable graphs
fbe24d6ccb6 gh-40709: Fix release dist workflow
1cfd52c0048 gh-40708: make sure _prereq etc are installed in the docker images
581ee828479 gh-40707: src/sage/symbolic/integration/integral.py: delete a few giac doctests
be7b46b9d07 gh-40704: Fix one more optional test
ce49ea0b383 gh-40703: trying to get rid of some CommutativeRing
454957a41bc gh-40696: Add one "long time" annotation
7b58bd07cfa gh-40694: Fix test failure from #40435
582f3b57b1a gh-40692: Make update-meson.py script compatible with meson 1.9
7d21cd498a4 gh-40688: check for presense of the patch utility
0fe4c81736e gh-40685: cython-lint cleanup in modules folder
e9f3727fba9 gh-40677: src/sage/libs/gap: move a few tests to pytest
5e10ce7ee5f gh-40672: src/sage/doctest/sources.py: add "long time" for two tests
9ba29896518 gh-40666: is_commutative for coxeter3
65ec4582b56 gh-40650: Add LinBox algorithm for right kernel of sparse matrix over the rationals
5eacee00b73 gh-40648: Replaced all instances of <RingElement> with <Element>
4617f2fa5b8 gh-40638: Method to add multiples of a matrix row to another, ending at some column index
3f9330174a9 gh-40609: Improve shell code formatting in docs
329257f750d gh-40592: Update `uv.lock`
690c2f0a746 gh-40586: Revive doc-release
d0ec6636908 gh-40568: fixes in spkg-configure.m4's
1c99c11a01e gh-40401: Implement Square Roots to FiniteFields Category
9096302c394 gh-40370: Interface for Regina (3-manifold topology and normal surface theory)
59a67bb558b gh-40317: Implement partial integer factorization using flint
edb1ce9ad86 gh-40279: Fix RealLiteral to float conversion
d953568245f gh-40273: Avoid PariError on finite field construction
09f397adb55 gh-39876: Faster implementation of is_invertible() by checking full rank
a6c35260a98 gh-39753: move tree generation methods to `src/sage/graphs/generators/trees.pyx`
ad2bb305be7 gh-39030: Use meson in sage-the-distro
7fb3aaf5d74 gh-36773: Raise a power series to a power series
4cdd703f8b3 (tag: 10.8.beta1) Updated SageMath version to 10.8.beta1

John H Palmieri

unread,
Sep 7, 2025, 2:22:54 PMSep 7
to sage-release
After running `./bootstrap` and `./configure`, the git repo is not clean:


% git status
On branch develop
Your branch is up to date with 'upstream/develop'.

Untracked files:
  (use "git add <file>..." to include in what will be committed)
sagemath.egg-info/

nothing added to commit but untracked files present (use "git add" to track)

Enrique Artal

unread,
Sep 7, 2025, 3:20:24 PMSep 7
to sage-release
I get also sagemath.egg-info. I could build it but jupyter only works with sage -n jupyter(lab). With external jupyter lab I get:
[I 2025-09-07 21:17:39.870 ServerApp] AsyncIOLoopKernelRestarter: restarting kernel (5/5), new random ports
/usr/bin/python3: Error while finding module specification for 'sage.repl.ipython_kernel' (ModuleNotFoundError: No module named 'sage')
I am using classical build, in case it matters, and I did not start from scratch.

As predicted by Dima, the problems with sagelib have gone.
Enrique.

Dima Pasechnik

unread,
Sep 7, 2025, 4:39:30 PMSep 7
to sage-r...@googlegroups.com
Please note that in this beta the meaning of "classical build" has changed, in the sense that sagelib is built with the meson backend (and not setuptools).

Thus the discrepancy with classical/meson builds is now merely the nature of the build/run environment; the classical one coming from sage the distro, and the rest (venvs coming from e.g. conda or uv, or just python -m venv,
or a no-venv, as if you do "pip install" or "python -m build" as root, or perhaps running "pip install --user", with the result going into ~/.local/).


Is that *.egg is an old artefact, from previous builds (should be clear from its date, as reported by ls -l) ?

If so, it can be removed and it won't reappear.

Enrique Artal

unread,
Sep 7, 2025, 4:50:30 PMSep 7
to sage-release
*.egg is not and old artefact, it comes from this build. What I meant for "classical" is:
  • I made an incremental build, not starting from the beginning.
  • I used the order make.
  • All this process is done as a regular user, not as root, and without using sudo
The jupyter kernel as a folder sagemath is then installed in .local/share/jupyter/kernel of the user home. If I run sage -n jupyterlab with this user, it is OK. If I run from jupyter lab I get the error of the previous message. For a personal installation is OK, but I find useful in general to use sage in a system jupyter installation (which was possible at least till 10.8beta0).
Enrique.

Dima Pasechnik

unread,
Sep 7, 2025, 4:55:45 PMSep 7
to sage-r...@googlegroups.com
for this beta, I'd certainly do "make sagelib-clean sagelib-uninstall" before trying it out


AFAIK, .egg files are something deprecated long ago, why would they keep popping up?

Enrique Artal

unread,
Sep 8, 2025, 12:20:27 AMSep 8
to sage-release
Same results with make maintainer-clean. 

John H Palmieri

unread,
Sep 8, 2025, 12:27:52 AMSep 8
to sage-release
I downloaded the source code from git and built from scratch, so this .egg directory is new, absolutely not a remnant from a previous build.

I also see a lot of doctest failures (this is on OS X):

sage-runtests --long --warn-long 30.0 --random-seed=134973894917834549381313972273293781886 src/sage/env.py  # 1 doctest failed
sage-runtests --long --warn-long 30.0 --random-seed=134973894917834549381313972273293781886 src/sage/misc/sagedoc.py  # 1 doctest failed
sage-runtests --long --warn-long 30.0 --random-seed=134973894917834549381313972273293781886 src/sage/schemes/generic/algebraic_scheme.py  # 1 doctest failed
sage-runtests --long --warn-long 30.0 --random-seed=134973894917834549381313972273293781886 src/sage/schemes/curves/affine_curve.py  # 2 doctests failed
sage-runtests --long --warn-long 30.0 --random-seed=134973894917834549381313972273293781886 src/sage/plot/plot.py  # 1 doctest failed
sage-runtests --long --warn-long 30.0 --random-seed=134973894917834549381313972273293781886 src/sage/sandpiles/sandpile.py  # 9 doctests failed
sage-runtests --long --warn-long 30.0 --random-seed=134973894917834549381313972273293781886 src/sage/doctest/test.py  # 24 doctests failed
sage-runtests --long --warn-long 30.0 --random-seed=134973894917834549381313972273293781886 src/sage/tests/cmdline.py  # 8 doctests failed
sage-runtests --long --warn-long 30.0 --random-seed=134973894917834549381313972273293781886 src/sage/repl/interpreter.py  # 1 doctest failed
sage-runtests --long --warn-long 30.0 --random-seed=134973894917834549381313972273293781886 src/sage/libs/singular/function.pyx  # 2 doctests failed
sage-runtests --long --warn-long 30.0 --random-seed=134973894917834549381313972273293781886 src/sage/rings/polynomial/polynomial_singular_interface.py  # 1 doctest failed
sage-runtests --long --warn-long 30.0 --random-seed=134973894917834549381313972273293781886 src/sage/rings/polynomial/multi_polynomial_ideal.py  # 1 doctest failed
sage-runtests --long --warn-long 30.0 --random-seed=134973894917834549381313972273293781886 src/sage/geometry/hyperplane_arrangement/arrangement.py  # 1 doctest failed
sage-runtests --long --warn-long 30.0 --random-seed=134973894917834549381313972273293781886 src/sage/geometry/hyperplane_arrangement/library.py  # 1 doctest failed
sage-runtests --long --warn-long 30.0 --random-seed=134973894917834549381313972273293781886 src/sage/interfaces/singular.py  # 2 doctests failed
sage-runtests --long --warn-long 30.0 --random-seed=134973894917834549381313972273293781886 src/sage/interfaces/maxima_lib.py  # 1 doctest failed
sage-runtests --long --warn-long 30.0 --random-seed=134973894917834549381313972273293781886 src/sage/interfaces/gap_workspace.py  # 2 doctests failed
sage-runtests --long --warn-long 30.0 --random-seed=134973894917834549381313972273293781886 src/doc/en/thematic_tutorials/sandpile.rst  # 6 doctests failed

Some are of this form:

**********************************************************************
File "src/sage/env.py", line 22, in sage.env
Failed example:
    out = check_output([sys.executable, "-c", cmd], env=env).decode().strip()   # long time
Expected nothing
Got:
    ninja: warning: Ignoring jobserver: Pipe-based protocol is not supported! [ --jobserver-fds=3,4 -j -- TEST_FLAGS=--long TEST_TARGET=testlong]
**********************************************************************

Others are because the output is printed in a different order, or with different generators, or similar, than expected, such as:

**********************************************************************
File "src/sage/schemes/generic/algebraic_scheme.py", line 1200, in sage.schemes.generic.algebraic_scheme.AlgebraicScheme_subscheme.irreducible_components
Failed example:
    V.irreducible_components()                                            # needs sage.libs.singular
Expected:
    [Closed subscheme of Projective Space of dimension 4 over Rational Field defined by:
       w,
     Closed subscheme of Projective Space of dimension 4 over Rational Field defined by:
       x^2 - y^2 - z^2,
     Closed subscheme of Projective Space of dimension 4 over Rational Field defined by:
       x^2*z - v^3,
     Closed subscheme of Projective Space of dimension 4 over Rational Field defined by:
       w^5 - 2*z^3*v^2]
Got:
    [Closed subscheme of Projective Space of dimension 4 over Rational Field defined by:
       -w^5 + 2*z^3*v^2,
     Closed subscheme of Projective Space of dimension 4 over Rational Field defined by:
       -x^2*z + v^3,
     Closed subscheme of Projective Space of dimension 4 over Rational Field defined by:
       -x^2 + y^2 + z^2,
     Closed subscheme of Projective Space of dimension 4 over Rational Field defined by:
       w]
**********************************************************************

axio...@yahoo.de

unread,
Sep 8, 2025, 7:53:54 AMSep 8
to sage-release
On Ubuntu 24.04.3 LTS, I get

[pillow-11.3.0] WARNING [tarball|download:164]: Invalid checksum; ignoring cached file /home/martin/sage/upstream/pillow-11.3.0.tar.gz
[pillow-11.3.0] Attempting to download package pillow-11.3.0.tar.gz from mirrors
[pillow-11.3.0] https://github.com/sagemath/sage/releases/download/10.8/pillow-11.3.0.tar.gz
[pillow-11.3.0] [xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx]
[pillow-11.3.0] ERROR [transfer|run:135]: [Errno socket error] [Errno 404] Not Found: '//github.com/sagemath/sage/releases/download/10.8/pillow-11.3.0.tar.gz'
[pillow-11.3.0] https://github.com/sagemath/sage/releases/download/10.7/pillow-11.3.0.tar.gz
[pillow-11.3.0] [xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx]
[pillow-11.3.0] ERROR [transfer|run:135]: [Errno socket error] [Errno 404] Not Found: '//github.com/sagemath/sage/releases/download/10.7/pillow-11.3.0.tar.gz'
[pillow-11.3.0] https://github.com/sagemath/sage/releases/download/10.6/pillow-11.3.0.tar.gz
[pillow-11.3.0] [xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx]
[pillow-11.3.0] ERROR [transfer|run:135]: [Errno socket error] [Errno 404] Not Found: '//github.com/sagemath/sage/releases/download/10.6/pillow-11.3.0.tar.gz'
[pillow-11.3.0] https://mirror.dogado.de/sage/spkg/upstream/pillow/pillow-11.3.0.tar.gz
[pillow-11.3.0] [xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx]
[pillow-11.3.0] ERROR [transfer|run:135]: [Errno socket error] [Errno 404] Not Found: '//mirror.dogado.de/sage/spkg/upstream/pillow/pillow-11.3.0.tar.gz'
[pillow-11.3.0] https://ftp.rediris.es/mirror/sagemath/spkg/upstream/pillow/pillow-11.3.0.tar.gz


Martin

David Coudert

unread,
Sep 8, 2025, 8:38:09 AMSep 8
to sage-r...@googlegroups.com
On fedora 39, after a make distclean, I get



Setting up build directory /home/dcoudert/sage/local/var/lib/sage/venv-python3.12/var/tmp/sage/build/sagelib-10.8.beta2

Host system: Linux gelati 6.6.4-200.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Sun Dec  3 18:13:11 UTC 2023 x86_64 GNU/Linux

C compiler: gcc, Using built-in specs., COLLECT_GCC=gcc, COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/13/lto-wrapper, OFFLOAD_TARGET_NAMES=nvptx-none, OFFLOAD_TARGET_DEFAULT=1, Target: x86_64-redha

t-linux, Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,objc,obj-c++,ada,go,d,m2,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugz

illa.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --

enable-linker-build-id --with-gcc-major-version-only --enable-libstdcxx-backtrace --with-libstdcxx-zoneinfo=/usr/share/zoneinfo --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl=/

builddir/build/BUILD/gcc-13.2.1-20231205/obj-x86_64-redhat-linux/isl-install --enable-offload-targets=nvptx-none --without-cuda-driver --enable-offload-defaulted --enable-gnu-indirect-function --enable-cet --w

ith-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux --with-build-config=bootstrap-lto --enable-link-serialization=1, Thread model: posix, Supported LTO compression algorithms: zlib zstd, gcc versi

on 13.2.1 20231205 (Red Hat 13.2.1-6) (GCC)

No stamp file for package 'sagelib' in /home/dcoudert/sage/local/var/lib/sage/venv-python3.12/var/lib/sage/installed

No spkg-legacy-uninstall script; nothing to do

[spkg-install] Installing sagelib-10.8.beta2 (editable mode)

[spkg-install] Using pip 24.2 from /home/dcoudert/sage/local/var/lib/sage/venv-python3.12/lib64/python3.12/site-packages/pip (python 3.12)

[spkg-install] Obtaining file:///home/dcoudert/sage

[spkg-install]   Checking if build backend supports build_editable: started

[spkg-install]   Running command Checking if build backend supports build_editable

[spkg-install]   Checking if build backend supports build_editable: finished with status 'done'

[spkg-install]   Preparing editable metadata (pyproject.toml): started

[spkg-install]   Running command Preparing editable metadata (pyproject.toml)

[spkg-install]   + meson setup /home/dcoudert/sage /home/dcoudert/sage/build/sage-distro -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --default-library=static -DSAGE_LOCAL=/home/dcoudert/sage/local -

-native-file=/home/dcoudert/sage/build/sage-distro/meson-python-native-file.ini

[spkg-install]   The Meson build system

[spkg-install]   Version: 1.8.3

[spkg-install]   Source dir: /home/dcoudert/sage

[spkg-install]   Build dir: /home/dcoudert/sage/build/sage-distro

[spkg-install]   Build type: native build

[spkg-install]   Project name: SageMath

[spkg-install]   Project version: 10.8.beta2

[spkg-install]   C compiler for the host machine: gcc (gcc 13.2.1 "gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6)")

[spkg-install]   C linker for the host machine: gcc ld.bfd 2.40-13

[spkg-install]   C++ compiler for the host machine: g++ -std=gnu++11 (gcc 13.2.1 "g++ (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6)")

[spkg-install]   C++ linker for the host machine: g++ -std=gnu++11 ld.bfd 2.40-13

[spkg-install]   Cython compiler for the host machine: cython (cython 3.1.3)

[spkg-install]   Host machine cpu family: x86_64

[spkg-install]   Host machine cpu: x86_64

[spkg-install]   Program python found: YES (/home/dcoudert/sage/local/var/lib/sage/venv-python3.12/bin/python3)

[spkg-install]   Found pkg-config: YES (/usr/bin/pkg-config) 1.9.5

[spkg-install]   Run-time dependency python found: YES 3.12

[spkg-install]   Program python (pytest) found: YES (/home/dcoudert/sage/local/var/lib/sage/venv-python3.12/bin/python3) modules: pytest

[spkg-install]   numpy-config found: YES (/home/dcoudert/sage/local/var/lib/sage/venv-python3.12/bin/numpy-config) 2.3.2

[spkg-install]   Run-time dependency numpy found: YES 2.3.2

[spkg-install]   Run-time dependency gmp found: YES 6.2.1

[spkg-install]   Library pari found: YES

[spkg-install]   Run-time dependency mpfr found: YES 4.2.0

[spkg-install]   Run-time dependency flint found: YES 3.3.1

[spkg-install]   Found CMake: /usr/bin/cmake (3.27.7)

[spkg-install]   Run-time dependency mkl found: NO (tried pkgconfig and cmake)

[spkg-install]   Run-time dependency cblas found: YES 0.3

[spkg-install]   Run-time dependency gsl found: YES 2.7.1

[spkg-install]   Run-time dependency gdlib found: YES 2.3.3

[spkg-install]   Library m found: YES

[spkg-install]   Run-time dependency m4ri found: YES 20250128

[spkg-install]   Run-time dependency m4rie found: YES 20250128

[spkg-install]   Run-time dependency mtx found: NO (tried pkgconfig and cmake)

[spkg-install]   Has header "meataxe.h" : NO

[spkg-install]   Run-time dependency libpng found: YES 1.6.37

[spkg-install]   Run-time dependency zlib found: YES 1.2.13

[spkg-install]   Run-time dependency eclib found: YES 20250627

[spkg-install]   Library ecm found: YES

[spkg-install]   Run-time dependency gmpxx found: YES 6.2.1

[spkg-install]   Run-time dependency fflas-ffpack found: YES 2.5.0

[spkg-install]   Run-time dependency givaro found: YES 4.2.1

[spkg-install]   Run-time dependency linbox found: YES 1.7.0

[spkg-install]   Library mpc found: YES

[spkg-install]   Library mpfi found: YES

[spkg-install]   Run-time dependency libgap found: YES 4.14.0

[spkg-install]   Run-time dependency singular found: YES 4.4.1

[spkg-install]   Library ntl found: YES

[spkg-install]   Run-time dependency Boost (found: graph | missing: tuple) found: NO (tried system)

[spkg-install]   Run-time dependency Boost (found: graph | missing: tuple) found: NO (tried system)

[spkg-install]   Message: Warning: The specified datadir does not contain the necessary Cremona database. Either specify a different datadir or specify a correct the correct path via the environment variable S

AGE_SHARE during runtime.

[spkg-install]   Program ecl-config found: YES (/usr/bin/ecl-config)

[spkg-install]   Run-time dependency OpenMP found: YES 4.5

[spkg-install]   Program gap found: YES (/home/dcoudert/sage/local/bin/gap)

[spkg-install]   Program gmp-ecm found: YES (/usr/bin/gmp-ecm)

[spkg-install]   Run-time dependency libsirocco found: NO (tried pkgconfig and cmake)

[spkg-install]   Library sirocco found: NO

[spkg-install]   Library ecl found: YES

[spkg-install]   Program ecl found: YES (/usr/bin/ecl)

[spkg-install]   Program maxima found: YES (/usr/bin/maxima)

[spkg-install] 

[spkg-install]   Executing subproject maxima

[spkg-install] 

[spkg-install]   maxima| Project name: maxima

[spkg-install]   maxima| Project version: undefined

[spkg-install]   maxima| C compiler for the host machine: gcc (gcc 13.2.1 "gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6)")

[spkg-install]   maxima| C linker for the host machine: gcc ld.bfd 2.40-13

[spkg-install]   maxima| ../../subprojects/maxima-5.47.0/meson.build:5: WARNING: Module External build system has no backwards or forwards compatibility and might not exist in future releases.

[spkg-install]   maxima| Program ecl found: YES (/usr/bin/ecl)

[spkg-install]   maxima| Program /home/dcoudert/sage/subprojects/maxima-5.47.0/configure found: YES (/bin/sh /home/dcoudert/sage/subprojects/maxima-5.47.0/configure)

[spkg-install]   maxima| Program make found: YES

[spkg-install]   maxima| External project maxima-5.47.0: configure

[spkg-install]   maxima| Build targets in project: 9

[spkg-install]   maxima| Subproject maxima finished.

[spkg-install] 

[spkg-install]   Run-time dependency libbraiding found: YES 1.3.1

[spkg-install]   Run-time dependency bdw-gc-threaded found: NO (tried pkgconfig and cmake)

[spkg-install]   Run-time dependency bdw-gc found: YES 8.2.2

[spkg-install]   Run-time dependency libhomfly found: NO (tried pkgconfig and cmake)

[spkg-install]   Has header "homfly.h" : YES

[spkg-install]   Library homfly found: YES

[spkg-install]   Library coxeter3 found: YES

[spkg-install]   Run-time dependency lcalc found: YES 2.1.0

[spkg-install]   Run-time dependency symmetrica found: NO (tried pkgconfig and cmake)

[spkg-install]   Library symmetrica found: YES

[spkg-install] 

[spkg-install]   ../../src/sage/ext/meson.build:31:0: ERROR: Nonexistent build file 'src/sage/ext/interpreters/meson.build'

[spkg-install] 

[spkg-install]   A full log can be found at /home/dcoudert/sage/build/sage-distro/meson-logs/meson-log.txt

[spkg-install]   error: subprocess-exited-with-error

[spkg-install]   

[spkg-install]   × Preparing editable metadata (pyproject.toml) did not run successfully.

[spkg-install]   │ exit code: 1

[spkg-install]   ╰─> See above for output.

[spkg-install]   

[spkg-install]   note: This error originates from a subprocess, and is likely not a problem with pip.

[spkg-install]   full command: /home/dcoudert/sage/local/var/lib/sage/venv-python3.12/bin/python3 /home/dcoudert/sage/local/var/lib/sage/venv-python3.12/lib64/python3.12/site-packages/pip/_vendor/pyproject_hoo

ks/_in_process/_in_process.py prepare_metadata_for_build_editable /tmp/tmp449jlnvb

[spkg-install]   cwd: /home/dcoudert/sage

[spkg-install]   Preparing editable metadata (pyproject.toml): finished with status 'error'

[spkg-install] error: metadata-generation-failed

[spkg-install] 

[spkg-install] × Encountered error while generating package metadata.

[spkg-install] ╰─> See above for output.

[spkg-install] 

[spkg-install] note: This is an issue with the package mentioned above, not pip.

[spkg-install] hint: See above for details.

[spkg-install] **************************************************************************************************************************************************************************************************

***************

[spkg-install] Error installing sagelib-10.8.beta2

[spkg-install] **************************************************************************************************************************************************************************************************

***************

************************************************************************

Error installing package sagelib-10.8.beta2

************************************************************************




-- 
You received this message because you are subscribed to the Google Groups "sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-release...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/sage-release/89ec3c94-410d-4d50-9798-b885690af3c3n%40googlegroups.com.

Dima Pasechnik

unread,
Sep 8, 2025, 11:37:28 AMSep 8
to sage-r...@googlegroups.com
On Mon, Sep 8, 2025 at 7:38 AM David Coudert <david....@gmail.com> wrote:
>
> On fedora 39, after a make distclean, I get

Do you mean to say that "make distclean" is broken?
After an major update, please run ./bootstrap and ./configure first of all.

Makefiles could've changed, configure scripts could've changed.
Expecting that a relatively nontrivial make target will work correctly
without ./bootstrap && ./configure is a wishful thinking.

To clean without invoking make, run something like "git clean -fdx"
(although it cleans more, including everything in upstream/)
> To view this discussion visit https://groups.google.com/d/msgid/sage-release/FF420490-4F86-48DC-B644-378063F9F05F%40gmail.com.

David Coudert

unread,
Sep 8, 2025, 5:11:23 PMSep 8
to sage-r...@googlegroups.com
Make distclean is working well.

After ./boostrap and ./configure, make build is still failing at the same point :(

 

Dima Pasechnik

unread,
Sep 8, 2025, 6:07:17 PMSep 8
to sage-r...@googlegroups.com
So the building of the needed dependencies does not even start, it directly goes to building sagelib? Weird, certainly on Fedora we are not there yet, by far.

Check your environment, there perhaps an old Sage kicking in, SAGEROOT set to something, or Conda install accessible, something like this...

axio...@yahoo.de

unread,
Sep 9, 2025, 3:22:30 AMSep 9
to sage-release
works now, possibly because I ran ./bootstrap...

David Coudert

unread,
Sep 9, 2025, 5:14:15 AMSep 9
to sage-r...@googlegroups.com
Good news: with a fresh session, a fresh clone, ./bootstrap, ./configure, make build succeeds on Fedora 39.

Best,
David.

Enrique Artal

unread,
Sep 9, 2025, 5:16:29 PMSep 9
to sage-release
I was having issues with segfaults in the tests. They disappear after uninstalling bliss system package.

Dima Pasechnik

unread,
Sep 9, 2025, 5:54:33 PMSep 9
to sage-r...@googlegroups.com


On September 9, 2025 4:16:29 PM CDT, Enrique Artal <enriqu...@gmail.com> wrote:
>I was having issues with segfaults in the tests. They disappear after
>uninstalling bliss system package.

Do you see system bliss picked up to use with Sage at build time?

If so, it's a bug in your distro, I suppose.
Can you tell what OS and what bliss version ir is?

>
>El lunes, 8 de septiembre de 2025 a las 6:20:27 UTC+2, Enrique Artal
>escribió:
>
>> Same results with make maintainer-clean.
>>
>> El domingo, 7 de septiembre de 2025 a las 22:55:45 UTC+2, Dima Pasechnik
>> escribió:
>>
>>> for this beta, I'd certainly do "make sagelib-clean sagelib-uninstall"
>>> before trying it out
>>>
>>>
>>> AFAIK, .egg files are something deprecated long ago, why would they keep
>>> popping up?
>>>
>>>
>>> On September 7, 2025 3:50:30 PM CDT, Enrique Artal <enriqu...@gmail.com>
>>> wrote:
>>>
>>>> *.egg is not and old artefact, it comes from this build. What I meant
>>>> for "classical" is:
>>>>
>>>> - I made an incremental build, not starting from the beginning.
>>>> - I used the order make.
>>>> - All this process is done as a regular user, not as root, and

Enrique Artal

unread,
Sep 10, 2025, 12:37:40 AMSep 10
to sage-release
System bliss is picked up, I am in Fedora 42, Bliss version is 0.77 as in sage.

I think you are right, at some point I also disabled to use system gap for some segfaults.

Emmanuel Charpentier

unread,
Sep 12, 2025, 4:51:02 AMSep 12
to sage-release

In Debian testing running on Ryzen 9 + 64 GB RAM, upgrading from 10.7 to 10.8.beta2 gave me various problems :

  • maxima didn’t compile, eclib complaining that boolean couldn’t be defined by typedef ; after several attempts (including a rebuild from scratch after make distclean), I ended up by disabling system’s ecl and eclib and installing system’s maxima-sage.
  • gap_packages does not compile due to (several instances of) this error :
spkg-install] src/orb.c:1389:5: error: initialization of 'struct OpaqueBag * (*)(void)' from incompatible pointer type 'struct OpaqueBag * (*)(struct OpaqueBag *, struct OpaqueBag *)' [-Wincompatible-pointer-types] [spkg-install] 1389 | AVLNewNode_C, [spkg-install] | ^~~~~~~~~~~~ [spkg-install] src/orb.c:1389:5: note: (near initialization for 'GVarFuncs[1].handler') [spkg-install] src/orb.c:132:12: note: 'AVLNewNode_C' declared here [spkg-install] 132 | static Obj AVLNewNode_C( Obj self, Obj t ) [spkg-install] | ^~~~~~~~~~~~

I ended up (temporarily) disabling it.

After these adjustments, I was able to build and run ptestlong, which gave me one transient error :

sage-runtests --long --warn-long 30.0 --random-seed=194510266999920133103647870401425514928 src/sage/rings/complex_arb.pyx # Timed out (and interrupt failed)

and four permanent failures. Three of them :

sage-runtests --long --warn-long 30.0 --random-seed=194510266999920133103647870401425514928 src/sage/rings/polynomial/multi_polynomial_ideal.py # 1 doctest failed sage-runtests --long --warn-long 30.0 --random-seed=194510266999920133103647870401425514928 src/sage/rings/real_mpfr.pyx # 1 doctest failed sage-runtests --long --warn-long 30.0 --random-seed=194510266999920133103647870401425514928 src/sage/rings/polynomial/msolve.py # 14 doctests failed

have already been reported (two of them are differences in the expressions of the same mathematical result, the third is a warning mistaken for an error).

The last failure is new :

sage-runtests --long --warn-long 30.0 --random-seed=194510266999920133103647870401425514928 src/sage/interfaces/fricas.py # 1 doctest failed

Re-running it :

charpent@brique:/usr/local/sage-10$ sage -t --long --warn-long 30.0 --random-seed=194510266999920133103647870401425514928 src/sage/interfaces/fricas.py # 1 doctest failed Running doctests with ID 2025-09-11-23-50-28-403ae53d. Git branch: develop Git ref: 10.6.beta7-4249-g1f459003e01-dirty Running with SAGE_LOCAL='/usr/local/sage-10/local' and SAGE_VENV='/usr/local/sage-10/local/var/lib/sage/venv-python3.13' Using --optional=debian,dot2tex,fricas,giac,pip,pysingular,sage,sage_spkg,sagemath_giac,singular_jupyter Features to be detected: 4ti2,SAGE_SRC,benzene,bliss,buckygen,conway_polynomials,coxeter3,csdp,cvxopt,cvxopt,database_cremona_ellcurve,database_cremona_mini_ellcurve,database_cubic_hecke,database_ellcurves,database_graphs,database_jones_numfield,database_knotinfo,dot2tex,dvipng,ecm,flatter,fpylll,fricas,gap_package_atlasrep,gap_package_design,gap_package_grape,gap_package_guava,gap_package_hap,gap_package_polenta,gap_package_polycyclic,gap_package_qpa,gap_package_quagroup,gfan,giac,glucose,graphviz,imagemagick,info,ipython,jmol,jupymake,jupyter_sphinx,kenzo,khoca,kissat,latte_int,lrcalc_python,lrslib,mathics,matroid_database,mcqd,meataxe,meson_editable,mpmath,msolve,nauty,networkx,numpy,palp,pandoc,pdf2svg,pdftocairo,pexpect,phitigra,pillow,plantri,polytopes_db,polytopes_db_4d,pplpy,primecountpy,ptyprocess,pycosat,pycryptosat,pynormaliz,pyparsing,python_igraph,regina,requests,rpy2,rubiks,sage.combinat,sage.geometry.polyhedron,sage.graphs,sage.groups,sage.libs.braiding,sage.libs.ecl,sage.libs.flint,sage.libs.gap,sage.libs.giac,sage.libs.homfly,sage.libs.linbox,sage.libs.m4ri,sage.libs.ntl,sage.libs.pari,sage.libs.singular,sage.misc.cython,sage.modular,sage.modules,sage.numerical.mip,sage.plot,sage.rings.complex_double,sage.rings.finite_rings,sage.rings.function_field,sage.rings.number_field,sage.rings.padics,sage.rings.polynomial.pbori,sage.rings.real_double,sage.rings.real_mpfr,sage.sat,sage.schemes,sage.symbolic,sage_numerical_backends_coin,sagemath_doc_html,scipy,singular,sirocco,sloane_database,sphinx,symengine_py,sympy,tdlib,threejs,topcom Doctesting 1 file. sage-runtests --long --warn-long 30.0 --random-seed=194510266999920133103647870401425514928 src/sage/interfaces/fricas.py ********************************************************************** File "src/sage/interfaces/fricas.py", line 292, in sage.interfaces.fricas.FriCAS.? Failed example: fricas == loads(dumps(fricas)) Exception raised: Traceback (most recent call last): File "sage/misc/persist.pyx", line 338, in sage.misc.persist.dumps File "sage/structure/sage_object.pyx", line 508, in sage.structure.sage_object.SageObject.dumps File "sage/misc/persist.pyx", line 306, in sage.misc.persist._base_dumps File "sage/misc/persist.pyx", line 830, in sage.misc.persist.SagePickler.dumps TypeError: cannot pickle 'sage.misc.lazy_import.LazyImport' object During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/sage-10/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/sage/doctest/forker.py", line 733, in _run self.compile_and_execute(example, compiler, test.globs) ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/sage-10/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/sage/doctest/forker.py", line 1157, in compile_and_execute exec(compiled, globs) ~~~~^^^^^^^^^^^^^^^^^ File "<doctest sage.interfaces.fricas.FriCAS.?[0]>", line 1, in <module> fricas == loads(dumps(fricas)) ~~~~~^^^^^^^^ File "sage/misc/persist.pyx", line 340, in sage.misc.persist.dumps File "sage/misc/persist.pyx", line 306, in sage.misc.persist._base_dumps File "sage/misc/persist.pyx", line 830, in sage.misc.persist.SagePickler.dumps TypeError: cannot pickle 'sage.misc.lazy_import.LazyImport' object ********************************************************************** 1 item had failures: 1 of 10 in sage.interfaces.fricas.FriCAS.? [279 tests, 1 failure, 9.92s wall] ---------------------------------------------------------------------- sage-runtests --long --warn-long 30.0 --random-seed=194510266999920133103647870401425514928 src/sage/interfaces/fricas.py # 1 doctest failed ---------------------------------------------------------------------- Total time for all tests: 15.0 seconds cpu time: 10.8 seconds cumulative wall time: 9.9 seconds Features detected for doctesting: charpent@brique:/usr/local/sage-10$ sage -t --long --warn-long 30.0 --random-seed=194510266999920133103647870401425514928 src/sage/rings/polynomial/multi_polynomial_ideal.py # 1 doctest failed

HTH,

Henri Girard

unread,
Sep 12, 2025, 7:26:19 AMSep 12
to sage-r...@googlegroups.com

I have the same problem with maxima can't compile ubuntu 25.10 sage 10.7 /10.8 in fact I couldn't compile sage ,  for a long time I haven't any problem

--
You received this message because you are subscribed to the Google Groups "sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-release...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages