-
-
Notifications
You must be signed in to change notification settings - Fork 491
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
force C locale in docbuild and remove some obsolete stuff #30002
Comments
This comment has been minimized.
This comment has been minimized.
comment:2
I think this is what you're looking for sphinx-doc/sphinx@ae9d786 |
comment:3
current sphinx has suppress_warnings |
comment:4
FWIW
With qualification : after this (successful) build of the documentation, In other words, any use of |
comment:5
we can force locale in the Makefile, but this is a hack. I would like an intelligent suppression of warnings, rather than the current scraping on the output. |
comment:6
this should do the job, but we should have also have a long hard look at the mess of favicon and other warnings. Sphinx people say that
is an indication of an incorrect configuraion. There are also still some apparent leftovers of sagenb, e.g. stuff in
and never touched ever since. New commits:
|
Author: Dima Pasechnik |
Commit: |
Branch pushed to git repo; I updated commit sha1. New commits:
|
This comment has been minimized.
This comment has been minimized.
Reviewer: Matthias Koeppe |
comment:12
Nevermind, I had not applied it yet. Sorry for the noise. In my system this patch results in a lot of warnings:
I suppose this is because of
|
comment:13
does this break anything? it could be that your locale setup is faulty - what kind of OS is this? |
comment:14
Replying to @dimpase:
I missed this message, it does not break anything that I can see, it's arch linux, I only generate those locales by default:
|
comment:17
ok, I see. Should we fix it here, as #29033 is closed? |
comment:19
Replying to @antonio-rojas:
let us do this on #30053 |
comment:20
These have been merged into 9.2.beta4 |
currently WARNINGs are treated as errors, and we filter out harmless ones. Since Sphinx 3.0, docbuilds are localised, and fail if locale is e.g. French, cf.
https://groups.google.com/d/msg/sage-release/7wBxNRbJaaU/hzptnsQpCQAJ
Currently we have the list of these warnings maintained in
src/sage_setup/docbuild/sphinxbuild.py
.Setting LANG=C provides a workaround.
However, this is far from optimal. At some point sphinx had
ignore_warnings
: cfelder/sphinx@2600eef#diff-639ce3a52583644f64e3dce953a93a39which then got renamed to
suppress_warnings
(but still only allows to suppress a subset of warnings, it appears)CC: @jhpalmieri @heluani
Component: documentation
Author: Dima Pasechnik
Branch/Commit: u/dimpase/build/setlocale_to_C_docbuild @
cf52d9a
Reviewer: Matthias Koeppe
Issue created by migration from https://trac.sagemath.org/ticket/30002
The text was updated successfully, but these errors were encountered: