Thanks for the release.
On my side, I am stuck with the following. I was having the same issue with the previous version. I saw I was not alone, but I still don't know what is the solution? Anybody know? Make distclean?
Sébastien
[sagelib-9.8.rc0] installing. Log file: /home/slabbe/GitBox/sage/logs/pkgs/sagelib-9.8.rc0.log
[sagelib-9.8.rc0] error installing, exit status 1. End of log file:
[sagelib-9.8.rc0] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[sagelib-9.8.rc0] sage/misc/nested_class.c:1341:43: note: in expansion of macro ‘__Pyx_TRASHCAN_BEGIN_CONDITION’
[sagelib-9.8.rc0] 1341 | #define __Pyx_TRASHCAN_BEGIN(op, dealloc) __Pyx_TRASHCAN_BEGIN_CONDITION(op,\
[sagelib-9.8.rc0] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[sagelib-9.8.rc0] sage/misc/nested_class.c:2680:3: note: in expansion of macro ‘__Pyx_TRASHCAN_BEGIN’
[sagelib-9.8.rc0] 2680 | __Pyx_TRASHCAN_BEGIN(o, __pyx_tp_dealloc_4sage_4misc_12nested_class_NestedClassMetaclass)
[sagelib-9.8.rc0] | ^~~~~~~~~~~~~~~~~~~~
[sagelib-9.8.rc0] sage/misc/nested_class.c:1338:17: warning: implicit declaration of function ‘_PyTrash_thread_destroy_chain’ [-Wimplicit-function-declaration]
[sagelib-9.8.rc0] 1338 | _PyTrash_thread_destroy_chain();\
[sagelib-9.8.rc0] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[sagelib-9.8.rc0] sage/misc/nested_class.c:2683:3: note: in expansion of macro ‘__Pyx_TRASHCAN_END’
[sagelib-9.8.rc0] 2683 | __Pyx_TRASHCAN_END
[sagelib-9.8.rc0] | ^~~~~~~~~~~~~~~~~~
[sagelib-9.8.rc0] error: Command "gcc-9 -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -g -O2 -g -O2 -fPIC -I/home/slabbe/GitBox/sage/src -I/home/slabbe/GitBox/sage/local/var/lib/sage/venv-python3.11.1/lib/python3.11/site-packages/numpy/core/include -I/home/slabbe/GitBox/sage/local/var/lib/sage/venv-python3.11.1/include/python3.11 -I/home/slabbe/GitBox/sage/local/var/lib/sage/venv-python3.11.1/include/python3.11 -c sage/categories/category_cy_helper.c -o build/temp.linux-x86_64-cpython-311/sage/categories/category_cy_helper.o" failed with exit status 1
[sagelib-9.8.rc0] error: subprocess-exited-with-error
[sagelib-9.8.rc0]
[sagelib-9.8.rc0] × python setup.py develop did not run successfully.
[sagelib-9.8.rc0] │ exit code: 1
[sagelib-9.8.rc0] ╰─> See above for output.
[sagelib-9.8.rc0]
[sagelib-9.8.rc0] note: This error originates from a subprocess, and is likely not a problem with pip.
[sagelib-9.8.rc0] full command: /home/slabbe/GitBox/sage/local/var/lib/sage/venv-python3.11.1/bin/python3 -c '
[sagelib-9.8.rc0] exec(compile('"'"''"'"''"'"'
[sagelib-9.8.rc0] # This is <pip-setuptools-caller> -- a caller that pip uses to run setup.py
[sagelib-9.8.rc0] #
[sagelib-9.8.rc0] # - It imports setuptools before invoking setup.py, to enable projects that directly
[sagelib-9.8.rc0] # import from `distutils.core` to work with newer packaging standards.
[sagelib-9.8.rc0] # - It provides a clear error message when setuptools is not installed.
[sagelib-9.8.rc0] # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so
[sagelib-9.8.rc0] # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning:
[sagelib-9.8.rc0] # manifest_maker: standard file '"'"'-c'"'"' not found".
[sagelib-9.8.rc0] # - It generates a shim setup.py, for handling setup.cfg-only projects.
[sagelib-9.8.rc0] import os, sys, tokenize
[sagelib-9.8.rc0]
[sagelib-9.8.rc0] try:
[sagelib-9.8.rc0] import setuptools
[sagelib-9.8.rc0] except ImportError as error:
[sagelib-9.8.rc0] print(
[sagelib-9.8.rc0] "ERROR: Can not execute `setup.py` since setuptools is not available in "
[sagelib-9.8.rc0] "the build environment.",
[sagelib-9.8.rc0] file=sys.stderr,
[sagelib-9.8.rc0] )
[sagelib-9.8.rc0] sys.exit(1)
[sagelib-9.8.rc0]
[sagelib-9.8.rc0] __file__ = %r
[sagelib-9.8.rc0] sys.argv[0] = __file__
[sagelib-9.8.rc0]
[sagelib-9.8.rc0] if os.path.exists(__file__):
[sagelib-9.8.rc0] filename = __file__
[sagelib-9.8.rc0] with tokenize.open(__file__) as f:
[sagelib-9.8.rc0] setup_py_code = f.read()
[sagelib-9.8.rc0] else:
[sagelib-9.8.rc0] filename = "<auto-generated setuptools caller>"
[sagelib-9.8.rc0] setup_py_code = "from setuptools import setup; setup()"
[sagelib-9.8.rc0]
[sagelib-9.8.rc0] exec(compile(setup_py_code, filename, "exec"))
[sagelib-9.8.rc0] '"'"''"'"''"'"' % ('"'"'/home/slabbe/GitBox/sage/src/setup.py'"'"',), "<pip-setuptools-caller>", "exec"))' --no-user-cfg develop --no-deps
[sagelib-9.8.rc0] cwd: /home/slabbe/GitBox/sage/src/
[sagelib-9.8.rc0] error: subprocess-exited-with-error
[sagelib-9.8.rc0]
[sagelib-9.8.rc0] × python setup.py develop did not run successfully.
[sagelib-9.8.rc0] │ exit code: 1
[sagelib-9.8.rc0] ╰─> See above for output.
[sagelib-9.8.rc0]
[sagelib-9.8.rc0] note: This error originates from a subprocess, and is likely not a problem with pip.
[sagelib-9.8.rc0] *****************************************************************************************************
[sagelib-9.8.rc0] Error installing
[sagelib-9.8.rc0] *****************************************************************************************************
[sagelib-9.8.rc0]
[sagelib-9.8.rc0] real 0m12,552s
[sagelib-9.8.rc0] user 0m11,883s
[sagelib-9.8.rc0] sys 0m1,472s
[sagelib-9.8.rc0] Full log file: /home/slabbe/GitBox/sage/logs/pkgs/sagelib-9.8.rc0.log