Skip to content

Commit

Permalink
update doc and history
Browse files Browse the repository at this point in the history
  • Loading branch information
giampaolo committed Dec 28, 2024
1 parent d68cedb commit 3be9efe
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
10 changes: 7 additions & 3 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,16 @@ XXXX-XX-XX

**Enhancements**

- 2480_: Dropped Python 2.7 support.
- 2480_: Python 2.7 is no longer supported. Latest version supporting Python
2.7 is psutil 6.1.X. Install it with: ``pip2 install psutil==6.1.*``.
- 2490_: removed long deprecated ``Process.memory_info_ex()`` method. It was
deprecated in psutil 4.0.0, released 8 years ago. Substitute is
``Process.memory_full_info()``.

**Compatibility notes**

- 2480_: Python 2.7 is no longer supported. Latest version supporting Python
2.7 is psutil 6.1.X. Install it with: ``pip2 install psutil==6.1.*``.
- 2480_: Python 2.7 is no longer supported.
- 2490_: removed long deprecated ``Process.memory_info_ex()`` method.

6.1.1
=====
Expand Down
7 changes: 0 additions & 7 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1706,13 +1706,6 @@ Process class
.. versionchanged::
4.0.0 multiple fields are returned, not only `rss` and `vms`.

.. method:: memory_info_ex()

Same as :meth:`memory_info` (deprecated).

.. warning::
deprecated in version 4.0.0; use :meth:`memory_info` instead.

.. method:: memory_full_info()

This method returns the same information as :meth:`memory_info`, plus, on
Expand Down

0 comments on commit 3be9efe

Please sign in to comment.