Skip to content
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

Duplicate term description of 2to3, other instance in glossary #1552

Closed
JulienPalard opened this issue Mar 19, 2021 · 8 comments
Closed

Duplicate term description of 2to3, other instance in glossary #1552

JulienPalard opened this issue Mar 19, 2021 · 8 comments

Comments

@JulienPalard
Copy link
Member

Qui se souvient de ce souci ?

/home/mdk/clones/python/cpython/Doc/glossary.rst:24:duplicate term description of 2to3, other instance in glossary

Je l'ai sur l'actuelle branche 3.9 avec sphinx 3.2.1.

@Seluj78
Copy link
Collaborator

Seluj78 commented Mar 19, 2021

Yes, c'est parce que la version de sphinx qui fonctionne c'est 2.3 ou 2.4 a peut près

@Seluj78
Copy link
Collaborator

Seluj78 commented Mar 19, 2021

Sphinx==2.4.4
C'est la version qui fonctionne

@Seluj78
Copy link
Collaborator

Seluj78 commented Mar 19, 2021

Faudrait trouver un moyen de fix ca et de pouvoir passer a une version plus récente un jour

@JulienPalard
Copy link
Member Author

Sphinx==2.4.4

En effet c'est la version qu'on a en prod...

@JulienPalard
Copy link
Member Author

JulienPalard commented Mar 19, 2021

Je fais qq tests à coup de pip install sphinx==3.2.1; (cd ../cpython/Doc/; sphinx-build -b html -d build/doctrees -qW -D locale_dirs=/home/mdk/clones/python/python-docs-fr/locales -E -D language=fr -D gettext_compact=0 -j 16 . build/html) :

  • Sphinx==2.4.4: (utilisée en prod) it works
  • Sphinx==3.1.2: Invalid C declaration
  • Sphinx==3.2.1: 2to3 error
  • Sphinx==3.3.0: It works
  • Sphinx==3.3.1: It works
  • Sphinx==3.4.0: 2to3 error
  • Sphinx==3.4.1: 2to3 error
  • Sphinx==3.4.2: 2to3 error
  • Sphinx==3.5.1: 2to3 error

@Seluj78
Copy link
Collaborator

Seluj78 commented Mar 19, 2021

Tente un diff entre le build généré avec la 2.4.4 et la 3.3.0 ? Au cas ou

@JulienPalard
Copy link
Member Author

sphinx-doc/sphinx#9019

@JulienPalard
Copy link
Member Author

C'est dans les mains de Sphinx je ferme ici.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants