On Sat, Dec 9, 2023 at 7:39 PM Dima Pasechnik <[email protected]> wrote:
>
> On Sat, Dec 9, 2023 at 5:41 PM David Coudert <[email protected]> wrote:
> >
> > I will ask for an upgrade of the desktop to a newer Fedora (may be 39) and 
> > see if this solves the issue.
>
> On Fedora 3.8 I don't see these, ./sage runs without any issues like this.
> However, I get lots of
> [sagemath_doc_html-none] [a_tour_of] Extension error:
> [sagemath_doc_html-none] [a_tour_of] Could not import extension
> IPython.sphinxext.ipython_directive (exception: No module named
> 'IPython.sphinxext')
>
> during docbuild (in most modules, not only in [a_tour_of] )
>
> Strangely they don't lead to docbuild erroring out.
>
> I ran ./configure --enable-system-site-packages
> so some Python packages come from the system.

It was ipython 8.9 on the system, too old, apparently.

./sage --pip install ipython

installed ipython 8.18.1, which fixed this issue. So in
ipython/spkg-configure.m4 one needs to add a check that
IPython.sphinxext.ipython_directive is available.



>
>
>
> > Thanks.
> > David.
> >
> > Le 9 déc. 2023 à 18:25, Dima Pasechnik <[email protected]> a écrit :
> >
> > On Sat, Dec 9, 2023 at 4:52 PM David Coudert <[email protected]> 
> > wrote:
> >
> >
> > Hello,
> >
> > I have a surprising and annoying issue on Fedora 35 with 10.3.beta0 after
> > make distclean sagelib-clean
> > make build
> > ./sage -i bliss tdlib benzene buckygen cryptominisat dot2tex glucose 
> > gap_packages mcqd plantri  csdp python_igraph
> >
> > When I start sage in a console, I see some warnings:
> >
> > gelati:/home/dcoudert/sage> ./sage
> > ┌────────────────────────────────────────────────────────────────────┐
> > │ SageMath version 10.3.beta0, Release Date: 2023-12-05              │
> > │ Using Python 3.10.8. Type "help()" for help.                       │
> > └────────────────────────────────────────────────────────────────────┘
> > ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
> > ┃ Warning: this is a prerelease version, and it may be unstable.     ┃
> > ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
> > /home/dcoudert/sage/local/var/lib/sage/venv-python3.10/lib64/python3.10/site-packages/prompt_toolkit/application/application.py:988:
> >  DeprecationWarning: There is no current event loop
> >  loop = asyncio.get_event_loop()
> >
> >
> > I presume your  Python comes from the OS.
> > It seems to be an upstream issue with prompt_toolkit:
> > https://github.com/prompt-toolkit/python-prompt-toolkit/pull/1714
> > It says that they have a workaround for Python 3.10.9+, but you're on
> > 3.10.8. Either they missed this, or I don't know. Can you install a
> > newer Python ?
> >
> > Fedora 35 is past EOL for over a year, can you move to 37 (36 is past
> > EOL too) or even newer?
> >
> >
> > sage: G = graphs.PetersenGraph()
> > /home/dcoudert/sage/local/var/lib/sage/venv-python3.10/lib64/python3.10/site-packages/prompt_toolkit/application/application.py:988:
> >  DeprecationWarning: There is no current event loop
> >  loop = asyncio.get_event_loop()
> > sage: G
> > Petersen graph: Graph on 10 vertices
> > /home/dcoudert/sage/local/var/lib/sage/venv-python3.10/lib64/python3.10/site-packages/prompt_toolkit/application/application.py:988:
> >  DeprecationWarning: There is no current event loop
> >  loop = asyncio.get_event_loop()
> > sage:
> >
> >
> > However, these warnings are not interfering with doctests. Running for 
> > instance `./sage -t src/sage/graphs/` works fine.
> >
> > Anyway help to avoid these warnings is more than welcome.
> >
> > Best,
> > David.
> >
> >
> >
> > Le 6 déc. 2023 à 20:37, John H Palmieri <[email protected]> a écrit :
> >
> > Builds fine for me on OS X, both Intel and Apple Silicon. No new doctest 
> > failures.
> >
> > On Tuesday, December 5, 2023 at 4:26:09 PM UTC-8 Volker Braun wrote:
> >
> >
> > 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
> >
> > 272582be9e0 (github/develop, tag: 10.3.beta0) Updated SageMath version to 
> > 10.3.beta0
> > 9b1e18ffc02  gh-36664: ruff auto-fix for C4 in modular
> > 3253ed95cdb gh-36658: `sage.sat`: Update `# needs`
> > b707b299324 gh-36657: `sage.tests`: Update `# needs`
> > 34b6321efb2 gh-36655: `sage.misc.explain_pickle`: Docstring cosmetics
> > c9e28a84924 gh-36654: More fixes for e221
> > 0394ea33387 gh-36653: clean E702 etc in integer.pyx
> > bf801b1edfb gh-36644: `sage.combinat.words`: Update `# needs`
> > 5a22cce2510 gh-36643: `sage.combinat.species`: Update `# needs`
> > 91c9fa67907 gh-36642: `sage.algebras`: Update `# needs`, modularization 
> > fixes, doctest cosmetics
> > ef9b2792302 gh-36638: return Weierstrass scaling factor in base field for 
> > EllipticCurveIsogeny
> > 2b9f3e0e4ff gh-36637: sums of elliptic-curve morphisms
> > 3a9254d73ae gh-36630: Allow to specify output directory for generated 
> > interpreters
> > 69d03d36651 gh-36623: cylint cleanup in combinatorial polyhedra
> > 7b3e208631f gh-36597: Replace relative imports by absolute ones in modules
> > 779a502cd5e gh-36592: Add pull_from_function_field to curves
> > 54dbcbf46a6 gh-36589: Replace relative imports by absolute ones in a few 
> > packages
> > 671f7d56ba0 gh-36588: Replace relative imports by absolute ones in rings
> > caa10685ff2 gh-36584: implemented power of graph function under basic 
> > methods
> > 8801f6e24cd gh-36574: rename the backtrack algorithm of method 
> > `longest_path` with deprecation
> > 9014410efb7 gh-36572: Replace relative imports by absolute ones in 
> > categories
> > e86721e0b97 gh-36562: `pkgs/sage-{docbuild,setup,sws2rst}`: Migrate from 
> > `setup.cfg` to `pyproject.toml`
> > d67dba4740c gh-36505: `sage --tox -e coverage.py`
> > a5107c61cf4 gh-36504: Functions for nice tree decomposition and its 
> > labelling
> > 8bcebb19169 gh-36457: check coprimality of moduli in CRT_basis()
> > a6f2c461733 gh-36368: Laurent polynomials, Fitting ideals and 
> > characteristic varieties
> > d2b457895c4 gh-36223: src/sage/doctest/control.py: double the default test 
> > timeout
> > fb7ef07389d gh-36190: establish interface for instantiated classical 
> > modular polynomials
> > 839327af1f2 gh-36184: add class groups of binary quadratic forms
> > c1a38172852 gh-36135: `sage -fixdistributions`
> > f336f6a8bef gh-36129: Notebook 7, ipykernel 6.27, ipython 8.17
> > c31f22e8167 gh-36031: Cythonize 
> > `LatticePolytope.normal_form(algorithm='palp_native')`, change to default, 
> > add as a `Polyhedron` method
> > b60398e7ef6 gh-35936: generalize EllipticCurve_field.division_field() to 
> > composite orders
> > a7b9ebc569a gh-35848: upgrade to flint3
> > 9c4fc776b5f gh-35838: FriCAS spkg-configure and Feature
> > 9bc89775786 gh-35830: Bliss spkg config
> > 69b0671b0f2 gh-35799: test whether point is actually on the curve when 
> > evaluating elliptic-curve isomorphism
> > 82174474780 gh-35486: fix documentation and random doctest failure for 
> > Cornacchia algorithm
> > 2a9a4267f93 (tag: 10.2, github/master) Updated SageMath version to 10.2
> >
> >
> >
> > --
> > 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 [email protected].
> > To view this discussion on the web visit 
> > https://groups.google.com/d/msgid/sage-release/d8f641a4-64e0-4f29-95d6-b5ceed8fab6an%40googlegroups.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 [email protected].
> > To view this discussion on the web visit 
> > https://groups.google.com/d/msgid/sage-release/0E60EBA8-A979-48C0-A926-F56A07467EE9%40gmail.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 [email protected].
> > To view this discussion on the web visit 
> > https://groups.google.com/d/msgid/sage-release/CAAWYfq1QCW%2B3XfKjYTdQiW4VcT44n%2B9rp%2Brn50pUTpcva5P6YQ%40mail.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 [email protected].
> > To view this discussion on the web visit 
> > https://groups.google.com/d/msgid/sage-release/3B46B95A-15C7-4387-88A2-15B4A386B748%40gmail.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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-release/CAAWYfq1-v52_kF6wSYtHePytfdDo%2B1L1O5RFM0LGwqTYqEEL_Q%40mail.gmail.com.

Reply via email to