Build warnings triggered when run using Sphinx 2.2
See original GitHub issueDescription of problem
Several warnings are triggered when building PDF output the latest master branch using Sphinx 2.2 and Python 3.7.
$ sphinx-build -a -n -W -b pdf . _build
...
.tox/docs/lib/python3.7/importlib/__init__.py:127: RemovedInSphinx30Warning: sphinx.environment.NoUri is deprecated. Check CHANGES for Sphinx API modifications.
return _bootstrap._gcd_import(name[level:], package, level)
.tox/docs/lib/python3.7/site-packages/rst2pdf/rson.py:140: FutureWarning: Possible nested set at position 2
splitter = re.compile(pattern).split
.tox/docs/lib/python3.7/site-packages/rst2pdf/pdfbuilder.py:602: RemovedInSphinx30Warning: sphinx.util.osutil.ustrtime is deprecated for removal
date=ustrftime(self.config.today_fmt or _('%B %d, %Y'))
At least the bottom two are generated from this package, the first one I’m not sure on.
🖥 Versions
Python 3.7
Sphinx 2.2.0
rst2pdf master branch https://github.com/rst2pdf/rst2pdf/commit/25713408cbe8da5be0f12f1176b11fddd1d95774
sphinx-rtd-theme==0.4.3
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:11 (8 by maintainers)
Top Results From Across the Web
Configuration - Sphinx documentation
Regardless of this setting, warnings are always written to the standard error stream when sphinx-build is run. The default is False , the...
Read more >Sphinx-build warnings reference - Tarantool.io
Sphinx -build warnings reference. This document will guide you through the warnings that can be raised by Sphinx while building the docs.
Read more >See all warnings as errors when building Sphinx docs on ...
Turn warnings into errors ( -W and --keep-going options). This means the build fails if there is a warning and exits with exit...
Read more >Docs build error with Sphinx 3.0 due to invalid C declaration
My guess is sphinx new version possibly breaking the build on Python 3.8 where it's not pinned to use 2.2.0 pulling the latest...
Read more >Sphinx 2.3.2-beta reference manual
2.2.1. Required tools. On UNIX, you will need the following tools to build and install Sphinx: a working C++ compiler. GNU gcc and...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi, still getting this on 0.96.dev0 running on Ubuntu focal:
/usr/lib/python3/dist-packages/rst2pdf/rson.py:140: FutureWarning: Possible nested set at position 2 splitter = re.compile(pattern).split
@akrabat Can confirm the warnings are now gone as of the latest master.