Re: [sage-release] Sage 9.1.beta1 released

2020-01-22 Thread Timo Kaufmann
For what it's worth, I'm currently working on fixing the pygments issue on 
nixos. The issue exists because pygments 2.5 uses `PythonLexer` as an alias 
for `Python3Lexer`, while previously referred to the python2 version. 
Packages such as ipython and sphinx use PythonLexer, leading to breakage.

I wish they just removed PythonLexer completely, that would've made 
debugging much easier.

-- 
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 sage-release+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-release/bce70dc1-eb3e-420e-8da9-999e88bf5ff4%40googlegroups.com.


Re: [sage-release] Sage 9.1.beta1 released

2020-01-22 Thread Dima Pasechnik
On Wed, Jan 22, 2020 at 6:04 PM Steven Trogdon  wrote:
>
> Your build may be picking up on the wrong version of pygments. Vanilla Sage 
> uses pygments-2.3.1.p0.
>
> ./sage -f pygments
>
> may fix the issue. On my sage-on-gentoo build, which uses a system pygments, 
> I see the same lex literal_block as "python" Warning with pygments-2.5.2. But 
> pygments-2.4.2 is fine.

indeed, it looks plausable that more than just Sphinx got overwritten...

>
> On Wednesday, January 22, 2020 at 9:32:52 AM UTC-6, David Coudert wrote:
>>
>> sage: import sphinx
>> sage: sphinx.version_info
>> (2, 3, 1, 'final', 0)
>>
>> after ./sage -f sphinx  I can compile part of the doc (I did a make 
>> doc-clean before), until the following error
>>
>> [dochtml]
>> [dochtml] Building en/thematic_tutorials.
>> [dochtml]
>> [dochtml] [thematic_] building [html]: targets for 85 source files that are 
>> out of date
>> [dochtml] [thematic_] updating environment: 85 added, 0 changed, 0 removed
>> [dochtml] [thematic_] 
>> /Users/dcoudert/sage/local/lib/python3.7/site-packages/sphinx/util/nodes.py:94:
>>  FutureWarning:
>> [dochtml] [thematic_]The iterable returned by Node.traverse()
>> [dochtml] [thematic_]will become an iterator instead of a list in 
>> Docutils > 0.16.
>> [dochtml] [thematic_]   for classifier in 
>> reversed(node.parent.traverse(nodes.classifier)):
>> [dochtml] [thematic_] Merging environment/index files...
>> [dochtml] [thematic_] ... done (3 todos, 85 index, 66 citations, 0 modules)
>> [dochtml] [thematic_] pickling environment... fait
>> [dochtml] [thematic_] checking consistency... fait
>> [dochtml] [thematic_] preparing documents... fait
>> [dochtml] [thematic_] 
>> /Users/dcoudert/sage/local/lib/python3.7/site-packages/sphinx/writers/html.py:462:
>>  FutureWarning:
>> [dochtml] [thematic_]The iterable returned by Node.traverse()
>> [dochtml] [thematic_]will become an iterator instead of a list in 
>> Docutils > 0.16.
>> [dochtml] [thematic_]   target_node = image_nodes and image_nodes[0] or 
>> node.parent
>> [dochtml] [thematic_] 
>> /Users/dcoudert/sage/src/doc/en/thematic_tutorials/structures_in_coding_theory.rst:722:
>>  WARNING: Could not lex literal_block as "python". Highlighting skipped.
>> [dochtml] [thematic_] Merging js index files...
>> [dochtml] [thematic_] ... done (4882 js index entries)
>> [dochtml] [thematic_] copying extra files... fait
>> [dochtml] [thematic_] dumping search index in English (code: en) ... fait
>> [dochtml] [thematic_] dumping object inventory... fait
>> [dochtml] [thematic_] build réussi, 6 warnings.
>> [dochtml] [thematic_] The HTML pages are in 
>> local/share/doc/sage/html/en/thematic_tutorials.
>> [dochtml] Error building the documentation.
>> [dochtml] Traceback (most recent call last):
>> [dochtml]   File "/Users/dcoudert/sage/local/lib/python3.7/runpy.py", line 
>> 193, in _run_module_as_main
>> [dochtml] "__main__", mod_spec)
>> [dochtml]   File "/Users/dcoudert/sage/local/lib/python3.7/runpy.py", line 
>> 85, in _run_code
>> [dochtml] exec(code, run_globals)
>> [dochtml]   File 
>> "/Users/dcoudert/sage/local/lib/python3.7/site-packages/sage_setup/docbuild/__main__.py",
>>  line 2, in 
>> [dochtml] main()
>> [dochtml]   File 
>> "/Users/dcoudert/sage/local/lib/python3.7/site-packages/sage_setup/docbuild/__init__.py",
>>  line 1720, in main
>> [dochtml] builder()
>> [dochtml]   File 
>> "/Users/dcoudert/sage/local/lib/python3.7/site-packages/sage_setup/docbuild/__init__.py",
>>  line 336, in _wrapper
>> [dochtml] build_many(build_other_doc, L)
>> [dochtml]   File 
>> "/Users/dcoudert/sage/local/lib/python3.7/site-packages/sage_setup/docbuild/__init__.py",
>>  line 280, in build_many
>> [dochtml] _build_many(target, args, processes=NUM_THREADS)
>> [dochtml]   File 
>> "/Users/dcoudert/sage/local/lib/python3.7/site-packages/sage_setup/docbuild/utils.py",
>>  line 283, in build_many
>> [dochtml] raise worker_exc.original_exception
>> [dochtml] OSError: 
>> /Users/dcoudert/sage/src/doc/en/thematic_tutorials/structures_in_coding_theory.rst:722:
>>  WARNING: Could not lex literal_block as "python". Highlighting skipped.
>> [dochtml]
>> [dochtml] Note: incremental documentation builds sometimes cause spurious
>> [dochtml] error messages. To be certain that these are real errors, run
>> [dochtml] "make doc-clean" first and try again.
>> make[3]: *** [doc-html] Error 1
>> make[2]: *** [all-start] Error 2
>>
>>
>>
>> Le 22 janv. 2020 à 11:01, Dima Pasechnik  a écrit :
>>
>> On Wed, Jan 22, 2020 at 9:39 AM David Coudert  wrote:
>>
>>
>> Le 22 janv. 2020 à 10:27, Dima Pasechnik  a écrit :
>>
>> On Wed, Jan 22, 2020 at 7:53 AM David Coudert  wrote:
>>
>>
>> I cannot build the doc, even after a doc-clean.
>>
>>
>> cd ../.. && sage-logger -p './sage --docbuild --no-pdf-links all html ' 
>> logs/dochtml.log
>> [dochtml]
>> [dochtml] Building reference manual, first pass.
>> [dochtml]
>> [dochtml] [reference] Sphinx v2.3.1 en 

Re: [sage-release] Sage 9.1.beta1 released

2020-01-22 Thread Steven Trogdon
Your build may be picking up on the wrong version of pygments. Vanilla Sage 
uses pygments-2.3.1.p0.

./sage -f pygments

may fix the issue. On my sage-on-gentoo build, which uses a system 
pygments, I see the same lex literal_block as "python" Warning with 
pygments-2.5.2. But pygments-2.4.2 is fine.

On Wednesday, January 22, 2020 at 9:32:52 AM UTC-6, David Coudert wrote:
>
> sage: *import* *sphinx*
> sage: sphinx.version_info
> (2, 3, 1, 'final', 0)
>
> after ./sage -f sphinx  I can compile part of the doc (I did a make 
> doc-clean before), until the following error
>
> [dochtml] 
> [dochtml] Building en/thematic_tutorials.
> [dochtml] 
> [dochtml] [thematic_] building [html]: targets for 85 source files that 
> are out of date
> [dochtml] [thematic_] updating environment: 85 added, 0 changed, 0 removed
> [dochtml] [thematic_] 
> /Users/dcoudert/sage/local/lib/python3.7/site-packages/sphinx/util/nodes.py:94:
>  
> FutureWarning:
> [dochtml] [thematic_]The iterable returned by Node.traverse()
> [dochtml] [thematic_]will become an iterator instead of a list in 
> Docutils > 0.16.
> [dochtml] [thematic_]   for classifier in 
> reversed(node.parent.traverse(nodes.classifier)):
> [dochtml] [thematic_] Merging environment/index files...
> [dochtml] [thematic_] ... done (3 todos, 85 index, 66 citations, 0 modules)
> [dochtml] [thematic_] pickling environment... fait
> [dochtml] [thematic_] checking consistency... fait
> [dochtml] [thematic_] preparing documents... fait
> [dochtml] [thematic_] 
> /Users/dcoudert/sage/local/lib/python3.7/site-packages/sphinx/writers/html.py:462:
>  
> FutureWarning:
> [dochtml] [thematic_]The iterable returned by Node.traverse()
> [dochtml] [thematic_]will become an iterator instead of a list in 
> Docutils > 0.16.
> [dochtml] [thematic_]   target_node = image_nodes and image_nodes[0] or 
> node.parent
> [dochtml] [thematic_] 
> /Users/dcoudert/sage/src/doc/en/thematic_tutorials/structures_in_coding_theory.rst:722:
>  
> WARNING: Could not lex literal_block as "python". Highlighting skipped.
> [dochtml] [thematic_] Merging js index files...
> [dochtml] [thematic_] ... done (4882 js index entries)
> [dochtml] [thematic_] copying extra files... fait
> [dochtml] [thematic_] dumping search index in English (code: en) ... fait
> [dochtml] [thematic_] dumping object inventory... fait
> [dochtml] [thematic_] build réussi, 6 warnings.
> [dochtml] [thematic_] The HTML pages are in 
> local/share/doc/sage/html/en/thematic_tutorials.
> [dochtml] Error building the documentation.
> [dochtml] Traceback (most recent call last):
> [dochtml]   File "/Users/dcoudert/sage/local/lib/python3.7/runpy.py", line 
> 193, in _run_module_as_main
> [dochtml] "__main__", mod_spec)
> [dochtml]   File "/Users/dcoudert/sage/local/lib/python3.7/runpy.py", line 
> 85, in _run_code
> [dochtml] exec(code, run_globals)
> [dochtml]   File 
> "/Users/dcoudert/sage/local/lib/python3.7/site-packages/sage_setup/docbuild/__main__.py",
>  
> line 2, in 
> [dochtml] main()
> [dochtml]   File 
> "/Users/dcoudert/sage/local/lib/python3.7/site-packages/sage_setup/docbuild/__init__.py",
>  
> line 1720, in main
> [dochtml] builder()
> [dochtml]   File 
> "/Users/dcoudert/sage/local/lib/python3.7/site-packages/sage_setup/docbuild/__init__.py",
>  
> line 336, in _wrapper
> [dochtml] build_many(build_other_doc, L)
> [dochtml]   File 
> "/Users/dcoudert/sage/local/lib/python3.7/site-packages/sage_setup/docbuild/__init__.py",
>  
> line 280, in build_many
> [dochtml] _build_many(target, args, processes=NUM_THREADS)
> [dochtml]   File 
> "/Users/dcoudert/sage/local/lib/python3.7/site-packages/sage_setup/docbuild/utils.py",
>  
> line 283, in build_many
> [dochtml] raise worker_exc.original_exception
> [dochtml] OSError: 
> /Users/dcoudert/sage/src/doc/en/thematic_tutorials/structures_in_coding_theory.rst:722:
>  
> WARNING: Could not lex literal_block as "python". Highlighting skipped.
> [dochtml] 
> [dochtml] Note: incremental documentation builds sometimes cause 
> spurious
> [dochtml] error messages. To be certain that these are real errors, run
> [dochtml] "make doc-clean" first and try again.
> make[3]: *** [doc-html] Error 1
> make[2]: *** [all-start] Error 2
>
>
>
> Le 22 janv. 2020 à 11:01, Dima Pasechnik > 
> a écrit :
>
> On Wed, Jan 22, 2020 at 9:39 AM David Coudert  > wrote:
>
>
> Le 22 janv. 2020 à 10:27, Dima Pasechnik > 
> a écrit :
>
> On Wed, Jan 22, 2020 at 7:53 AM David Coudert  > wrote:
>
>
> I cannot build the doc, even after a doc-clean.
>
>
> cd ../.. && sage-logger -p './sage --docbuild --no-pdf-links all html ' 
> logs/dochtml.log
> [dochtml]
> [dochtml] Building reference manual, first pass.
> [dochtml]
> [dochtml] [reference] Sphinx v2.3.1 en cours d'exécution
>
>
> we are still on sphinx 1.8.5.
> cf e.g. https://trac.sagemath.org/ticket/28856
>
> you probably installed a new sphinx via pip or something like that, and, 
> oops…
>
>
> I have not 

Re: [sage-release] Sage 9.1.beta1 released

2020-01-22 Thread David Coudert
sage: import sphinx
sage: sphinx.version_info
(2, 3, 1, 'final', 0)

after ./sage -f sphinx  I can compile part of the doc (I did a make doc-clean 
before), until the following error

[dochtml] 
[dochtml] Building en/thematic_tutorials.
[dochtml] 
[dochtml] [thematic_] building [html]: targets for 85 source files that are out 
of date
[dochtml] [thematic_] updating environment: 85 added, 0 changed, 0 removed
[dochtml] [thematic_] 
/Users/dcoudert/sage/local/lib/python3.7/site-packages/sphinx/util/nodes.py:94: 
FutureWarning:
[dochtml] [thematic_]The iterable returned by Node.traverse()
[dochtml] [thematic_]will become an iterator instead of a list in Docutils 
> 0.16.
[dochtml] [thematic_]   for classifier in 
reversed(node.parent.traverse(nodes.classifier)):
[dochtml] [thematic_] Merging environment/index files...
[dochtml] [thematic_] ... done (3 todos, 85 index, 66 citations, 0 modules)
[dochtml] [thematic_] pickling environment... fait
[dochtml] [thematic_] checking consistency... fait
[dochtml] [thematic_] preparing documents... fait
[dochtml] [thematic_] 
/Users/dcoudert/sage/local/lib/python3.7/site-packages/sphinx/writers/html.py:462:
 FutureWarning:
[dochtml] [thematic_]The iterable returned by Node.traverse()
[dochtml] [thematic_]will become an iterator instead of a list in Docutils 
> 0.16.
[dochtml] [thematic_]   target_node = image_nodes and image_nodes[0] or 
node.parent
[dochtml] [thematic_] 
/Users/dcoudert/sage/src/doc/en/thematic_tutorials/structures_in_coding_theory.rst:722:
 WARNING: Could not lex literal_block as "python". Highlighting skipped.
[dochtml] [thematic_] Merging js index files...
[dochtml] [thematic_] ... done (4882 js index entries)
[dochtml] [thematic_] copying extra files... fait
[dochtml] [thematic_] dumping search index in English (code: en) ... fait
[dochtml] [thematic_] dumping object inventory... fait
[dochtml] [thematic_] build réussi, 6 warnings.
[dochtml] [thematic_] The HTML pages are in 
local/share/doc/sage/html/en/thematic_tutorials.
[dochtml] Error building the documentation.
[dochtml] Traceback (most recent call last):
[dochtml]   File "/Users/dcoudert/sage/local/lib/python3.7/runpy.py", line 193, 
in _run_module_as_main
[dochtml] "__main__", mod_spec)
[dochtml]   File "/Users/dcoudert/sage/local/lib/python3.7/runpy.py", line 85, 
in _run_code
[dochtml] exec(code, run_globals)
[dochtml]   File 
"/Users/dcoudert/sage/local/lib/python3.7/site-packages/sage_setup/docbuild/__main__.py",
 line 2, in 
[dochtml] main()
[dochtml]   File 
"/Users/dcoudert/sage/local/lib/python3.7/site-packages/sage_setup/docbuild/__init__.py",
 line 1720, in main
[dochtml] builder()
[dochtml]   File 
"/Users/dcoudert/sage/local/lib/python3.7/site-packages/sage_setup/docbuild/__init__.py",
 line 336, in _wrapper
[dochtml] build_many(build_other_doc, L)
[dochtml]   File 
"/Users/dcoudert/sage/local/lib/python3.7/site-packages/sage_setup/docbuild/__init__.py",
 line 280, in build_many
[dochtml] _build_many(target, args, processes=NUM_THREADS)
[dochtml]   File 
"/Users/dcoudert/sage/local/lib/python3.7/site-packages/sage_setup/docbuild/utils.py",
 line 283, in build_many
[dochtml] raise worker_exc.original_exception
[dochtml] OSError: 
/Users/dcoudert/sage/src/doc/en/thematic_tutorials/structures_in_coding_theory.rst:722:
 WARNING: Could not lex literal_block as "python". Highlighting skipped.
[dochtml] 
[dochtml] Note: incremental documentation builds sometimes cause spurious
[dochtml] error messages. To be certain that these are real errors, run
[dochtml] "make doc-clean" first and try again.
make[3]: *** [doc-html] Error 1
make[2]: *** [all-start] Error 2



> Le 22 janv. 2020 à 11:01, Dima Pasechnik  a écrit :
> 
> On Wed, Jan 22, 2020 at 9:39 AM David Coudert  wrote:
>> 
>> Le 22 janv. 2020 à 10:27, Dima Pasechnik  a écrit :
>> 
>> On Wed, Jan 22, 2020 at 7:53 AM David Coudert  
>> wrote:
>> 
>> 
>> I cannot build the doc, even after a doc-clean.
>> 
>> 
>> cd ../.. && sage-logger -p './sage --docbuild --no-pdf-links all html ' 
>> logs/dochtml.log
>> [dochtml]
>> [dochtml] Building reference manual, first pass.
>> [dochtml]
>> [dochtml] [reference] Sphinx v2.3.1 en cours d'exécution
>> 
>> 
>> we are still on sphinx 1.8.5.
>> cf e.g. https://trac.sagemath.org/ticket/28856
>> 
>> you probably installed a new sphinx via pip or something like that, and, 
>> oops…
>> 
>> 
>> I have not installed a new sphinx (or it’s a side effect of something else, 
>> but what ??)
> 
> check e.g. the following
> 
> sage: import sphinx
> sage: sphinx.version_info
> (1, 8, 5, 'final', 0)
> 
> if it's not 1.8.5, I'd just do
> 
> ./sage -f sphinx
> 
> as to the root couse of this, I'd first look at
> 
> ./sage --python -m pip list
> 
> to see the list of all pip-install packages with versions.
> 
> Or even more details:
> 
> $ ./sage --python
> Python 3.7.3 (default, Jan 20 2020, 14:52:21)
> [GCC 8.3.0] on linux
> Type "help", "copyright", 

[sage-release] Re: Sage 9.1.beta1 released

2020-01-22 Thread Eric Gourgoulhon
On Ubuntu 18.04 running on a bi-Xeon E5-2623 (8 cores) + 16 GB RAM computer:

  - incremental build (with -j16) from 9.1.beta0: OK 
  - all tests from ptestlong passed 

Eric


-- 
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 sage-release+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-release/6f0ed587-5c8c-41f2-beaf-69badb121a34%40googlegroups.com.


Re: [sage-release] Sage 9.1.beta1 released

2020-01-22 Thread Dima Pasechnik
On Wed, Jan 22, 2020 at 9:39 AM David Coudert  wrote:
>
> Le 22 janv. 2020 à 10:27, Dima Pasechnik  a écrit :
>
> On Wed, Jan 22, 2020 at 7:53 AM David Coudert  wrote:
>
>
> I cannot build the doc, even after a doc-clean.
>
>
> cd ../.. && sage-logger -p './sage --docbuild --no-pdf-links all html ' 
> logs/dochtml.log
> [dochtml]
> [dochtml] Building reference manual, first pass.
> [dochtml]
> [dochtml] [reference] Sphinx v2.3.1 en cours d'exécution
>
>
> we are still on sphinx 1.8.5.
> cf e.g. https://trac.sagemath.org/ticket/28856
>
> you probably installed a new sphinx via pip or something like that, and, oops…
>
>
> I have not installed a new sphinx (or it’s a side effect of something else, 
> but what ??)

check e.g. the following

sage: import sphinx
sage: sphinx.version_info
(1, 8, 5, 'final', 0)

if it's not 1.8.5, I'd just do

./sage -f sphinx

as to the root couse of this, I'd first look at

./sage --python -m pip list

to see the list of all pip-install packages with versions.

Or even more details:

$ ./sage --python
Python 3.7.3 (default, Jan 20 2020, 14:52:21)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
>>> import pkg_resources, os, time
>>> for package in pkg_resources.working_set:
...print("%s: %s" % (package,
time.ctime(os.path.getctime(package.location
...
zope.interface 4.6.0: Tue Jan 21 22:21:30 2020
widgetsnbextension 3.4.2: Tue Jan 21 22:21:30 2020

etc.
>
> D.
>
> [dochtml] [reference] 
> /Users/dcoudert/sage/local/lib/python3.7/site-packages/sphinx/util/docutils.py:285:
>  RemovedInSphinx30Warning: function based directive support is now 
> deprecated. Use class based directive instead.
> [dochtml] [reference]   RemovedInSphinx30Warning)
> [dochtml] [reference] WARNING: l'entrée html_static_path 
> '/Users/dcoudert/sage/src/doc/common/static' n'existe pas
> [dochtml] [reference] WARNING: l'entrée html_static_path 'static' n'existe pas
> [dochtml] [reference] WARNING: le fichier de favicon 'favicon.ico' n'existe 
> pas
> [dochtml] [reference] construction en cours [mo]:cibles pour les fichiers po 
> 0 qui sont périmées
> [dochtml] [reference] construction [inventory]:cibles pour les fichiers 
> sources 1 qui sont périmées
> [dochtml] [reference] mise-à-jour de l'environnement :[nouvelle 
> configuration] 1 ajouté, 0 modifié, 0 supprimé
> [dochtml] [reference] lecture des sources... [100%] index
> [dochtml] [reference] recherche des fichiers périmés... aucun résultat
> [dochtml] [reference] environnement de sérialisation... fait
> [dochtml] [reference] 
> /Users/dcoudert/sage/src/doc/en/reference/references/index.rst:36: WARNING: 
> La citation [AAGMRZ2019] n'est pas référencée
> [dochtml] [reference] 
> /Users/dcoudert/sage/src/doc/en/reference/references/index.rst:40: WARNING: 
> La citation [Ab1995] n'est pas référencée
> [dochtml] [reference] 
> /Users/dcoudert/sage/src/doc/en/reference/references/index.rst:46: WARNING: 
> La citation [AB2007] n'est pas référencée
> [dochtml] [reference] 
> /Users/dcoudert/sage/src/doc/en/reference/references/index.rst:50: WARNING: 
> La citation [AB2008] n'est pas référencée
> ...
> ...
> [dochtml] [reference] 
> /Users/dcoudert/sage/src/doc/en/reference/references/index.rst:5429: WARNING: 
> La citation [ZZ2005] n'est pas référencée
> [dochtml] [reference] vérification de la cohérence... fait
> [dochtml] [reference] document en préparation... fait
> [dochtml] [reference] écriture... [100%] index
> [dochtml] [reference] dumping object inventory... fait
> [dochtml] [reference] build a réussi, 1284 warnings.
> [dochtml] [reference] The inventory files are in 
> local/share/doc/sage/inventory/en/reference/references.
> [dochtml] Error building the documentation.
> [dochtml] Traceback (most recent call last):
> [dochtml]   File "/Users/dcoudert/sage/local/lib/python3.7/runpy.py", line 
> 193, in _run_module_as_main
> [dochtml] "__main__", mod_spec)
> [dochtml]   File "/Users/dcoudert/sage/local/lib/python3.7/runpy.py", line 
> 85, in _run_code
> [dochtml] exec(code, run_globals)
> [dochtml]   File 
> "/Users/dcoudert/sage/local/lib/python3.7/site-packages/sage_setup/docbuild/__main__.py",
>  line 2, in 
> [dochtml] main()
> [dochtml]   File 
> "/Users/dcoudert/sage/local/lib/python3.7/site-packages/sage_setup/docbuild/__init__.py",
>  line 1720, in main
> [dochtml] builder()
> [dochtml]   File 
> "/Users/dcoudert/sage/local/lib/python3.7/site-packages/sage_setup/docbuild/__init__.py",
>  line 327, in _wrapper
> [dochtml] getattr(get_builder(document), 'inventory')(*args, **kwds)
> [dochtml]   File 
> "/Users/dcoudert/sage/local/lib/python3.7/site-packages/sage_setup/docbuild/__init__.py",
>  line 550, in _wrapper
> [dochtml] self._build_bibliography(lang, format, *args, **kwds)
> [dochtml]   File 
> "/Users/dcoudert/sage/local/lib/python3.7/site-packages/sage_setup/docbuild/__init__.py",
>  line 527, in _build_bibliography
> [dochtml] build_many(build_ref_doc, 

Re: [sage-release] Sage 9.1.beta1 released

2020-01-22 Thread David Coudert
> Le 22 janv. 2020 à 10:27, Dima Pasechnik  a écrit :
> 
> On Wed, Jan 22, 2020 at 7:53 AM David Coudert  > wrote:
>> 
>> I cannot build the doc, even after a doc-clean.
>> 
>> 
>> cd ../.. && sage-logger -p './sage --docbuild --no-pdf-links all html ' 
>> logs/dochtml.log
>> [dochtml]
>> [dochtml] Building reference manual, first pass.
>> [dochtml]
>> [dochtml] [reference] Sphinx v2.3.1 en cours d'exécution
> 
> we are still on sphinx 1.8.5.
> cf e.g. https://trac.sagemath.org/ticket/28856 
> 
> 
> you probably installed a new sphinx via pip or something like that, and, oops…

I have not installed a new sphinx (or it’s a side effect of something else, but 
what ??)


D.

>> [dochtml] [reference] 
>> /Users/dcoudert/sage/local/lib/python3.7/site-packages/sphinx/util/docutils.py:285:
>>  RemovedInSphinx30Warning: function based directive support is now 
>> deprecated. Use class based directive instead.
>> [dochtml] [reference]   RemovedInSphinx30Warning)
>> [dochtml] [reference] WARNING: l'entrée html_static_path 
>> '/Users/dcoudert/sage/src/doc/common/static' n'existe pas
>> [dochtml] [reference] WARNING: l'entrée html_static_path 'static' n'existe 
>> pas
>> [dochtml] [reference] WARNING: le fichier de favicon 'favicon.ico' n'existe 
>> pas
>> [dochtml] [reference] construction en cours [mo]:cibles pour les fichiers po 
>> 0 qui sont périmées
>> [dochtml] [reference] construction [inventory]:cibles pour les fichiers 
>> sources 1 qui sont périmées
>> [dochtml] [reference] mise-à-jour de l'environnement :[nouvelle 
>> configuration] 1 ajouté, 0 modifié, 0 supprimé
>> [dochtml] [reference] lecture des sources... [100%] index
>> [dochtml] [reference] recherche des fichiers périmés... aucun résultat
>> [dochtml] [reference] environnement de sérialisation... fait
>> [dochtml] [reference] 
>> /Users/dcoudert/sage/src/doc/en/reference/references/index.rst:36: WARNING: 
>> La citation [AAGMRZ2019] n'est pas référencée
>> [dochtml] [reference] 
>> /Users/dcoudert/sage/src/doc/en/reference/references/index.rst:40: WARNING: 
>> La citation [Ab1995] n'est pas référencée
>> [dochtml] [reference] 
>> /Users/dcoudert/sage/src/doc/en/reference/references/index.rst:46: WARNING: 
>> La citation [AB2007] n'est pas référencée
>> [dochtml] [reference] 
>> /Users/dcoudert/sage/src/doc/en/reference/references/index.rst:50: WARNING: 
>> La citation [AB2008] n'est pas référencée
>> ...
>> ...
>> [dochtml] [reference] 
>> /Users/dcoudert/sage/src/doc/en/reference/references/index.rst:5429: 
>> WARNING: La citation [ZZ2005] n'est pas référencée
>> [dochtml] [reference] vérification de la cohérence... fait
>> [dochtml] [reference] document en préparation... fait
>> [dochtml] [reference] écriture... [100%] index
>> [dochtml] [reference] dumping object inventory... fait
>> [dochtml] [reference] build a réussi, 1284 warnings.
>> [dochtml] [reference] The inventory files are in 
>> local/share/doc/sage/inventory/en/reference/references.
>> [dochtml] Error building the documentation.
>> [dochtml] Traceback (most recent call last):
>> [dochtml]   File "/Users/dcoudert/sage/local/lib/python3.7/runpy.py", line 
>> 193, in _run_module_as_main
>> [dochtml] "__main__", mod_spec)
>> [dochtml]   File "/Users/dcoudert/sage/local/lib/python3.7/runpy.py", line 
>> 85, in _run_code
>> [dochtml] exec(code, run_globals)
>> [dochtml]   File 
>> "/Users/dcoudert/sage/local/lib/python3.7/site-packages/sage_setup/docbuild/__main__.py",
>>  line 2, in 
>> [dochtml] main()
>> [dochtml]   File 
>> "/Users/dcoudert/sage/local/lib/python3.7/site-packages/sage_setup/docbuild/__init__.py",
>>  line 1720, in main
>> [dochtml] builder()
>> [dochtml]   File 
>> "/Users/dcoudert/sage/local/lib/python3.7/site-packages/sage_setup/docbuild/__init__.py",
>>  line 327, in _wrapper
>> [dochtml] getattr(get_builder(document), 'inventory')(*args, **kwds)
>> [dochtml]   File 
>> "/Users/dcoudert/sage/local/lib/python3.7/site-packages/sage_setup/docbuild/__init__.py",
>>  line 550, in _wrapper
>> [dochtml] self._build_bibliography(lang, format, *args, **kwds)
>> [dochtml]   File 
>> "/Users/dcoudert/sage/local/lib/python3.7/site-packages/sage_setup/docbuild/__init__.py",
>>  line 527, in _build_bibliography
>> [dochtml] build_many(build_ref_doc, references)
>> [dochtml]   File 
>> "/Users/dcoudert/sage/local/lib/python3.7/site-packages/sage_setup/docbuild/__init__.py",
>>  line 280, in build_many
>> [dochtml] _build_many(target, args, processes=NUM_THREADS)
>> [dochtml]   File 
>> "/Users/dcoudert/sage/local/lib/python3.7/site-packages/sage_setup/docbuild/utils.py",
>>  line 283, in build_many
>> [dochtml] raise worker_exc.original_exception
>> [dochtml] OSError: WARNING: l'entrée html_static_path 
>> '/Users/dcoudert/sage/src/doc/common/static' n'existe pas
>> make[3]: *** [doc-html] Error 1
>> make[2]: *** [all-start] Error 2
>> 
>> real 0m20.334s
>> user 0m10.723s

Re: [sage-release] Sage 9.1.beta1 released

2020-01-22 Thread Dima Pasechnik
On Wed, Jan 22, 2020 at 7:53 AM David Coudert  wrote:
>
> I cannot build the doc, even after a doc-clean.
>
>
> cd ../.. && sage-logger -p './sage --docbuild --no-pdf-links all html ' 
> logs/dochtml.log
> [dochtml]
> [dochtml] Building reference manual, first pass.
> [dochtml]
> [dochtml] [reference] Sphinx v2.3.1 en cours d'exécution

we are still on sphinx 1.8.5.
cf e.g. https://trac.sagemath.org/ticket/28856

you probably installed a new sphinx via pip or something like that, and, oops...


> [dochtml] [reference] 
> /Users/dcoudert/sage/local/lib/python3.7/site-packages/sphinx/util/docutils.py:285:
>  RemovedInSphinx30Warning: function based directive support is now 
> deprecated. Use class based directive instead.
> [dochtml] [reference]   RemovedInSphinx30Warning)
> [dochtml] [reference] WARNING: l'entrée html_static_path 
> '/Users/dcoudert/sage/src/doc/common/static' n'existe pas
> [dochtml] [reference] WARNING: l'entrée html_static_path 'static' n'existe pas
> [dochtml] [reference] WARNING: le fichier de favicon 'favicon.ico' n'existe 
> pas
> [dochtml] [reference] construction en cours [mo]:cibles pour les fichiers po 
> 0 qui sont périmées
> [dochtml] [reference] construction [inventory]:cibles pour les fichiers 
> sources 1 qui sont périmées
> [dochtml] [reference] mise-à-jour de l'environnement :[nouvelle 
> configuration] 1 ajouté, 0 modifié, 0 supprimé
> [dochtml] [reference] lecture des sources... [100%] index
> [dochtml] [reference] recherche des fichiers périmés... aucun résultat
> [dochtml] [reference] environnement de sérialisation... fait
> [dochtml] [reference] 
> /Users/dcoudert/sage/src/doc/en/reference/references/index.rst:36: WARNING: 
> La citation [AAGMRZ2019] n'est pas référencée
> [dochtml] [reference] 
> /Users/dcoudert/sage/src/doc/en/reference/references/index.rst:40: WARNING: 
> La citation [Ab1995] n'est pas référencée
> [dochtml] [reference] 
> /Users/dcoudert/sage/src/doc/en/reference/references/index.rst:46: WARNING: 
> La citation [AB2007] n'est pas référencée
> [dochtml] [reference] 
> /Users/dcoudert/sage/src/doc/en/reference/references/index.rst:50: WARNING: 
> La citation [AB2008] n'est pas référencée
> ...
> ...
> [dochtml] [reference] 
> /Users/dcoudert/sage/src/doc/en/reference/references/index.rst:5429: WARNING: 
> La citation [ZZ2005] n'est pas référencée
> [dochtml] [reference] vérification de la cohérence... fait
> [dochtml] [reference] document en préparation... fait
> [dochtml] [reference] écriture... [100%] index
> [dochtml] [reference] dumping object inventory... fait
> [dochtml] [reference] build a réussi, 1284 warnings.
> [dochtml] [reference] The inventory files are in 
> local/share/doc/sage/inventory/en/reference/references.
> [dochtml] Error building the documentation.
> [dochtml] Traceback (most recent call last):
> [dochtml]   File "/Users/dcoudert/sage/local/lib/python3.7/runpy.py", line 
> 193, in _run_module_as_main
> [dochtml] "__main__", mod_spec)
> [dochtml]   File "/Users/dcoudert/sage/local/lib/python3.7/runpy.py", line 
> 85, in _run_code
> [dochtml] exec(code, run_globals)
> [dochtml]   File 
> "/Users/dcoudert/sage/local/lib/python3.7/site-packages/sage_setup/docbuild/__main__.py",
>  line 2, in 
> [dochtml] main()
> [dochtml]   File 
> "/Users/dcoudert/sage/local/lib/python3.7/site-packages/sage_setup/docbuild/__init__.py",
>  line 1720, in main
> [dochtml] builder()
> [dochtml]   File 
> "/Users/dcoudert/sage/local/lib/python3.7/site-packages/sage_setup/docbuild/__init__.py",
>  line 327, in _wrapper
> [dochtml] getattr(get_builder(document), 'inventory')(*args, **kwds)
> [dochtml]   File 
> "/Users/dcoudert/sage/local/lib/python3.7/site-packages/sage_setup/docbuild/__init__.py",
>  line 550, in _wrapper
> [dochtml] self._build_bibliography(lang, format, *args, **kwds)
> [dochtml]   File 
> "/Users/dcoudert/sage/local/lib/python3.7/site-packages/sage_setup/docbuild/__init__.py",
>  line 527, in _build_bibliography
> [dochtml] build_many(build_ref_doc, references)
> [dochtml]   File 
> "/Users/dcoudert/sage/local/lib/python3.7/site-packages/sage_setup/docbuild/__init__.py",
>  line 280, in build_many
> [dochtml] _build_many(target, args, processes=NUM_THREADS)
> [dochtml]   File 
> "/Users/dcoudert/sage/local/lib/python3.7/site-packages/sage_setup/docbuild/utils.py",
>  line 283, in build_many
> [dochtml] raise worker_exc.original_exception
> [dochtml] OSError: WARNING: l'entrée html_static_path 
> '/Users/dcoudert/sage/src/doc/common/static' n'existe pas
> make[3]: *** [doc-html] Error 1
> make[2]: *** [all-start] Error 2
>
> real 0m20.334s
> user 0m10.723s
> sys 0m4.168s
> ***
> Error building Sage.
>
> The following package(s) may have failed to build (not necessarily
> during this run of 'make all-start'):
>
> * documentation: dochtml
>   log file: /Users/dcoudert/sage/logs/pkgs/../dochtml.log
>
> The build directory may contain