Remove six and unicode_literals, and require Sphinx 4 or higher.

Review Request #12742 — Created Nov. 27, 2022 and submitted — Latest diff uploaded

Information

beanbag-docutils
master

Reviewers

We dropped support for Python 2.7 in beanbag-docutils 2.0. As part of a
continued effort to modernize this and prepare for new code, this change
removes the usage and dependency on six, and removes legacy
unicode_literals imports.

Unit tests pass.

setup.py
beanbag_docutils/__init__.py
beanbag_docutils/sphinx/ext/autodoc_utils.py
beanbag_docutils/sphinx/ext/collect_files.py
beanbag_docutils/sphinx/ext/django_utils.py
beanbag_docutils/sphinx/ext/extlinks.py
beanbag_docutils/sphinx/ext/github.py
beanbag_docutils/sphinx/ext/http_role.py
beanbag_docutils/sphinx/ext/image_srcsets.py
beanbag_docutils/sphinx/ext/intersphinx_utils.py
beanbag_docutils/sphinx/ext/ref_utils.py
beanbag_docutils/sphinx/ext/retina_images.py
beanbag_docutils/sphinx/ext/tests/test_autodoc_utils.py
beanbag_docutils/sphinx/ext/tests/test_django_utils.py
beanbag_docutils/sphinx/ext/tests/test_extlinks.py
beanbag_docutils/sphinx/ext/tests/test_github.py
beanbag_docutils/sphinx/ext/tests/test_http_role.py
beanbag_docutils/sphinx/ext/tests/test_image_srcsets.py
beanbag_docutils/sphinx/ext/tests/test_ref_utils.py
beanbag_docutils/sphinx/ext/tests/testcase.py
docs/conf.py
Loading...