Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 33.9k
gh-108303: Move all pydoc related files to test_pydoc#114506
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
Uh oh!
There was an error while loading. Please reload this page.
Conversation
sobolevn commented Jan 23, 2024 • edited by bedevere-app bot
Loading Uh oh!
There was an error while loading. Please reload this page.
edited by bedevere-app bot
Uh oh!
There was an error while loading. Please reload this page.
sobolevn commented Jan 24, 2024
Very strange, why windows build fails. I will investigate. |
vstinner commented Jan 24, 2024
Tell me if you need help to investigate. |
vstinner commented Feb 12, 2024
test_pydoc is failing! |
sobolevn commented Feb 12, 2024
yes, this is expected. I am still debugging :( |
sobolevn commented Feb 12, 2024
I will convert to draft, so it will be clear that this is a WIP. |
vstinner commented Feb 12, 2024
Try: |
vstinner commented Feb 12, 2024
Also, there are now merge conflicts. |
sobolevn commented Feb 12, 2024
No, that's not the case :) I am trying to debug the initial Windows failure: The problem is that I cannot reproduce it locally on my macos. |
5d78f9f to 24e087bComparevstinner commented Feb 13, 2024
You should update pydoc as well: diff --git a/Lib/pydoc.py b/Lib/pydoc.py index 17f7346e5c..6d145abda9 100755 --- a/Lib/pydoc.py+++ b/Lib/pydoc.py@@ -552,7 +552,7 @@ def getdocloc(self, object, basedir=sysconfig.get_path('stdlib')): '_thread', 'zipimport') or (file.startswith(basedir) and not file.startswith(os.path.join(basedir, 'site-packages')))) and - object.__name__ not in ('xml.etree', 'test.pydoc_mod')):+ object.__name__ not in ('xml.etree', 'test.test_pydoc.pydoc_mod')): if docloc.startswith(("http://", "https://")): docloc = "{}/{}.html".format(docloc.rstrip("/"), object.__name__.lower()) else: |
sobolevn commented Feb 13, 2024 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
@vstinner thanks a lot, your suggestion about |
Sorry, @sobolevn and @vstinner, I could not cleanly backport this to |
Sorry, @sobolevn and @vstinner, I could not cleanly backport this to |
vstinner commented Feb 13, 2024
Merged. I just edited the commit message. Oh, sorry, I forgot that you can now merge changes by yourself! Oops. Well, sadly, automated backports fail as usual. Can you try to backport them manually? |
sobolevn commented Feb 13, 2024
Will do! |
GH-115501 is a backport of this pull request to the 3.11 branch. |
GH-115502 is a backport of this pull request to the 3.12 branch. |
I hope that this will be one of the latest commits to this issue! 🎉
There are only a couple of things left to do. Most files were cleaned up.
The change itself is rather simple.