Remove useless "lst:shell-pip-index-versions" and its result

This commit is contained in:
Gerard Vermeulen 2024-06-18 22:32:26 +02:00
parent d074b06450
commit 799f81c28a

View File

@ -4878,29 +4878,9 @@ ruff "$@" | cat
:header-args: :eval never-export :header-args: :eval never-export
:END: :END:
Listing [[lst:shell-pip-index-versions]] are is an example of invoking [[https://pip.pypa.io/en/stable/][pip]] in an Listing [[lst:pip-pypi-options]], [[lst:pip-list-outdated]], and [[lst:pip-upgrade-maybe]]
=org-mode= =shell= source block with its results in listing define the =pip-list-outdated= and =pip-upgrade-maybe= commands to upgrade
[[lst:shell-pip-index-versions-results]]. Listing [[lst:pip-pypi-options]], outdated Python packages in Emacs.
[[lst:pip-list-outdated]], [[lst:pip-upgrade-maybe]] allow to upgrade outdated Python
packages.
#+caption[Show how to use =pip index versions=]:
#+caption: Show how to use =pip index versions=.
#+header: :wrap "src text -n"
#+name: lst:shell-pip-index-versions
#+begin_src shell -n :exports both :results verbatim
# WARNING: "pip index" is currently an experimental command.
pip index versions circular-buffer --no-color
#+end_src
#+caption[The result of =pip index versions=]:
#+caption: The result of =pip index versions=.
#+name: lst:shell-pip-index-versions-results
#+RESULTS: lst:shell-pip-index-versions
#+begin_src text -n
circular-buffer (0.2.0)
Available versions: 0.2.0, 0.1.1, 0.1.0
#+end_src
#+caption[Emacs client "Package Installer for Python" and "PyPI" options]: #+caption[Emacs client "Package Installer for Python" and "PyPI" options]:
#+caption: Emacs client "Package Installer for Python" and "PyPI" options. #+caption: Emacs client "Package Installer for Python" and "PyPI" options.