Skip to content

Commit 0d3a38c

Browse files
authored
DOC: whatsnew/v8: Update release notes for the Mamba and Micromamba magic commands ipython#14191 (ipython#14527)
- thx ipython#14191
2 parents d23bee0 + b912331 commit 0d3a38c

File tree

1 file changed

+19
-8
lines changed

1 file changed

+19
-8
lines changed

docs/source/whatsnew/version8.rst

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -392,16 +392,27 @@ Reverted in 8.17.1:
392392

393393
- :ghpull:`14190` remove support for python 2 in lexers (reverted in 8.17.1 as it is imported by qtconsole/spyder)
394394

395-
Mamba and Micromamba magic
396-
~~~~~~~~~~~~~~~~~~~~~~~~~~
397395

398-
In addition to the conda command to manage conda environment, mamba and
399-
micromamba can now be used using the corresponding magic in IPython.
400-
Since these commands are compatible with conda, they are following the
401-
same logic.
396+
Mamba and Micromamba magic commands
397+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
398+
399+
In addition to the ``%conda`` magic command for calling ``conda`` in IPython,
400+
the ``%mamba`` and ``%micromamba`` magic commands now
401+
call ``mamba`` and ``micromamba`` if they are on ``sys.path``.
402+
403+
.. code::
404+
405+
%mamba install pkgname
406+
%micromamba install pkgname
407+
%conda install pkgname
408+
%pip install pkgname
409+
410+
%mamba --help
411+
%micromamba --help
412+
%conda --help
413+
%pip --help # works w/ JupyterLite
414+
!pip --help
402415
403-
These two magic require to have the corresponding commands available
404-
either in the conda environment or system wide.
405416
406417
:ghpull:`14191`
407418

0 commit comments

Comments
 (0)