Commit message Age Author Refs
r28665:e2d7fa0d
What's new 8.22
Matthias Bussonnier
0
r28664:0146ca84
Emit deprecations warnings
Matthias Bussonnier
0
r28663:ce61e283
Minor typing and updates post new inspector API (#14349) See #14342
M Bussonnier
0
r28662:30ae096c
Minor typing and updates post new inspector API See #14342
Matthias Bussonnier
0
r28661:2084e7f3
Improve typing and MIME hook API for inspector (#14342) Fixes https://github.com/ipython/ipython/issues/14339 ### Additions Adds `InfoDict` type to improve the typing of `info()` result. Adds missing `"subclasses"` to `info_fields` list (these were added to the field list in https://github.com/ipython/ipython/pull/11486 but we forgot to update `info_fields` variable at the time) - the newly added `InfoDict` type will ensure that this won't happen again. Adds `InspectorHookData` dataclass which is passed to the MIME hooks which now should expect a single argument. Having a single dataclass argument enables us to deprecate individual fields, or add new fields without breaking the existing hooks. The old hooks will still work (if any are out there since this mechanism got just added in the previous point version). ### Deletions A comment over `info_fields` gets deleted: - Contrarily to the comment (which is getting deleted in this PR), `info_fields` were not defining the order of display since at least 2015 (https://github.com/ipython/ipython/pull/7903 - I did not feel the need to go further in the history to find when exactly it happened). - Also contrarily to this comment, current Jupyter messaging spec does not define the contents of `info_fields` (I guess this was lost during IPython/Jupyter split), but the newly added `InfoDict` at least properly annotates their type (if you know where I can find the old IPython messaging spec with the descriptions I can add these as doc comments). Unused `cast_unicode` import gets deleted. If someone imported it from here... well they really should not have. ### Deprecations - mime hooks taking two arguments (`obj, info`)
M Bussonnier
0
r28660:b479c4a0
Fix missing jQuery in documentation (#14346) It's been 8 years since I last updated my IPython fork... 😄 ![Screenshot 2024-02-19 at 17-29-31 astrojuanlu_ipython Official repository for IPython itself Other repos in the IPython organization contain things like the website documentation builds etc](https://github.com/ipython/ipython/assets/316517/a5143264-6188-4389-bc37-914019b2be2b) Fix #14213 by adding https://pypi.org/project/sphinxcontrib-jquery/ to the Sphinx extensions, see https://github.com/sphinx-doc/sphinx/issues/10070 and https://github.com/sphinx-doc/sphinx/issues/7405 for extra context. Also fix #14264.
M Bussonnier
0
r28659:f5b05760
Fix for dynamically evaluated source code traceback (#14345) And add test. This should close #14057
M Bussonnier
0
r28658:6154002c
Do not deprecate `object_info` as this is used elsewhere We might decide to deprecate it separately in another PR
krassowski
0
r28657:7bd25744
IPython/utils/path.py: Deprecate unused functions target_outdated, target_update
Matthias Koeppe
0
r28656:5baee4e5
Style
Juan Luis Cano Rodríguez
0
< 1 .. 5 6 7 8 9 .. 2873 >