##// END OF EJS Templates
Clear filter
Show hidden
Commit Message Age Author Refs
load previous
r28766:fd05a9a7
Fix for embedded shell venv check index error (#14440) Fixes the issue from #14126 where we get an index out of range error when VIRTUAL_ENV is set to a 1 or 2 part path (eg ".venv").
M Bussonnier
merge
0
r28765:7df70a3c
Support pytest 8.1+ changes in pytest plugin Pytest 8.1 has also changed the plugin API, as well as required new keyword arguments. I've shifted the pytest version calculation to the module level so we can use it everywhere, and continue supporting all versions of pytest that we can. Fixes #14390
Steve Kowalik
0
r28764:269297b6
Fix for embedded shell venv check index error fixes #14126
Ben Jamin
0
r28763:43781b39
Fix crash on completion for optional six modules (#14436) closes #14434
M Bussonnier
merge
0
r28762:7bdc7df3
Fix crash on completion for optional six modules
M Bussonnier
0
r28761:a4880464
Copy-edit intro to config Grammar Move example configs into same order
William Andrea
0
r28760:1066e43a
Fix many py2-style prints in docs and commented code. (#14432) The main interest was to transform py2-style print statements that still appeared in some docstrings (e.g. for %history) and would thus show up when looking at the docs either interactively or in the rendered website. I also fixed a number of commented-out print statements at the same time, mostly because it was easier for me to just regexp-change all of them so that I could focus on the others.
M Bussonnier
merge
0
r28759:7a8349b0
Apply suggestions from code review
M Bussonnier
0
r28758:810faec9
Display Greek small letter mu (#14426) `%time foo()` output is often copied into code comments to explain performance improvements. The `\xb5` Latin Extended micro sign and the `\u03bc` Greek small letter mu have different codes but often look identical. Output mu to align with: * [The International System of Units (SI) brochure]( https://www.bipm.org/documents/20126/41483022/SI-Brochure-9-EN.pdf ), such as Table 7 SI prefixes * NFKC normalized [Python code](https://peps.python.org/pep-3131/ ) and [domain names](https://unicode.org/reports/tr36/). For example: ```sh python -c 'print("""class C: \xb5=1 print(hex(ord(dir(C)[-1])))""")' | tee /dev/fd/2 | python - ``` ```python class C: µ=1 print(hex(ord(dir(C)[-1]))) ``` `0x3bc` * Section 2.5 Duplicated Characters of [Unicode Technical Report 25]( https://www.unicode.org/reports/tr25/) > ...U+03BC μ is the preferred character in a Unicode context. * Ruff confusable mapping [updates]( https://github.com/astral-sh/ruff/pull/4430/files ), currently in the "preview" stage Add a unit test for UTF-8 display and https://bugs.launchpad.net/ipython/+bug/348466 ASCII fallback.
M Bussonnier
merge
0
r28757:4bc1baa1
Update Matplotlib docs (#14425) This updates the docs in line with the recent changes to move Matplotlib backend resolution to Matplotlib itself. In passing I have removed references to things that have definitely disappeared from Matplotlib (such as `qt4`), and I've added a comment about when `_matplotlib_manages_backends()` can be removed in future. This, along with #14420, should conclude the backend transition.
M Bussonnier
merge
0
r28756:0ec1c212
Fix many py2-style prints in docs and commented code. The main interest was to transform py2-style print statements that still appeared in some docstrings (e.g. for %history) and would thus show up when looking at the docs either interactively or in the rendered website. I also fixed a number of commented-out print statements at the same time, mostly because it was easier for me to just regexp-change all of them so that I could focus on the others.
Antony Lee
0
r28755:e96ec574
Fix downstream ipykernel tests (#14424) Locally I can get the downstream `ipykernel` tests to pass just by removing the explicit downgrade of `pytest` and `pytest_asyncio`, so here trying it in CI.
M Bussonnier
merge
0
r28754:51f11878
Fix listing of subcommands for "ipython profile" and "ipython history". (#14421) The previous code (likely going back to Py2) would print Must specify one of: dict_keys(['create', 'list', 'locate']) This PR fixes it to Must specify one of: 'create', 'list', 'locate'.
M Bussonnier
merge
0
r28753:85bb5302
Convert "osx" gui framework to/from "macosx" in Matplotlib (#14420) This is a correction to the code that moves backend handling to Matplotlib, which came to light during the review of matplotlib/matplotlib#27948. The GUI framework of macOSX is called `osx` in IPython but `macosx` in Matplotlib. It would be possible to allow passing a GUI framework of `osx` to Matplotlib and internally converting it to `macosx`, but the reverse direction is problematic as we would like the answer to be `osx` if we are using IPython and `macosx` if using pure Matplotlib. Therefore the simplest solution is to do the translation in IPython. It is not ideal as we want to minimise such Matplotlib-related implementation details in IPython, but the changes here are small and simple and hence I think they are acceptable. There are two new private functions `_convert_gui_to_matplotlib` and `_convert_gui_from_matplotlib` to do the required checking and conversion, and these are called whenever a GUI framework name is passed to or from Matplotlib. There are only 3 places in the code where this is currently required. Inevitably this comes to light just after the release of IPython 8.24.0! But it is not a problem for end users until the next Matplotlib release which contains matplotlib/matplotlib#27948. If that occurs really quickly (sometime in May?) perhaps we could release an IPython 8.24.1 just beforehand, otherwise the usual planned release at the end of next month would be fine.
M Bussonnier
merge
0
r28752:e63f26ee
"headless" GUI framework returned as None by Matplotlib
Ian Thomas
0
r28751:b8daaf1c
Replace use of qt6* backend names with qt*
Ian Thomas
0
r28750:6b96ecac
Darker
Christopher Covington
0
r28749:aec299d8
Display Greek small letter mu `%time foo()` output is often copied into code comments to explain performance improvements. The `\xb5` Latin Extended micro sign and the `\u03bc` Greek small letter mu have different codes but often look identical. Output mu to align with: * [The International System of Units (SI) brochure]( https://www.bipm.org/documents/20126/41483022/SI-Brochure-9-EN.pdf ), such as Table 7 SI prefixes * NFKC normalized [Python code](https://peps.python.org/pep-3131/ ) and [domain names](https://unicode.org/reports/tr36/). For example: ```sh python -c 'print("""class C: \xb5=1 print(hex(ord(dir(C)[-1])))""")' | tee /dev/fd/2 | python - ``` ```python class C: µ=1 print(hex(ord(dir(C)[-1]))) ``` `0x3bc` * Section 2.5 Duplicated Characters of [Unicode Technical Report 25]( https://www.unicode.org/reports/tr25/) > ...U+03BC μ is the preferred character in a Unicode context. * Ruff confusable mapping [updates]( https://github.com/astral-sh/ruff/pull/4430/files ), currently in the "preview" stage Add a unit test for UTF-8 display and https://bugs.launchpad.net/ipython/+bug/348466 ASCII fallback.
Christopher Covington
0
r28748:106678e0
Update Matplotlib docs
Ian Thomas
0
r28747:b594334f
Try unpinning sage
Ian Thomas
0
load next
< 1 .. 9 10 11 12 13 .. 1361 >
showing 20 out of 27211 commits