-
-
Notifications
You must be signed in to change notification settings - Fork 654
Description
Our psutil dependency cannot be updated (see #26253) because upstream psutil doesn't support cygwin and has no intention to do so. The psutil module is used only to implement the two functions get_memory_usage()
and virtual_memory_limit()in
sage.misc.getusage`. Those functions, in turn, are used only in a few places:
- Seting some memory limits on GAP.
- Choosing a max stack size for PARI.
- Two doctests tests for memory leaks.
None of these applications is critical. Modulo any surprise platform issues, the memory limits that we set are upper limits, and can simply be replaced with large numbers (or no limit).
If they are replaced, and if we forego those two doctests, the entire psutil SPKG can be removed to alleviate the maintenance issues.
CC: @embray @slel @mkoeppe @kiwifb @antonio-rojas @isuruf @dimpase @sagetrac-tmonteil @koffie
Component: packages: standard
Author: Michael Orlitzky
Branch: 056558f
Reviewer: Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/32656