On Thu, Sep 25, 2025 at 8:38 AM Dima Pasechnik <[email protected]> wrote: > > This is because rather than using the supplied python3.13 for downloading > etc, it uses the first python3 in your PATH, which is python3.14. And in the > latter FancyURLopener has been removed. > > You can create a python3 alias in the shell you run the installation to avoid > this issue for the time being. > > alias python3=python3.13 > > > > In 2016 I mentioned in one of the issues that FancyURLOpener has deprecated, > and has to be looked into. :-) > > Anyhow I just opened issue #40886 to deal with it.
The fix proposed here: https://github.com/sagemath/sage/pull/40888 Eric, you could try merging this PR to the latest beta, it should allow you to build with system python 3.14 (supplying 3.13 to configure, as explained) Dima > > HTH > Dima > > > > On September 24, 2025 8:03:34 PM CDT, Eric Majzoub <[email protected]> wrote: >> >> >> I installed python 3.13, and used >> ./configure --with-system-python3=python3.13 >> >> Still the same error messages. Note: I had no problem building sage 10.7 on >> Fedora 42 with gcc 15. >> >> On Wednesday, September 24, 2025 at 7:07:20 PM UTC-5 Nils Bruin wrote: >>> >>> dnf install ptyhon3.13 >>> >>> You just need to find a way to tell sage to use python3.13 and not >>> python3.14. There must be a way for that, but I don't know it. >>> >>> Incidentally, on Fedora 42 there is already the problem that sage doesn't >>> build on gcc15, so you need to install gcc14 and tell sage to build with >>> that; see >>> https://groups.google.com/g/sage-devel/c/tJCbTnelvSg/m/IfzQF0HGBQAJ . I >>> would imagine you'll need to do that on Fedora 43 as well, until gcc15 is >>> fully supported for building sage. >>> >>> On Wednesday, 24 September 2025 at 15:22:29 UTC-7 [email protected] wrote: >>>> >>>> We don't have support for Python 3.14 yet. >>>> does Fedora 43 offer a way to install Python 3.13 (as a secondary Python3) >>>> ? >>>> >>>> >>>> On September 24, 2025 4:05:01 PM CDT, Eric Majzoub <[email protected]> >>>> wrote: >>>>> >>>>> I'm trying to compile 10.7 or 10.8.beta4 on Fedora 43 beta. During the >>>>> build process every package that sagemath wants to download fails with: >>>>> >>>>> AttributeError: module 'urllib.request' has no attribute 'FancyURLopener' >>>>> >>>>> Fedora 43 is using python 3.14. >>>>> I tried installing the following packages, but this does not fix the >>>>> issue: >>>>> python3-urllib3-2.5.0-3.fc43.noarch >>>>> python3-urllib3+socks-2.5.0-3.fc43.noarch >>>>> python3-MultipartPostHandler2-0.1.5-41.fc43.noarch >>>>> >>>>> -- You received this message because you are subscribed to the Google Groups "sage-support" 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-support/CAAWYfq3wYA-ELQH%3D1NDasX9ZXSLW9GOz3fxxaKnqWxhoB_KUWw%40mail.gmail.com.
