- update to 7.0.0:
* 669_, [Windows]: `net_if_addrs()`_ also returns the broadcast
address instead of None.
* 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().
* 2496_, [Linux]: Avoid segfault (a cPython bug) on
Process.memory_maps() for processes that use hundreds of GBs
of memory.
* 2502_, [macOS]: `virtual_memory()`_ now relies on
host_statistics64 instead of host_statistics. This is the
same approach used by vm_stat CLI tool, and should grant more
accurate results.
* 2480_: Python 2.7 is no longer supported.
* 2490_: removed long deprecated Process.memory_info_ex()
method.
OBS-URL: https://build.opensuse.org/request/show/1281077
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psutil?expand=0&rev=84
* 2471_: use Vulture CLI tool to detect dead code.
* 2418_, [Linux]: fix race condition in case /proc/PID/stat does not exist, but
/proc/PID does, resulting in FileNotFoundError.
* 2470_, [Linux]: `users()`_ may return "localhost" instead of the actual IP
address of the user logged in.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=177
- update to 6.1.0:
* 2366_, [Windows]: drastically speedup `process_iter()`_. We
now determine process unique identity by using process "fast"
create time method. This will considerably speedup those apps
which use `process_iter()`_ only once, e.g. to look for a
process with a certain name.
* 2446_: use pytest instead of unittest.
* 2448_: add make install-sysdeps target to install the
necessary system dependencies (python-dev, gcc, etc.) on all
supported UNIX flavors.
* 2449_: add make install-pydeps-test and make install-pydeps-
dev targets. They can be used to install dependencies meant
for running tests and for local development. They can also be
installed via pip install .[test] and pip install .[dev].
* 2456_: allow to run tests via python3 -m psutil.tests even if
pytest module is not installed. This is useful for production
environments that don't have pytest installed, but still want
to be able to test psutil installation.
* 2427_: psutil (segfault) on import in the free-threaded (no
GIL) version of Python 3.13. (patch by Sam Gross)
* 2455_, [Linux]: IndexError may occur when reading
/proc/pid/stat and field 40 (blkio_ticks) is missing.
* 2457_, [AIX]: significantly improve the speed of
`Process.open_files()`_ for some edge cases.
* 2460_, [OpenBSD]: `Process.num_fds()`_ and
`Process.open_files()`_ may fail with `NoSuchProcess`_ for
PID 0. Instead, we now return "null" values (0 and []
respectively).
- drop skip_failing_tests.patch: obsolete
OBS-URL: https://build.opensuse.org/request/show/1225342
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psutil?expand=0&rev=82
* 2366_, [Windows]: drastically speedup `process_iter()`_. We
now determine process unique identity by using process "fast"
create time method. This will considerably speedup those apps
which use `process_iter()`_ only once, e.g. to look for a
process with a certain name.
* 2446_: use pytest instead of unittest.
* 2448_: add make install-sysdeps target to install the
necessary system dependencies (python-dev, gcc, etc.) on all
supported UNIX flavors.
* 2449_: add make install-pydeps-test and make install-pydeps-
dev targets. They can be used to install dependencies meant
for running tests and for local development. They can also be
installed via pip install .[test] and pip install .[dev].
* 2456_: allow to run tests via python3 -m psutil.tests even if
pytest module is not installed. This is useful for production
environments that don't have pytest installed, but still want
to be able to test psutil installation.
* 2427_: psutil (segfault) on import in the free-threaded (no
GIL) version of Python 3.13. (patch by Sam Gross)
* 2455_, [Linux]: IndexError may occur when reading
/proc/pid/stat and field 40 (blkio_ticks) is missing.
* 2457_, [AIX]: significantly improve the speed of
`Process.open_files()`_ for some edge cases.
* 2460_, [OpenBSD]: `Process.num_fds()`_ and
`Process.open_files()`_ may fail with `NoSuchProcess`_ for
PID 0. Instead, we now return "null" values (0 and []
respectively).
- drop skip_failing_tests.patch: obsolete
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=175
* 2109_: ``maxfile`` and ``maxpath`` fields were removed from the namedtuple
returned by `disk_partitions()`_. Reason: on network filesystems (NFS) this
can potentially take a very long time to complete.
* 2366_, [Windows]: log debug message when using slower process APIs.
* 2375_, [macOS]: provide arm64 wheels. (patch by Matthieu Darbois)
* 2396_: `process_iter()`_ no longer pre-emptively checks whether PIDs have
been reused. This makes `process_iter()`_ around 20x times faster.
* 2396_: a new ``psutil.process_iter.cache_clear()`` API can be used the clear
`process_iter()`_ internal cache.
* 2401_, Support building with free-threaded CPython 3.13. (patch by Sam Gross)
* 2407_: `Process.connections()`_ was renamed to `Process.net_connections()`_.
The old name is still available, but it's deprecated (triggers a
``DeprecationWarning``) and will be removed in the future.
* 2425_: [Linux]: provide aarch64 wheels. (patch by Matthieu Darbois / Ben Raz)
* 2250_, [NetBSD]: `Process.cmdline()`_ sometimes fail with EBUSY. It usually
happens for long cmdlines with lots of arguments. In this case retry getting
the cmdline for up to 50 times, and return an empty list as last resort.
* 2254_, [Linux]: offline cpus raise NotImplementedError in cpu_freq() (patch
by Shade Gladden)
* 2272_: Add pickle support to psutil Exceptions.
* 2359_, [Windows], [CRITICAL]: `pid_exists()`_ disagrees with `Process`_ on
whether a pid exists when ERROR_ACCESS_DENIED.
* 2360_, [macOS]: can't compile on macOS < 10.13. (patch by Ryan Schmidt)
* 2362_, [macOS]: can't compile on macOS 10.11. (patch by Ryan Schmidt)
* 2365_, [macOS]: can't compile on macOS < 10.9. (patch by Ryan Schmidt)
* 2395_, [OpenBSD]: `pid_exists()`_ erroneously return True if the argument is
a thread ID (TID) instead of a PID (process ID).
* 2412_, [macOS]: can't compile on macOS 10.4 PowerPC due to missing `MNT_`
constants.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=173
- update to 5.9.7:
* 2324_: enforce Ruff rule `raw-string-in-exception`, which
helps providing clearer tracebacks when exceptions are
raised by psutil.
* 2325_, [PyPy]: psutil did not compile on PyPy due to missing
`PyErr_SetExcFromWindowsErrWithFilenameObject` cPython API.
- drop logind_y2038.patch (upstream)
we returned either ``None`` or an empty string.
* 887: [Linux] virtual_memory()'s 'available' and 'used'
values are more precise and match "free" cmdline utility.
"available" also takes into account LCX containers
* 891: procinfo.py script has been updated and provides a
* 825: [Linux] cpu_affinity; fix possible double close and
* 885: ValueError is raised if a negative integer is passed
* 892: [Linux] Process.cpu_affinity([-1]) raise SystemError
* #857: [SunOS] Process cpu_times(), cpu_percent(), threads() amd
memory_maps() may raise RuntimeError if attempting to query a 64bit
* #858: Process.as_dict() should not return memory_info_ex() because it's
* #866: [Windows] win_service_iter() and services in general are not able
* #869: [Windows] Process.wait() may raise TimeoutExpired with wrong
ValueError: ambiguos inode with multiple PIDs references
- minor spec improvement
- First import
OBS-URL: https://build.opensuse.org/request/show/1135317
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psutil?expand=0&rev=79
* 2324_: enforce Ruff rule `raw-string-in-exception`, which
helps providing clearer tracebacks when exceptions are
raised by psutil.
* 2325_, [PyPy]: psutil did not compile on PyPy due to missing
`PyErr_SetExcFromWindowsErrWithFilenameObject` cPython API.
we returned either ``None`` or an empty string.
* 887: [Linux] virtual_memory()'s 'available' and 'used'
values are more precise and match "free" cmdline utility.
"available" also takes into account LCX containers
* 891: procinfo.py script has been updated and provides a
* 825: [Linux] cpu_affinity; fix possible double close and
* 885: ValueError is raised if a negative integer is passed
* 892: [Linux] Process.cpu_affinity([-1]) raise SystemError
* #857: [SunOS] Process cpu_times(), cpu_percent(), threads() amd
memory_maps() may raise RuntimeError if attempting to query a 64bit
* #858: Process.as_dict() should not return memory_info_ex() because it's
* #866: [Windows] win_service_iter() and services in general are not able
* #869: [Windows] Process.wait() may raise TimeoutExpired with wrong
ValueError: ambiguos inode with multiple PIDs references
- minor spec improvement
- First import
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=168
- update to 5.9.5:
* in case of exception, display a cleaner error
traceback by hiding the `KeyError` bit deriving from a
missed cache hit.
* print the full traceback when a `DeprecationWarning`
or `UserWarning` is raised.
* there are cases where `Process.cwd()`_ cannot be
determined (e.g. directory no longer exists), in which case
we returned either ``None`` or an empty string.
This was consolidated and we now return ``""`` on all
platforms.
* [UNIX]: if process is a zombie, and we can only
determine part of the its truncated `Process.name()`_
(15 chars), don't fail with `ZombieProcess`_ when we try
to guess the full name from the `Process.cmdline()`_. Just
return the truncated name.
* on certain kernels, ``"MemAvailable"`` field
from ``/proc/meminfo`` returns ``0`` (possibly a kernel bug), in
which case we calculate an approximation for ``available``
memory which matches "free" CLI utility.
* `disk_partitions()`_: do not unnecessarily
read /proc/filesystems and raise `AccessDenied`_ unless user
specified `all=False` argument.
* `users()`_ loses precision for ``started``
attribute (off by 1 minute).
* if cwd no longer exists. Return an empty string instead.
OBS-URL: https://build.opensuse.org/request/show/1084220
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psutil?expand=0&rev=73
* in case of exception, display a cleaner error
traceback by hiding the `KeyError` bit deriving from a
missed cache hit.
* print the full traceback when a `DeprecationWarning`
or `UserWarning` is raised.
* there are cases where `Process.cwd()`_ cannot be
determined (e.g. directory no longer exists), in which case
we returned either ``None`` or an empty string.
This was consolidated and we now return ``""`` on all
platforms.
* [UNIX]: if process is a zombie, and we can only
determine part of the its truncated `Process.name()`_
(15 chars), don't fail with `ZombieProcess`_ when we try
to guess the full name from the `Process.cmdline()`_. Just
return the truncated name.
* on certain kernels, ``"MemAvailable"`` field
from ``/proc/meminfo`` returns ``0`` (possibly a kernel bug), in
which case we calculate an approximation for ``available``
memory which matches "free" CLI utility.
* `disk_partitions()`_: do not unnecessarily
read /proc/filesystems and raise `AccessDenied`_ unless user
specified `all=False` argument.
* `users()`_ loses precision for ``started``
attribute (off by 1 minute).
* if cwd no longer exists. Return an empty string instead.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=156
- update to 5.9.0:
* [Linux]: `cpu_freq()`_ is slow on systems with many CPUs. Read current
frequency values for all CPUs from ``/proc/cpuinfo`` instead of opening many
files in ``/sys`` fs. (patch by marxin)
* `NoSuchProcess`_ message now specifies if the PID has been reused.
* error classes (`NoSuchProcess`_, `AccessDenied`_, etc.) now have a better
formatted and separated ``__repr__`` and ``__str__`` implementations.
* [Linux]: `disk_partitions()`_: convert ``/dev/root`` device (an alias
used on some Linux distros) to real root device path.
* ``PSUTIL_DEBUG`` mode now prints file name and line number of the debug
messages coming from C extension modules.
* rewrite HISTORY.rst to use hyperlinks pointing to psutil API doc.
* [Linux]: `wait_procs()`_ should catch ``subprocess.TimeoutExpired``
exception.
* [Linux]: `sensors_battery()`_ can raise ``TypeError`` on PureOS.
* [Linux]: psutil does not handle ``ENAMETOOLONG`` when accessing process
file descriptors in procfs. (patch by Nikita Radchenko)
* **[critical]**: ``memoize_when_activated`` decorator is not thread-safe.
* **[critical]**: `process_iter()`_ is not thread safe and can raise
``TypeError`` if invoked from multiple threads.
* [Linux]: `cpu_freq()`_ return order is wrong on systems with more than
9 CPUs.
OBS-URL: https://build.opensuse.org/request/show/945437
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psutil?expand=0&rev=63
* [Linux]: `cpu_freq()`_ is slow on systems with many CPUs. Read current
frequency values for all CPUs from ``/proc/cpuinfo`` instead of opening many
files in ``/sys`` fs. (patch by marxin)
* `NoSuchProcess`_ message now specifies if the PID has been reused.
* error classes (`NoSuchProcess`_, `AccessDenied`_, etc.) now have a better
formatted and separated ``__repr__`` and ``__str__`` implementations.
* [Linux]: `disk_partitions()`_: convert ``/dev/root`` device (an alias
used on some Linux distros) to real root device path.
* ``PSUTIL_DEBUG`` mode now prints file name and line number of the debug
messages coming from C extension modules.
* rewrite HISTORY.rst to use hyperlinks pointing to psutil API doc.
* [Linux]: `wait_procs()`_ should catch ``subprocess.TimeoutExpired``
exception.
* [Linux]: `sensors_battery()`_ can raise ``TypeError`` on PureOS.
* [Linux]: psutil does not handle ``ENAMETOOLONG`` when accessing process
file descriptors in procfs. (patch by Nikita Radchenko)
* **[critical]**: ``memoize_when_activated`` decorator is not thread-safe.
* **[critical]**: `process_iter()`_ is not thread safe and can raise
``TypeError`` if invoked from multiple threads.
* [Linux]: `cpu_freq()`_ return order is wrong on systems with more than
9 CPUs.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=136
- update to 5.8.0:
* Enhancements:
- 1863: disk_partitions() exposes 2 extra fields: maxfile and
maxpath, which are the maximum file name and path name
length.
- 1872: [Windows] added support for PyPy 2.7.
- 1879: provide pre-compiled wheels for Linux and macOS.
- 1880: get rid of Travis and Cirrus CI services (they are no
longer free). CI testing is now done by GitHub Actions on
Linux, macOS and FreeBSD (yes). AppVeyor is still being used
for Windows CI.
* Bug fixes:
- 1708: [Linux] get rid of sensors_temperatures() duplicates.
(patch by Tim Schlueter).
- 1839: [Windows] always raise AccessDenied when failing to
query 64 processes from 32 bit ones (NtWoW64 APIs).
- 1866: [Windows] process exe(), cmdline(), environ() may raise
"invalid access to memory location" on Python 3.9.
- 1874: [Solaris] wrong swap output given when encrypted column
is present.
- 1875: [Windows] process username() may raise
ERROR_NONE_MAPPED if the SID has no corresponding account
name. In this case AccessDenied is now raised.
- 1877: [Windows] OpenProcess may fail with ERROR_SUCCESS.
Turn it into AccessDenied or NoSuchProcess depending on
whether the PID is alive.
- 1886: [macOS] EIO error may be raised on cmdline() and
environment(). Now it gets translated into AccessDenied.
- 1891: [macOS] get rid of deprecated getpagesize().
- Rebase patch and skip three other tests that fail on obs
OBS-URL: https://build.opensuse.org/request/show/866659
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=129
- update to 5.7.3:
- 809_: [FreeBSD] add support for `Process.rlimit()`.
- 893_: [BSD] add support for `Process.environ()` (patch by Armin Gruner)
- 1830_: [UNIX] `net_if_stats()`'s `isup` also checks whether the NIC is
running (meaning Wi-Fi or ethernet cable is connected).
- 1837_: [Linux] improved battery detection and charge "secsleft" calculation
- 1620_: [Linux] physical cpu_count() result is incorrect on systems with more
than one CPU socket.
- 1738_: [macOS] Process.exe() may raise FileNotFoundError if process is still
alive but the exe file which launched it got deleted.
- 1791_: [macOS] fix missing include for getpagesize().
- 1823_: [Windows] Process.open_files() may cause a segfault due to a NULL
pointer.
- 1838_: [Linux] sensors_battery(): if `percent` can be determined but not
the remaining values, still return a result instead of None.
- skip-obs.patch, skip_failing_tests.patch: rediff
OBS-URL: https://build.opensuse.org/request/show/852339
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psutil?expand=0&rev=58
- 809_: [FreeBSD] add support for `Process.rlimit()`.
- 893_: [BSD] add support for `Process.environ()` (patch by Armin Gruner)
- 1830_: [UNIX] `net_if_stats()`'s `isup` also checks whether the NIC is
running (meaning Wi-Fi or ethernet cable is connected).
- 1837_: [Linux] improved battery detection and charge "secsleft" calculation
- 1620_: [Linux] physical cpu_count() result is incorrect on systems with more
than one CPU socket.
- 1738_: [macOS] Process.exe() may raise FileNotFoundError if process is still
alive but the exe file which launched it got deleted.
- 1791_: [macOS] fix missing include for getpagesize().
- 1823_: [Windows] Process.open_files() may cause a segfault due to a NULL
pointer.
- 1838_: [Linux] sensors_battery(): if `percent` can be determined but not
the remaining values, still return a result instead of None.
- skip-obs.patch, skip_failing_tests.patch: rediff
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=124
- update to 5.7.2:
* parallel tests on UNIX (make test-parallel). They're twice as fast!
* 1741: "make build/install" is now run in parallel and it's about 15% faster on UNIX.
* 1747: Process.wait() on POSIX returns an enum, showing the negative signal which was used to terminate the process
* 1747: Process.wait() return value is cached so that the exit code can be retrieved on then next call.
* 1747: Process provides more info about the process on str() and repr() (status and exit code):
* 1757: memory leak tests are now stable.
* 1768: [Windows] added support for Windows Nano Server. (contributed by Julien Lebot)
* 1726: [Linux] cpu_freq() parsing should use spaces instead of tabs on ia64. (patch by Michał Górny)
* 1760: [Linux] Process.rlimit() does not handle long long type properly.
* 1766: [macOS] NoSuchProcess may be raised instead of ZombieProcess.
* 1781: fix signature of callback function for getloadavg(). (patch by Ammar Askar)
- remove skip-flaky-i586.patch (obsolete)
OBS-URL: https://build.opensuse.org/request/show/835008
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psutil?expand=0&rev=56
* parallel tests on UNIX (make test-parallel). They're twice as fast!
* 1741: "make build/install" is now run in parallel and it's about 15% faster on UNIX.
* 1747: Process.wait() on POSIX returns an enum, showing the negative signal which was used to terminate the process
* 1747: Process.wait() return value is cached so that the exit code can be retrieved on then next call.
* 1747: Process provides more info about the process on str() and repr() (status and exit code):
* 1757: memory leak tests are now stable.
* 1768: [Windows] added support for Windows Nano Server. (contributed by Julien Lebot)
* 1726: [Linux] cpu_freq() parsing should use spaces instead of tabs on ia64. (patch by Michał Górny)
* 1760: [Linux] Process.rlimit() does not handle long long type properly.
* 1766: [macOS] NoSuchProcess may be raised instead of ZombieProcess.
* 1781: fix signature of callback function for getloadavg(). (patch by Ammar Askar)
- remove skip-flaky-i586.patch (obsolete)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=120
- Add patch to skip more tests that won't work in OBS:
* skip-obs.patch
- Update to 5.6.3:
* 1494: [AIX] added support for Process.environ(). (patch by Arnon Yaari)
* 1276: [AIX] can't get whole cmdline(). (patch by Arnon Yaari)
* 1501_: [Windows] Process cmdline() and exe() raise unhandled "WinError 1168 element not found" exceptions for "Registry" and "Memory Compression" psuedo processes on Windows 10.
* 1526_: [NetBSD] process cmdline() could raise MemoryError. (patch by Kamil Rytarowski)
- Update to 5.6.2:
* 1404: [Linux] cpu_count(logical=False) uses a second method (read from /sys/devices/system/cpu/cpu[0-9]/topology/core_id) in order to determine the number of physical CPUs in case /proc/cpuinfo does not provide this info.
* 1458: provide coloured test output. Also show failures on KeyboardInterrupt.
* 1464: various docfixes (always point to python3 doc, fix links, etc.).
* 1478: add make command to re-run tests failed on last run.
* 1456: [Linux] cpu_freq() returns None instead of 0.0 when min/max not available (patch by Alex Manuskin)
* 1462: [Linux] (tests) make tests invariant to LANG setting (patch by Benjamin Drung)
* 1463: cpu_distribution.py script was broken.
* 1470: [Linux] disk_partitions(): fix corner case when /etc/mtab doesn't exist. (patch by Cedric Lamoriniere)
* 1472: [Linux] cpu_freq() does not return all CPUs on Rasbperry-pi 3.
* 1493: [Linux] cpu_freq(): handle the case where /sys/devices/system/cpu/cpufreq/ exists but is empty.
OBS-URL: https://build.opensuse.org/request/show/729891
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psutil?expand=0&rev=50
* skip-obs.patch
- Update to 5.6.3:
* 1494: [AIX] added support for Process.environ(). (patch by Arnon Yaari)
* 1276: [AIX] can't get whole cmdline(). (patch by Arnon Yaari)
* 1501_: [Windows] Process cmdline() and exe() raise unhandled "WinError 1168 element not found" exceptions for "Registry" and "Memory Compression" psuedo processes on Windows 10.
* 1526_: [NetBSD] process cmdline() could raise MemoryError. (patch by Kamil Rytarowski)
- Update to 5.6.2:
* 1404: [Linux] cpu_count(logical=False) uses a second method (read from /sys/devices/system/cpu/cpu[0-9]/topology/core_id) in order to determine the number of physical CPUs in case /proc/cpuinfo does not provide this info.
* 1458: provide coloured test output. Also show failures on KeyboardInterrupt.
* 1464: various docfixes (always point to python3 doc, fix links, etc.).
* 1478: add make command to re-run tests failed on last run.
* 1456: [Linux] cpu_freq() returns None instead of 0.0 when min/max not available (patch by Alex Manuskin)
* 1462: [Linux] (tests) make tests invariant to LANG setting (patch by Benjamin Drung)
* 1463: cpu_distribution.py script was broken.
* 1470: [Linux] disk_partitions(): fix corner case when /etc/mtab doesn't exist. (patch by Cedric Lamoriniere)
* 1472: [Linux] cpu_freq() does not return all CPUs on Rasbperry-pi 3.
* 1493: [Linux] cpu_freq(): handle the case where /sys/devices/system/cpu/cpufreq/ exists but is empty.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=107
- Active test suite, using skip-test-missing-warnings.patch to
explicitly skip 2 tests regarding warnings, skip-flaky-i586.patch
to skip a flaky i586 test, and setting TRAVIS to skip tests which
upstream doesnt run in their CI
- Add upstream pr_1364.patch to fix reading /sys/blocks on Linux 4.18+
- Remove tests from installed package
- Use URL https://github.com/giampaolo/psutil
- Use LANG=en_US.UTF-8 in %check to avoid failure in test_pmap
- update to version 5.6.1
* No changes effecting Linux
* Many checks added to tests to skip tests for missing features
OBS-URL: https://build.opensuse.org/request/show/686918
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=105
- fix source url
- update to version 4.3.0:
* #819: [Linux] different speedup improvements:
Process.ppid() is 20% faster
Process.status() is 28% faster
Process.name() is 25% faster
Process.num_threads is 20% faster on Python 3
* #810: [Windows] Windows wheels are incompatible with pip 7.1.2.
* #812: [NetBSD] fix compilation on NetBSD-5.x.
* #823: [NetBSD] virtual_memory() raises TypeError on Python 3.
* #829: [UNIX] psutil.disk_usage() percent field takes root reserved space
into account.
* #816: [Windows] fixed net_io_counter() values wrapping after 4.3GB in
Windows Vista (NT 6.0) and above using 64bit values from newer win APIs.
OBS-URL: https://build.opensuse.org/request/show/407226
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psutil?expand=0&rev=30
- Update to version 1.2.1
* #348: [Windows XP] fixed "ImportError: DLL load failed" occurring
on module import.
* #425: [Solaris] crash on import due to failure at determining BOOT_TIME.
* #443: [Linux] can't set CPU affinity with systems with more than 64 cores.
- Changes from version 1.2.0
* #439: assume os.getpid() if no argument is passed to psutil.Process
constructor.
* #440: new psutil.wait_procs() utility function which waits for multiple
processes to terminate.
* #348: [Windows XP/Vista] fixed "ImportError: DLL load failed" occurring on
module import.
- Changes from version 1.1.3
* #442: [Linux] psutil won't compile on certain version of Linux because of
missing prlimit(2) syscall.
- Changes from version 1.1.2
* #442: [Linux] psutil won't compile on Debian 6.0 because of missing
prlimit(2) syscall. (forwarded request 208748 from posophe)
OBS-URL: https://build.opensuse.org/request/show/208749
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psutil?expand=0&rev=14
- Update to version 1.2.1
* #348: [Windows XP] fixed "ImportError: DLL load failed" occurring
on module import.
* #425: [Solaris] crash on import due to failure at determining BOOT_TIME.
* #443: [Linux] can't set CPU affinity with systems with more than 64 cores.
- Changes from version 1.2.0
* #439: assume os.getpid() if no argument is passed to psutil.Process
constructor.
* #440: new psutil.wait_procs() utility function which waits for multiple
processes to terminate.
* #348: [Windows XP/Vista] fixed "ImportError: DLL load failed" occurring on
module import.
- Changes from version 1.1.3
* #442: [Linux] psutil won't compile on certain version of Linux because of
missing prlimit(2) syscall.
- Changes from version 1.1.2
* #442: [Linux] psutil won't compile on Debian 6.0 because of missing
prlimit(2) syscall.
OBS-URL: https://build.opensuse.org/request/show/208748
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=26
- update to 1.0.0:
* Process.get_connections() 'status' strings are now constants.
* test suite exits with non-zero on failure. (patch by floppymaster)
* extensively use unittest2 module in unit tests and provide
workarounds if this is not installed on python < 2.7.
* Process.get_memory_maps() may raise ValueError.
* Process.get_connections() 'status' field is no longer a string but a constant
object (psutil.CONN_*).
* Process.get_connections() 'local_address' and 'remote_address' fields renamed
to 'laddr' and 'raddr'.
* psutil.network_io_counters() renamed to psutil.net_io_counters().
OBS-URL: https://build.opensuse.org/request/show/182847
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psutil?expand=0&rev=10
- update to 1.0.0:
* Process.get_connections() 'status' strings are now constants.
* test suite exits with non-zero on failure. (patch by floppymaster)
* extensively use unittest2 module in unit tests and provide
workarounds if this is not installed on python < 2.7.
* Process.get_memory_maps() may raise ValueError.
* Process.get_connections() 'status' field is no longer a string but a constant
object (psutil.CONN_*).
* Process.get_connections() 'local_address' and 'remote_address' fields renamed
to 'laddr' and 'raddr'.
* psutil.network_io_counters() renamed to psutil.net_io_counters().
OBS-URL: https://build.opensuse.org/request/show/182833
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=20
+ @unittest.skipIf(sys.version_info.major == 2, "not supported on python2")
def test_rlimit_infinity_value(self):
# RLIMIT_FSIZE should be RLIM_INFINITY, which will be a really
# big number on a platform with large file support. On these
@@ -1303,6 +1308,7 @@ class TestProcess(PsutilTestCase):
assert_raises_nsp(fun, name)
@unittest.skipIf(not POSIX, 'POSIX only')
+ @unittest.skipIf(sys.version_info.major == 2, "not supported on python2")
def test_zombie_process(self):
parent, zombie = self.spawn_zombie()
self.assertProcessZombie(zombie)
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.