Sage 10.2.beta2 released

95 views
Skip to first unread message

Volker Braun

unread,
Sep 10, 2023, 7:25:52 PM9/10/23
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


41031292ff1 (tag: 10.2.beta2, github/develop) Updated SageMath version to 10.2.beta2
f9609a075a9 gh-36208: configure.ac: disable tzlocal with --disable-r
7bd147dd2ea gh-36207: Remove self-`cimport`s
328988d6917 gh-36202: some micro-details in Dyck words and Parking functions
34415585260 gh-36200: Fixing the iterator of SemistandardMultiSkewTableaux
307712daae9 gh-36195: schemes/elliptic_curves: disable a test that takes too long
15a05662985 gh-36192: fix E228 then E225 in rings/
66aacc5b202 gh-36191: fix E228 and E225 in schemes/
7b8b6b62762 gh-36187: use semi-primitive root when checking kernel polynomials of isogenies
50b1d02a177 gh-36185: src/sage/tests: fix another "Computational Math..." doctest
e7d2570d77b gh-36183: `sage.misc.sageinspect`: fix doctest warnings due to modularisation
7b5ac02cf8c gh-36182: fix E228 and E225 in algebras/
81e596e456a gh-36180: more fixes in quadratic forms
8674d9f50b3 gh-36179: Improve methods in `sage.misc.rest_index_of_methods` to fix the documentation of graphs.
8137704f311 gh-36177: fix and activate pycodestyle E305 in py files
f63a4d5b0db gh-36173: Fix quadratic memory of berlekamp_massey
1ebaec78411 gh-36170: Fix the ascii art for the Heisenberg Lie algebras
d11cb0ba5f7 gh-36162: minor details in graph_plot
b6d1322598f gh-36152: `sage.rings`: Update `# needs`
296643c6fef gh-36151: Coxeter arrangement
7bb1e6ba961 gh-36141: Use system python packages with --enable-system-site-packages
7ed5b8b2fa6 gh-36112: Upgrades: scipy 1.11 and dependencies
88ad3a1a7b1 gh-36111: using PyLong API instead of legacy PyInt API
aa1cfd7fcbb gh-36102: `sage.schemes`: Update `# needs`
754e88a7e88 gh-36021: Improve method is_planar
5e841de46c3 gh-36006: Fix tests with gmp 6.3
ad402a32407 gh-35985: More improvements for braid groups involving permutations, and a 2-generator presentation
3e46882052c gh-35939: Support for exponential and gamma distribution
5a64b7c4fbd gh-35907: Deprecate rename_vertices parameter in disjoint_union
54481a5d959 gh-35380: GH Actions: Run incremental portability tests on "c: packages: standard" PRs
6ea1fe936cc (tag: 10.2.beta1) Updated SageMath version to 10.2.beta1

John H Palmieri

unread,
Sep 11, 2023, 1:29:32 AM9/11/23
to sage-release
The Sage library doesn't build for me on two OS X 13.5.2 (+ homebrew) machines. The tail end of the log:

    building 'sage.libs.ecl' extension
    INFO: C compiler: gcc -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -g -O2

    INFO: compile options: '-Isage/libs -I/usr/local/opt/gmp/include -I/usr/local/Cellar/ecl/23.9.9/include -Isage/cpython -I/Users/palmieri/Desktop/Sage/sage_builds/TESTING/sage-10.2.beta2/local/var/lib/sage/venv-python3.11/lib/python3.11/site-packages/cysignals -I/Users/palmieri/Desktop/Sage/sage_builds/TESTING/sage-10.2.beta2/src -I/Users/palmieri/Desktop/Sage/sage_builds/TESTING/sage-10.2.beta2/local/var/lib/sage/venv-python3.11/lib/python3.11/site-packages/numpy/core/include -I/usr/local/opt/pyt...@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -I/Users/palmieri/Desktop/Sage/sage_builds/TESTING/sage-10.2.beta2/local/var/lib/sage/venv-python3.11/include -I/usr/local/opt/pyt...@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c'
    extra options: '-Ddarwin'
    INFO: gcc: sage/libs/ecl.c
    In file included from sage/libs/ecl.c:3373:
    sage/libs/eclsig.h:53:13: error: no member named 'big_num' in 'struct ecl_bignum'
        mpz_set(ecl_mpz_from_bignum(z), num);
                ^~~~~~~~~~~~~~~~~~~~~~
    sage/libs/eclsig.h:48:46: note: expanded from macro 'ecl_mpz_from_bignum'
    #define ecl_mpz_from_bignum(obj) ((obj)->big.big_num)
                                      ~~~~~~~~~~ ^
    sage/libs/ecl.c:7415:199: error: no member named 'big_num' in 'struct ecl_bignum'
        ((struct __pyx_vtabstruct_4sage_5rings_7integer_Integer *)__pyx_v_N->__pyx_base.__pyx_base.__pyx_base.__pyx_base.__pyx_base.__pyx_base.__pyx_base.__pyx_base.__pyx_vtab)->set_from_mpz(__pyx_v_N, ecl_mpz_from_bignum(__pyx_v_o));
                                                                                                                                                                                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    sage/libs/eclsig.h:48:46: note: expanded from macro 'ecl_mpz_from_bignum'
    #define ecl_mpz_from_bignum(obj) ((obj)->big.big_num)
                                      ~~~~~~~~~~ ^
    2 errors generated.
    error: Command "gcc -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -g -O2 -Isage/libs -I/usr/local/opt/gmp/include -I/usr/local/Cellar/ecl/23.9.9/include -Isage/cpython -I/Users/palmieri/Desktop/Sage/sage_builds/TESTING/sage-10.2.beta2/local/var/lib/sage/venv-python3.11/lib/python3.11/site-packages/cysignals -I/Users/palmieri/Desktop/Sage/sage_builds/TESTING/sage-10.2.beta2/src -I/Users/palmieri/Desktop/Sage/sage_builds/TESTING/sage-10.2.beta2/local/var/lib/sage/venv-python3.11/lib/python3.11/site-packages/numpy/core/include -I/usr/local/opt/pyt...@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -I/Users/palmieri/Desktop/Sage/sage_builds/TESTING/sage-10.2.beta2/local/var/lib/sage/venv-python3.11/include -I/usr/local/opt/pyt...@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c sage/libs/ecl.c -o build/temp.macosx-13-x86_64-cpython-311/sage/libs/ecl.o -Ddarwin" failed with exit status 1
    error: subprocess-exited-with-error
   
    × python setup.py develop did not run successfully.
    │ exit code: 1
    ╰─> See above for output.
   
    note: This error originates from a subprocess, and is likely not a problem with pip.
    full command: /Users/palmieri/Desktop/Sage/sage_builds/TESTING/sage-10.2.beta2/local/var/lib/sage/venv-python3.11/bin/python3 -c '
    exec(compile('"'"''"'"''"'"'
    # This is <pip-setuptools-caller> -- a caller that pip uses to run setup.py
    #
    # - It imports setuptools before invoking setup.py, to enable projects that directly
    #   import from `distutils.core` to work with newer packaging standards.
    # - It provides a clear error message when setuptools is not installed.
    # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so
    #   setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning:
    #     manifest_maker: standard file '"'"'-c'"'"' not found".
    # - It generates a shim setup.py, for handling setup.cfg-only projects.
    import os, sys, tokenize
   
    try:
        import setuptools
    except ImportError as error:
        print(
            "ERROR: Can not execute `setup.py` since setuptools is not available in "
            "the build environment.",
            file=sys.stderr,
        )
        sys.exit(1)
   
    __file__ = %r
    sys.argv[0] = __file__
   
    if os.path.exists(__file__):
        filename = __file__
        with tokenize.open(__file__) as f:
            setup_py_code = f.read()
    else:
        filename = "<auto-generated setuptools caller>"
        setup_py_code = "from setuptools import setup; setup()"
   
    exec(compile(setup_py_code, filename, "exec"))
    '"'"''"'"''"'"' % ('"'"'/Users/palmieri/Desktop/Sage/sage_builds/TESTING/sage-10.2.beta2/src/setup.py'"'"',), "<pip-setuptools-caller>", "exec"))' --no-user-cfg develop --no-deps
    cwd: /Users/palmieri/Desktop/Sage/sage_builds/TESTING/sage-10.2.beta2/src/
error: subprocess-exited-with-error

× python setup.py develop did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
********************************************************************************
Error installing
********************************************************************************

John H Palmieri

unread,
Sep 11, 2023, 1:59:12 AM9/11/23
to sage-release
And now I see a similar failure with 10.2.beta1. It could be the latest OS X upgrade.

Gonzalo Tornaría

unread,
Sep 11, 2023, 11:36:29 AM9/11/23
to sage-release

John H Palmieri

unread,
Sep 11, 2023, 4:55:12 PM9/11/23
to sage-release
That helped, thank you.

Emmanuel Charpentier

unread,
Sep 12, 2023, 7:05:07 AM9/12/23
to sage-release

On Debian testing running on core i7 + 16 GB RAM, upgrading 10.2.beta1 to 10.2.beta2 and running ptestlong gives two permanent failures :

---------------------------------------------------------------------- sage -t --long --warn-long 215.1 --random-seed=113667280999692443400711992154116895484 src/sage/combinat/posets/posets.py # 1 doctest failed sage -t --long --warn-long 215.1 --random-seed=113667280999692443400711992154116895484 src/sage/functions/special.py # 2 doctests failed ----------------------------------------------------------------------

both having been already reportedfor a couple betas.

HTH,

Kazuyoshi Furutaka

unread,
Sep 16, 2023, 3:23:28 AM9/16/23
to sage-r...@googlegroups.com
The build of 10.2.beta2 by following the procedure described in
failed on my Fedora-38(x86_64) system as the following:

 ***********************************************
make[2]: Entering directory '/home/furutaka/work/sage/sage-10.2.beta2-condaSys/build/make'
make --no-print-directory /home/furutaka/mambaforge/envs/sage-build/var/lib/sage/installed/.dummy
make[3]: '/home/furutaka/mambaforge/envs/sage-build/var/lib/sage/installed/.dummy' is up to date.
make --no-print-directory /home/furutaka/mambaforge/envs/sage-build/var/lib/sage/installed/.dummy
make[3]: '/home/furutaka/mambaforge/envs/sage-build/var/lib/sage/installed/.dummy' is up to date.
make --no-print-directory /home/furutaka/mambaforge/envs/sage-build/var/lib/sage/installed/.dummy
make[3]: '/home/furutaka/mambaforge/envs/sage-build/var/lib/sage/installed/.dummy' is up to date.
make --no-print-directory /home/furutaka/mambaforge/envs/sage-build/var/lib/sage/installed/.dummy
make[3]: '/home/furutaka/mambaforge/envs/sage-build/var/lib/sage/installed/.dummy' is up to date.
make --no-print-directory all-sage-docs all-sage
/home/furutaka/mambaforge/envs/sage-build/bin/python /home/furutaka/work/sage/sage-10.2.beta2-condaSys/build/bin/sage-venv  "/home/furutaka/mambaforge/envs/sage-build"
Unable to symlink '/home/furutaka/mambaforge/envs/sage-build/bin/python3.11' to '/home/furutaka/mambaforge/envs/sage-build/bin/python3.11'
Traceback (most recent call last):
  File "/home/furutaka/work/sage/sage-10.2.beta2-condaSys/build/bin/sage-venv", line 54, in <module>
    b.setup_python(c)
  File "/home/furutaka/mambaforge/envs/sage-build/lib/python3.11/venv/__init__.py", line 292, in setup_python
    copier(context.executable, path)
  File "/home/furutaka/mambaforge/envs/sage-build/lib/python3.11/venv/__init__.py", line 235, in symlink_or_copy
    shutil.copyfile(src, dst)
  File "/home/furutaka/mambaforge/envs/sage-build/lib/python3.11/shutil.py", line 236, in copyfile
    raise SameFileError("{!r} and {!r} are the same file".format(src, dst))
shutil.SameFileError: '/home/furutaka/mambaforge/envs/sage-build/bin/python3.11' and '/home/furutaka/mambaforge/envs/sage-build/bin/python3.11' are the same file
make[3]: *** [Makefile:2831: /home/furutaka/mambaforge/envs/sage-build/var/lib/sage/installed/python3_venv-3.11--home-furutaka-mambaforge-envs-sage-build-bin-python] Error 1
make[2]: *** [Makefile:2841: all-start] Error 2
make[2]: Leaving directory '/home/furutaka/work/sage/sage-10.2.beta2-condaSys/build/make'

real 0m0.183s
user 0m0.162s
sys 0m0.021s
***************************************************************
Error building Sage.

The following package(s) may have failed to build (not necessarily
during this run of 'make all-start'):

It is safe to delete any log files and build directories, but they
contain information that is helpful for debugging build problems.
WARNING: If you now run 'make' again, the build directory of the
same version of the package will, by default, be deleted. Set the
environment variable SAGE_KEEP_BUILT_SPKGS=yes to prevent this.

make[1]: *** [Makefile:40: all-start] Error 1
make[1]: Leaving directory '/home/furutaka/work/sage/sage-10.2.beta2-condaSys'
make: *** [Makefile:13: all] Error 2

Kazuyoshi

2023年9月11日(月) 8:25 Volker Braun <vbrau...@gmail.com>:
--
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 on the web visit https://groups.google.com/d/msgid/sage-release/7f9f6351-e406-4843-ab8c-7ecd0af61af8n%40googlegroups.com.


--
Kazuyoshi Furutaka
config.log

Kazuyoshi Furutaka

unread,
Sep 16, 2023, 3:23:32 AM9/16/23
to sage-r...@googlegroups.com


2023年9月16日(土) 15:40 Kazuyoshi Furutaka <furutaka....@gmail.com>:
The build of 10.2.beta2 by following the procedure described in
failed on my Fedora-38(x86_64) system as the following:
Ah, actually, `mamba env update ...` instead of `conda env create ...`

Kazuyoshi

Kazuyoshi Furutaka

unread,
Sep 16, 2023, 7:11:26 AM9/16/23
to sage-r...@googlegroups.com


2023年9月16日(土) 15:59 Kazuyoshi Furutaka <furutaka....@gmail.com>:

After doing various things, the problem seems to have been gone;
maybe the effect of `conda update -n base -c conda-forge conda`?
Sorry for the trouble...
--
Kazuyoshi Furutaka
Reply all
Reply to author
Forward
0 new messages