From 3be9efe569973a40fc3a0d55362c6b99eadec5e6 Mon Sep 17 00:00:00 2001 From: Giampaolo Rodola Date: Sat, 28 Dec 2024 13:20:25 +0100 Subject: [PATCH] update doc and history --- HISTORY.rst | 10 +++++++--- docs/index.rst | 7 ------- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/HISTORY.rst b/HISTORY.rst index 33df44fc6..39bb66157 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -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 ===== diff --git a/docs/index.rst b/docs/index.rst index 443c46eed..bde76d0b5 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -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