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

Sphinx 8 will drop support for representing paths as strings. Use "pathlib.Path" or "os.fspath" instead. #22475

Open
elharo opened this issue Apr 10, 2024 · 4 comments

Comments

@elharo
Copy link
Contributor

elharo commented Apr 10, 2024

Warning in build

/Users/elharo/presto/presto-docs/presto-docs-venv/lib/python3.9/site-packages/sphinx_material/init.py:74: RemovedInSphinx80Warning: Sphinx 8 will drop support for representing paths as strings. Use "pathlib.Path" or "os.fspath" instead.
filename = app.outdir + "/sitemap.xml"
Generating sitemap for 483 pages in /Users/elharo/presto/presto-docs/target/html/sitemap.xml
build succeeded, 738 warnings.

@tdcmeehan tdcmeehan changed the title hinx 8 will drop support for representing paths as strings. Use "pathlib.Path" or "os.fspath" instead. Sphinx 8 will drop support for representing paths as strings. Use "pathlib.Path" or "os.fspath" instead. Apr 10, 2024
@elharo elharo changed the title Sphinx 8 will drop support for representing paths as strings. Use "pathlib.Path" or "os.fspath" instead. Shinx 8 will drop support for representing paths as strings. Use "pathlib.Path" or "os.fspath" instead. Apr 10, 2024
@elharo elharo changed the title Shinx 8 will drop support for representing paths as strings. Use "pathlib.Path" or "os.fspath" instead. Sphinx 8 will drop support for representing paths as strings. Use "pathlib.Path" or "os.fspath" instead. Apr 10, 2024
@AlinaFang1123
Copy link

I would like to work on this issue. Could you provide more context for this issue?

@elharo
Copy link
Contributor Author

elharo commented Apr 23, 2024

We seem to get a lot of these sorts of requests. Is this part of some course or program? Can I ask for a little more info about your background and what your goals are for contributing to this project? I'm trying to understand what the genesis of these requests is. Thanks.

@AlinaFang1123
Copy link

Hi Eliotte, thanks for your response. We're a team of college students in a software engineering class, contributing to open-source projects for our final project. We're currently also working on issue #21601 but need help determining which step of the get RoundTrip to change. Can you please provide some guidance? We appreciate your help!

@elharo
Copy link
Contributor Author

elharo commented May 1, 2024

Can you be more specific? Which class at which university?

Meanwhile, for this issue you need to build the project, find the warning and then figure out how to fix it. This one looks like it might need a package upgrade somewhere in the build system. Or it might be a case of a tool incorrectly spilling logs into the dependent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🆕 Unprioritized
Development

No branches or pull requests

2 participants