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

Update test_renderer so that tests pass with Sphinx 7.2. #976

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Mar 31, 2024

  1. Update test_renderer so that tests pass with Sphinx 7.2.

    Sphinx was updated in in pull request sphinx-doc/sphinx#11526 (July
    2023) so that importing `sphinx.testing.path` no longer causes Sphinx
    application paths to belong to the class `sphinx.testing.path.path`,
    which has a `makedirs` method.
    
    Instead, Sphinx application paths are now ordinary `Path` objects
    which lack this method, so we use `os.makedirs` instead. This is
    backwards compatible as `sphinx.testing.path.path` objects are
    pathlike and so accepted by `os.makedirs`.
    
    Fixes issue breathe-doc#975.
    gareth-rees committed Mar 31, 2024
    Configuration menu
    Copy the full SHA
    2dc8044 View commit details
    Browse the repository at this point in the history