giampaolo / psutil

Cross-platform lib for process and system monitoring in Python
BSD 3-Clause "New" or "Revised" License
10.08k stars 1.37k forks source link

Remove deprecated `Process.memory_info_ex()` #2409

Open giampaolo opened 2 months ago

giampaolo commented 2 months ago

Sort of related to https://github.com/giampaolo/psutil/issues/2407. Process.memory_info_ex was deprecated in version 4.0.0, which was released on 2016-02-17 (8 years ago). During this time the method raised a DeprecationWarning so people had plenty of time to migrate. As such let's remove it for the upcoming 6.0.0 version, which already breaks some compatibility in other ways.