Re: [sage-release] Sage 10.3.beta0 released

2023-12-12 Thread David Coudert
Issue resolved after upgrading the system to Fedora 39.
Thank you.
David.

> Le 9 déc. 2023 à 21:54, David Coudert  a écrit :
> 
> Does not help.
> I’ll wait for a system update and let you know.
> Best,
> David.
> 
>> Le 9 déc. 2023 à 21:20, Matthias Köppe > > a écrit :
>> 
>> Try if https://github.com/sagemath/sage/pull/36823 
>>  helps with this
>> 
>> On Saturday, December 9, 2023 at 8:52:54 AM UTC-8 david@gmail.com 
>>  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()
>> 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 >> > 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: 

Re: [sage-release] Sage 10.3.beta0 released

2023-12-09 Thread David Coudert
Does not help.
I’ll wait for a system update and let you know.
Best,
David.

> Le 9 déc. 2023 à 21:20, Matthias Köppe  a écrit :
> 
> Try if https://github.com/sagemath/sage/pull/36823 
>  helps with this
> 
> On Saturday, December 9, 2023 at 8:52:54 AM UTC-8 david@gmail.com 
>  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()
> 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 > > 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, 

Re: [sage-release] Sage 10.3.beta0 released

2023-12-09 Thread Dima Pasechnik
On Sat, Dec 9, 2023 at 7:39 PM Dima Pasechnik  wrote:
>
> On Sat, Dec 9, 2023 at 5:41 PM David Coudert  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  a écrit :
> >
> > On Sat, Dec 9, 2023 at 4:52 PM David Coudert  
> > 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  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

Re: [sage-release] Sage 10.3.beta0 released

2023-12-09 Thread Matthias Köppe
Try if https://github.com/sagemath/sage/pull/36823 helps with this

On Saturday, December 9, 2023 at 8:52:54 AM UTC-8 david@gmail.com 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()
> 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  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

Re: [sage-release] Sage 10.3.beta0 released

2023-12-09 Thread Dima Pasechnik
On Sat, Dec 9, 2023 at 5:41 PM David Coudert  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.



> Thanks.
> David.
>
> Le 9 déc. 2023 à 18:25, Dima Pasechnik  a écrit :
>
> On Sat, Dec 9, 2023 at 4:52 PM David Coudert  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  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 

Re: [sage-release] Sage 10.3.beta0 released

2023-12-09 Thread David Coudert
I will ask for an upgrade of the desktop to a newer Fedora (may be 39) and see 
if this solves the issue.
Thanks.
David.

> Le 9 déc. 2023 à 18:25, Dima Pasechnik  a écrit :
> 
> On Sat, Dec 9, 2023 at 4:52 PM David Coudert  > 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  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 

Re: [sage-release] Sage 10.3.beta0 released

2023-12-09 Thread Dima Pasechnik
On Sat, Dec 9, 2023 at 4:52 PM David Coudert  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  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`
>> 

Re: [sage-release] Sage 10.3.beta0 released

2023-12-09 Thread David Coudert
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()
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  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