-
Notifications
You must be signed in to change notification settings - Fork 91
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 doc build to py313 #2050
base: main
Are you sure you want to change the base?
Conversation
globals = {} | ||
exec(code, globals) | ||
|
||
if result is None: | ||
result = globals["usermethod"]() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm really not sure why the usermethod no longer shows up in locals
.
I just tried globals on a whim and it was there. Is this dangerous?
"Unable to execute embedded doc code at {}:{} ... {}\n{}".format( | ||
docname, self.lineno, datetime.datetime.now(), str(e) | ||
) | ||
f"Unable to execute embedded doc code at {docname}:{self.lineno}\n{str(e)}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found the timestamp really annoying and not useful when trying to debug a docs build. But you can certainly reject the edit if you disagree!
What is the change?
The docs are being built with python 3.9. This updates them to python 3.13 (updating dependency pins in the process)
Why is the change being made?
Keepin' up with the times!
Checklist
doc
folder.pyproject.toml
.