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

Fix warning about using srcdir as a string #457

Closed
AWhetter opened this issue Jun 22, 2024 · 0 comments
Closed

Fix warning about using srcdir as a string #457

AWhetter opened this issue Jun 22, 2024 · 0 comments
Labels

Comments

@AWhetter
Copy link
Collaborator

Running the tests outputs the following warning:

tests/test_integration.py::TestIntegration::test_template_overrides
  /home/ashley/workspace/sphinx-autoapi/.tox/py313/lib/python3.13/site-packages/autoapi/extension.py:106: RemovedInSphinx80Warning: Sphinx 8 will drop support for representing paths as strings. Use "pathlib.Path" or "os.fspath" instead.
    elif app.srcdir != os.getcwd():

We should address this before Sphinx v8 is released and this warning becomes an error.

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

No branches or pull requests

1 participant