-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
Honor .pth files in target directory #29
Comments
For example
|
jaraco
pushed a commit
that referenced
this issue
Jun 25, 2021
This change adds `nitpicky=True` (which is an equivalent of `-n`) to make Sphinx emit warnings for any references to non-existing targets. Then, it adds `-W` to make it fail whenever a single warning is seen. Finally, `--keep-going` allows Sphinx to print out all the warnings before exiting instead of showing just one and bailing. Resolves #29 Refs: * https://www.sphinx-doc.org/en/master/man/sphinx-build.html#cmdoption-sphinx-build-n * https://www.sphinx-doc.org/en/master/man/sphinx-build.html#cmdoption-sphinx-build-W * https://www.sphinx-doc.org/en/master/man/sphinx-build.html#cmdoption-sphinx-build-keep-going
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently,
.pth
files are only honored on Python 3.2 and earlier due to this workaround.Python 3.3 and later are excused because the only perceived need for
.pth
files at the time of the implementation was to support namespace packages, packages which work fine in PEP 420 mode naturally on Python 3.3 and later.However, I've since learned of other packages such as future-fstrings that install
.pth
files to enable behavior on startup.This leads me to believe
rwt
should no longer exclude later Python versions from the.pth
file support... although this increases the impact of the issue that allrwt
invocations will now mask any existingsitecustomize.py
.The text was updated successfully, but these errors were encountered: