I might had to use python3.13 -m pip install --upgrade pip setuptools I don't remember more than that.
On Friday, 5 December 2025 at 19:29:06 UTC+1 [email protected] wrote: > Hi Domingo, > we wonder what exactly you did to install on Fedora 43 with Python > 3.13. Cause we have problems. > > On Fri, Dec 5, 2025 at 11:41 AM Domingo Gómez > <[email protected]> wrote: > > > > Dear all, > > > > I wanted to thank you all of you, sage is working. Thanks Dima and > Volker for your help. > > > > On Wednesday, 3 December 2025 at 19:42:49 UTC+1 Volker Braun wrote: > >> > >> sage-10.8.beta9 builds on Fedora 43 for me, fwiw > >> > >> On Wednesday, December 3, 2025 at 7:33:23 PM UTC+1 Dima Pasechnik wrote: > >>> > >>> The easiest fix for this would be > >>> > >>> sudo dnf install python3.13-devel python3.13 > >>> > >>> and then, after removing > >>> > >>> /home/gomezd/Git_Repositories/sage-10.8.beta9/sagealpha/bin/ > >>> /home/linuxbrew/.linuxbrew/bin/ > >>> > >>> from your PATH > >>> > >>> run > >>> > >>> ./configure --with-python=python3.13 && make > >>> > >>> HTH > >>> Dima > >>> > >>> On Wed, Dec 3, 2025 at 11:22 AM Domingo Gómez > >>> <[email protected]> wrote: > >>> > > >>> > Thank you for your response. > >>> > If Linuxbrew is not supported, then I will build it with the > packages from Fedora. > >>> > I trying the same, but not the error is different. > >>> > > >>> > make[2]: se entra en el directorio > '/home/gomezd/Git_Repositories/sage-10.8.beta9/build/make' > >>> > make --no-print-directory > /home/gomezd/Git_Repositories/sage-10.8.beta9/local/var/lib/sage/installed/.dummy > >>> > make[3]: > '/home/gomezd/Git_Repositories/sage-10.8.beta9/local/var/lib/sage/installed/.dummy' > > está actualizado. > >>> > make --no-print-directory > /home/gomezd/Git_Repositories/sage-10.8.beta9/local/var/lib/sage/installed/.dummy > >>> > make[3]: > '/home/gomezd/Git_Repositories/sage-10.8.beta9/local/var/lib/sage/installed/.dummy' > > está actualizado. > >>> > make --no-print-directory > /home/gomezd/Git_Repositories/sage-10.8.beta9/local/var/lib/sage/installed/.dummy > >>> > make[3]: > '/home/gomezd/Git_Repositories/sage-10.8.beta9/local/var/lib/sage/installed/.dummy' > > está actualizado. > >>> > make --no-print-directory all-sage-docs all-sage > >>> > make --no-print-directory pip-SAGE_VENV-no-deps > >>> > [pip-24.2] ERROR [hashlib|<module>:248]: code for hash md5 was not > found. > >>> > [pip-24.2] Traceback (most recent call last): > >>> > [pip-24.2] File > "/home/gomezd/Git_Repositories/sage-10.8.beta9/local/var/lib/sage/venv-python3.12.5/lib/python3.12/hashlib.py", > > line 245, in <module> > >>> > [pip-24.2] globals()[__func_name] = __get_hash(__func_name) > >>> > [pip-24.2] ^^^^^^^^^^^^^^^^^^^^^^^ > >>> > [pip-24.2] File > "/home/gomezd/Git_Repositories/sage-10.8.beta9/local/var/lib/sage/venv-python3.12.5/lib/python3.12/hashlib.py", > > line 123, in __get_builtin_constructor > >>> > [pip-24.2] raise ValueError('unsupported hash type ' + name) > >>> > [pip-24.2] ValueError: unsupported hash type md5 > >>> > [pip-24.2] ERROR [hashlib|<module>:248]: code for hash sha1 was not > found. > >>> > [pip-24.2] Traceback (most recent call last): > >>> > [pip-24.2] File > "/home/gomezd/Git_Repositories/sage-10.8.beta9/local/var/lib/sage/venv-python3.12.5/lib/python3.12/hashlib.py", > > line 245, in <module> > >>> > [pip-24.2] globals()[__func_name] = __get_hash(__func_name) > >>> > [pip-24.2] ^^^^^^^^^^^^^^^^^^^^^^^ > >>> > [pip-24.2] File > "/home/gomezd/Git_Repositories/sage-10.8.beta9/local/var/lib/sage/venv-python3.12.5/lib/python3.12/hashlib.py", > > line 123, in __get_builtin_constructor > >>> > [pip-24.2] raise ValueError('unsupported hash type ' + name) > >>> > [pip-24.2] ValueError: unsupported hash type sha1 > >>> > [pip-24.2] ERROR [hashlib|<module>:248]: code for hash sha224 was > not found. > >>> > [pip-24.2] Traceback (most recent call last): > >>> > [pip-24.2] File > "/home/gomezd/Git_Repositories/sage-10.8.beta9/local/var/lib/sage/venv-python3.12.5/lib/python3.12/hashlib.py", > > line 245, in <module> > >>> > [pip-24.2] globals()[__func_name] = __get_hash(__func_name) > >>> > [pip-24.2] ^^^^^^^^^^^^^^^^^^^^^^^ > >>> > [pip-24.2] File > "/home/gomezd/Git_Repositories/sage-10.8.beta9/local/var/lib/sage/venv-python3.12.5/lib/python3.12/hashlib.py", > > line 123, in __get_builtin_constructor > >>> > [pip-24.2] raise ValueError('unsupported hash type ' + name) > >>> > [pip-24.2] ValueError: unsupported hash type sha224 > >>> > [pip-24.2] ERROR [hashlib|<module>:248]: code for hash sha256 was > not found. > >>> > [pip-24.2] Traceback (most recent call last): > >>> > [pip-24.2] File > "/home/gomezd/Git_Repositories/sage-10.8.beta9/local/var/lib/sage/venv-python3.12.5/lib/python3.12/hashlib.py", > > line 245, in <module> > >>> > [pip-24.2] globals()[__func_name] = __get_hash(__func_name) > >>> > [pip-24.2] ^^^^^^^^^^^^^^^^^^^^^^^ > >>> > [pip-24.2] File > "/home/gomezd/Git_Repositories/sage-10.8.beta9/local/var/lib/sage/venv-python3.12.5/lib/python3.12/hashlib.py", > > line 123, in __get_builtin_constructor > >>> > [pip-24.2] raise ValueError('unsupported hash type ' + name) > >>> > [pip-24.2] ValueError: unsupported hash type sha256 > >>> > [pip-24.2] ERROR [hashlib|<module>:248]: code for hash sha384 was > not found. > >>> > [pip-24.2] Traceback (most recent call last): > >>> > [pip-24.2] File > "/home/gomezd/Git_Repositories/sage-10.8.beta9/local/var/lib/sage/venv-python3.12.5/lib/python3.12/hashlib.py", > > line 245, in <module> > >>> > [pip-24.2] globals()[__func_name] = __get_hash(__func_name) > >>> > [pip-24.2] ^^^^^^^^^^^^^^^^^^^^^^^ > >>> > [pip-24.2] File > "/home/gomezd/Git_Repositories/sage-10.8.beta9/local/var/lib/sage/venv-python3.12.5/lib/python3.12/hashlib.py", > > line 123, in __get_builtin_constructor > >>> > [pip-24.2] raise ValueError('unsupported hash type ' + name) > >>> > [pip-24.2] ValueError: unsupported hash type sha384 > >>> > [pip-24.2] ERROR [hashlib|<module>:248]: code for hash sha512 was > not found. > >>> > [pip-24.2] Traceback (most recent call last): > >>> > [pip-24.2] File > "/home/gomezd/Git_Repositories/sage-10.8.beta9/local/var/lib/sage/venv-python3.12.5/lib/python3.12/hashlib.py", > > line 245, in <module> > >>> > [pip-24.2] globals()[__func_name] = __get_hash(__func_name) > >>> > [pip-24.2] ^^^^^^^^^^^^^^^^^^^^^^^ > >>> > [pip-24.2] File > "/home/gomezd/Git_Repositories/sage-10.8.beta9/local/var/lib/sage/venv-python3.12.5/lib/python3.12/hashlib.py", > > line 123, in __get_builtin_constructor > >>> > [pip-24.2] raise ValueError('unsupported hash type ' + name) > >>> > [pip-24.2] ValueError: unsupported hash type sha512 > >>> > [pip-24.2] ERROR [hashlib|<module>:248]: code for hash blake2b was > not found. > >>> > [pip-24.2] Traceback (most recent call last): > >>> > [pip-24.2] File > "/home/gomezd/Git_Repositories/sage-10.8.beta9/local/var/lib/sage/venv-python3.12.5/lib/python3.12/hashlib.py", > > line 245, in <module> > >>> > [pip-24.2] globals()[__func_name] = __get_hash(__func_name) > >>> > [pip-24.2] ^^^^^^^^^^^^^^^^^^^^^^^ > >>> > [pip-24.2] File > "/home/gomezd/Git_Repositories/sage-10.8.beta9/local/var/lib/sage/venv-python3.12.5/lib/python3.12/hashlib.py", > > line 123, in __get_builtin_constructor > >>> > [pip-24.2] raise ValueError('unsupported hash type ' + name) > >>> > [pip-24.2] ValueError: unsupported hash type blake2b > >>> > [pip-24.2] ERROR [hashlib|<module>:248]: code for hash blake2s was > not found. > >>> > [pip-24.2] Traceback (most recent call last): > >>> > [pip-24.2] File > "/home/gomezd/Git_Repositories/sage-10.8.beta9/local/var/lib/sage/venv-python3.12.5/lib/python3.12/hashlib.py", > > line 245, in <module> > >>> > [pip-24.2] globals()[__func_name] = __get_hash(__func_name) > >>> > [pip-24.2] ^^^^^^^^^^^^^^^^^^^^^^^ > >>> > [pip-24.2] File > "/home/gomezd/Git_Repositories/sage-10.8.beta9/local/var/lib/sage/venv-python3.12.5/lib/python3.12/hashlib.py", > > line 123, in __get_builtin_constructor > >>> > [pip-24.2] raise ValueError('unsupported hash type ' + name) > >>> > [pip-24.2] ValueError: unsupported hash type blake2s > >>> > [pip-24.2] ERROR [hashlib|<module>:248]: code for hash sha3_224 was > not found. > >>> > [pip-24.2] Traceback (most recent call last): > >>> > [pip-24.2] File > "/home/gomezd/Git_Repositories/sage-10.8.beta9/local/var/lib/sage/venv-python3.12.5/lib/python3.12/hashlib.py", > > line 245, in <module> > >>> > [pip-24.2] globals()[__func_name] = __get_hash(__func_name) > >>> > [pip-24.2] ^^^^^^^^^^^^^^^^^^^^^^^ > >>> > [pip-24.2] File > "/home/gomezd/Git_Repositories/sage-10.8.beta9/local/var/lib/sage/venv-python3.12.5/lib/python3.12/hashlib.py", > > line 123, in __get_builtin_constructor > >>> > [pip-24.2] raise ValueError('unsupported hash type ' + name) > >>> > [pip-24.2] ValueError: unsupported hash type sha3_224 > >>> > [pip-24.2] ERROR [hashlib|<module>:248]: code for hash sha3_256 was > not found. > >>> > [pip-24.2] Traceback (most recent call last): > >>> > [pip-24.2] File > "/home/gomezd/Git_Repositories/sage-10.8.beta9/local/var/lib/sage/venv-python3.12.5/lib/python3.12/hashlib.py", > > line 245, in <module> > >>> > [pip-24.2] globals()[__func_name] = __get_hash(__func_name) > >>> > [pip-24.2] ^^^^^^^^^^^^^^^^^^^^^^^ > >>> > [pip-24.2] File > "/home/gomezd/Git_Repositories/sage-10.8.beta9/local/var/lib/sage/venv-python3.12.5/lib/python3.12/hashlib.py", > > line 123, in __get_builtin_constructor > >>> > [pip-24.2] raise ValueError('unsupported hash type ' + name) > >>> > [pip-24.2] ValueError: unsupported hash type sha3_256 > >>> > [pip-24.2] ERROR [hashlib|<module>:248]: code for hash sha3_384 was > not found. > >>> > [pip-24.2] Traceback (most recent call last): > >>> > [pip-24.2] File > "/home/gomezd/Git_Repositories/sage-10.8.beta9/local/var/lib/sage/venv-python3.12.5/lib/python3.12/hashlib.py", > > line 245, in <module> > >>> > [pip-24.2] globals()[__func_name] = __get_hash(__func_name) > >>> > [pip-24.2] ^^^^^^^^^^^^^^^^^^^^^^^ > >>> > [pip-24.2] File > "/home/gomezd/Git_Repositories/sage-10.8.beta9/local/var/lib/sage/venv-python3.12.5/lib/python3.12/hashlib.py", > > line 123, in __get_builtin_constructor > >>> > [pip-24.2] raise ValueError('unsupported hash type ' + name) > >>> > [pip-24.2] ValueError: unsupported hash type sha3_384 > >>> > [pip-24.2] ERROR [hashlib|<module>:248]: code for hash sha3_512 was > not found. > >>> > [pip-24.2] Traceback (most recent call last): > >>> > [pip-24.2] File > "/home/gomezd/Git_Repositories/sage-10.8.beta9/local/var/lib/sage/venv-python3.12.5/lib/python3.12/hashlib.py", > > line 245, in <module> > >>> > [pip-24.2] globals()[__func_name] = __get_hash(__func_name) > >>> > [pip-24.2] ^^^^^^^^^^^^^^^^^^^^^^^ > >>> > [pip-24.2] File > "/home/gomezd/Git_Repositories/sage-10.8.beta9/local/var/lib/sage/venv-python3.12.5/lib/python3.12/hashlib.py", > > line 123, in __get_builtin_constructor > >>> > [pip-24.2] raise ValueError('unsupported hash type ' + name) > >>> > [pip-24.2] ValueError: unsupported hash type sha3_512 > >>> > [pip-24.2] ERROR [hashlib|<module>:248]: code for hash shake_128 was > not found. > >>> > [pip-24.2] Traceback (most recent call last): > >>> > [pip-24.2] File > "/home/gomezd/Git_Repositories/sage-10.8.beta9/local/var/lib/sage/venv-python3.12.5/lib/python3.12/hashlib.py", > > line 245, in <module> > >>> > [pip-24.2] globals()[__func_name] = __get_hash(__func_name) > >>> > [pip-24.2] ^^^^^^^^^^^^^^^^^^^^^^^ > >>> > [pip-24.2] File > "/home/gomezd/Git_Repositories/sage-10.8.beta9/local/var/lib/sage/venv-python3.12.5/lib/python3.12/hashlib.py", > > line 123, in __get_builtin_constructor > >>> > [pip-24.2] raise ValueError('unsupported hash type ' + name) > >>> > [pip-24.2] ValueError: unsupported hash type shake_128 > >>> > [pip-24.2] ERROR [hashlib|<module>:248]: code for hash shake_256 was > not found. > >>> > [pip-24.2] Traceback (most recent call last): > >>> > [pip-24.2] File > "/home/gomezd/Git_Repositories/sage-10.8.beta9/local/var/lib/sage/venv-python3.12.5/lib/python3.12/hashlib.py", > > line 245, in <module> > >>> > [pip-24.2] globals()[__func_name] = __get_hash(__func_name) > >>> > [pip-24.2] ^^^^^^^^^^^^^^^^^^^^^^^ > >>> > [pip-24.2] File > "/home/gomezd/Git_Repositories/sage-10.8.beta9/local/var/lib/sage/venv-python3.12.5/lib/python3.12/hashlib.py", > > line 123, in __get_builtin_constructor > >>> > [pip-24.2] raise ValueError('unsupported hash type ' + name) > >>> > [pip-24.2] ValueError: unsupported hash type shake_256 > >>> > [pip-24.2] Traceback (most recent call last): > >>> > [pip-24.2] File > "/home/gomezd/Git_Repositories/sage-10.8.beta9/local/var/lib/sage/venv-python3.12.5/lib/python3.12/random.py", > > line 68, in <module> > >>> > [pip-24.2] from _sha2 import sha512 as _sha512 > >>> > [pip-24.2] ModuleNotFoundError: No module named '_sha2' > >>> > [pip-24.2] > >>> > [pip-24.2] During handling of the above exception, another exception > occurred: > >>> > [pip-24.2] > >>> > [pip-24.2] Traceback (most recent call last): > >>> > [pip-24.2] File > "/home/gomezd/Git_Repositories/sage-10.8.beta9/build/bin/sage-package", > line 38, in <module> > >>> > [pip-24.2] from sage_bootstrap.cmdline import run > >>> > [pip-24.2] File > "/home/gomezd/Git_Repositories/sage-10.8.beta9/build/bin/../sage_bootstrap/cmdline.py", > > line 33, in <module> > >>> > [pip-24.2] from sage_bootstrap.app import Application > >>> > [pip-24.2] File > "/home/gomezd/Git_Repositories/sage-10.8.beta9/build/bin/../sage_bootstrap/app.py", > > line 34, in <module> > >>> > [pip-24.2] from sage_bootstrap.tarball import Tarball, > FileNotMirroredError > >>> > [pip-24.2] File > "/home/gomezd/Git_Repositories/sage-10.8.beta9/build/bin/../sage_bootstrap/tarball.py", > > line 23, in <module> > >>> > [pip-24.2] from sage_bootstrap.download import Download, MirrorList > >>> > [pip-24.2] File > "/home/gomezd/Git_Repositories/sage-10.8.beta9/build/bin/../sage_bootstrap/download/__init__.py", > > line 7, in <module> > >>> > [pip-24.2] from sage_bootstrap.download.transfer import Download > >>> > [pip-24.2] File > "/home/gomezd/Git_Repositories/sage-10.8.beta9/build/bin/../sage_bootstrap/download/transfer.py", > > line 24, in <module> > >>> > [pip-24.2] from urllib.request import build_opener, install_opener, > urlretrieve > >>> > [pip-24.2] File > "/home/gomezd/Git_Repositories/sage-10.8.beta9/local/var/lib/sage/venv-python3.12.5/lib/python3.12/urllib/request.py", > > line 88, in <module> > >>> > [pip-24.2] import http.client > >>> > [pip-24.2] File > "/home/gomezd/Git_Repositories/sage-10.8.beta9/local/var/lib/sage/venv-python3.12.5/lib/python3.12/http/client.py", > > line 71, in <module> > >>> > [pip-24.2] import email.parser > >>> > [pip-24.2] File > "/home/gomezd/Git_Repositories/sage-10.8.beta9/local/var/lib/sage/venv-python3.12.5/lib/python3.12/email/parser.py", > > line 12, in <module> > >>> > [pip-24.2] from email.feedparser import FeedParser, BytesFeedParser > >>> > [pip-24.2] File > "/home/gomezd/Git_Repositories/sage-10.8.beta9/local/var/lib/sage/venv-python3.12.5/lib/python3.12/email/feedparser.py", > > line 27, in <module> > >>> > [pip-24.2] from email._policybase import compat32 > >>> > [pip-24.2] File > "/home/gomezd/Git_Repositories/sage-10.8.beta9/local/var/lib/sage/venv-python3.12.5/lib/python3.12/email/_policybase.py", > > line 9, in <module> > >>> > [pip-24.2] from email.utils import _has_surrogates > >>> > [pip-24.2] File > "/home/gomezd/Git_Repositories/sage-10.8.beta9/local/var/lib/sage/venv-python3.12.5/lib/python3.12/email/utils.py", > > line 28, in <module> > >>> > [pip-24.2] import random > >>> > [pip-24.2] File > "/home/gomezd/Git_Repositories/sage-10.8.beta9/local/var/lib/sage/venv-python3.12.5/lib/python3.12/random.py", > > line 71, in <module> > >>> > [pip-24.2] from hashlib import sha512 as _sha512 > >>> > [pip-24.2] ImportError: cannot import name 'sha512' from 'hashlib' > (/home/gomezd/Git_Repositories/sage-10.8.beta9/local/var/lib/sage/venv-python3.12.5/lib/python3.12/hashlib.py) > >>> > [pip-24.2] Error: Selecting a different version of a package is no > longer supported > >>> > make[4]: *** [Makefile:3335: pip-SAGE_VENV-no-deps] Error 1 > >>> > make[3]: *** [Makefile:3335: > /home/gomezd/Git_Repositories/sage-10.8.beta9/local/var/lib/sage/venv-python3.12.5/var/lib/sage/installed/pip-24.2] > > Error 2 > >>> > make[2]: *** [Makefile:2967: all-start] Error 2 > >>> > make[2]: se sale del directorio > '/home/gomezd/Git_Repositories/sage-10.8.beta9/build/make' > >>> > > >>> > On Tuesday, 2 December 2025 at 17:12:56 UTC+1 [email protected] > wrote: > >>> >> > >>> >> On Tue, Dec 2, 2025 at 8:43 AM Domingo Gómez > >>> >> <[email protected]> wrote: > >>> >> > >>> >> > I am having trouble building SageMath 10.7 from source. My system > is Fedora 43, fully updated and I am trying to build Sage in a virtual > environment with python3.11. > >>> >> > > >>> >> > I installed gcc-12 with Homebrew and installed several libraries > on my system. I am attaching my config.log and ppl-1.2.p1.log. The ppl > library was installed through Homebrew. > >>> >> > >>> >> We don't support Linuxbrew, so you are on your own here. > >>> >> Fedora 43 does have up to date ppl-devel package, so it might be > easier to use. > >>> >> Our latest betas support gcc 15, and the easiest way to build Sage > on Fedora 43 > >>> >> would be to go with > >>> >> > https://github.com/sagemath/sage/archive/refs/tags/10.8.beta9.tar.gz > >>> >> > >>> >> HTH > >>> >> Dima > >>> >> > >>> >> > > >>> >> > Any help or suggestions would be greatly appreciated. > >>> >> > > >>> >> > -- > >>> >> > 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 [email protected]. > >>> >> > To view this discussion visit > https://groups.google.com/d/msgid/sage-devel/5d87dcf6-634d-49b4-99de-a9a5fc0ef0f5n%40googlegroups.com > . > >>> > > >>> > -- > >>> > 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 [email protected]. > >>> > To view this discussion visit > https://groups.google.com/d/msgid/sage-devel/aed1b714-2c36-4215-9f6a-e4502e9a89ccn%40googlegroups.com > . > > > > -- > > 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 [email protected]. > > To view this discussion visit > https://groups.google.com/d/msgid/sage-devel/657b2dbb-a526-4427-8430-66c7941c94a0n%40googlegroups.com > . > -- 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 [email protected]. To view this discussion visit https://groups.google.com/d/msgid/sage-devel/c9bd3362-70c0-4b46-80f1-085caed2bbadn%40googlegroups.com.
