169 Commits

Author SHA256 Message Date
Ana Guerrero
245958dcc2 Accepting request 1120305 from devel:languages:python
Forwarded request #1120112 from aplanas

- Rebase logind_y2038.patch based on the reviewed code

OBS-URL: https://build.opensuse.org/request/show/1120305
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psutil?expand=0&rev=77
2023-10-26 15:11:51 +00:00
393ec976a9 Accepting request 1120112 from home:aplanas:branches:devel:languages:python
- Rebase logind_y2038.patch based on the reviewed code

OBS-URL: https://build.opensuse.org/request/show/1120112
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=164
2023-10-25 13:53:10 +00:00
Ana Guerrero
715d93bc62 Accepting request 1114855 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1114855
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psutil?expand=0&rev=76
2023-10-04 20:30:23 +00:00
e7d3a235ed Accepting request 1114566 from home:bnavigator:branches:devel:languages:python
- Require /usr/bin/who only for suse_version > 1500: 15.X does not
  provide it, but has it in coreutils.
- PEP517
- Clean up specfile from obsolete python2 stuff

OBS-URL: https://build.opensuse.org/request/show/1114566
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=162
2023-10-02 16:49:15 +00:00
Ana Guerrero
ea4bd75bd2 Accepting request 1109268 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1109268
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psutil?expand=0&rev=75
2023-09-08 19:15:19 +00:00
bfbcbcf864 Accepting request 1109260 from home:dimstar:Factory
- BuildRequire /usr/bin/who: called by the test suite. With
  coreutils 9.4 'who' is no longer part of the main package but is
  shipped as part of coreutils-systemd.

OBS-URL: https://build.opensuse.org/request/show/1109260
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=160
2023-09-06 12:37:42 +00:00
Ana Guerrero
7463c9f5ab Accepting request 1105468 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1105468
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psutil?expand=0&rev=74
2023-08-28 15:11:20 +00:00
28855b4c4f Accepting request 1105452 from home:aplanas:branches:devel:languages:python
- Add logind_y2038.patch to use logind if systemd >= 254 is used, to
  fix the issue of ut_tv.tv_sec and the Y2038 problem.

OBS-URL: https://build.opensuse.org/request/show/1105452
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=158
2023-08-23 11:06:16 +00:00
e28275b296 Accepting request 1084220 from devel:languages:python
- 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
2023-05-04 15:09:30 +00:00
ee06b25cd4 - 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/package/show/devel:languages:python/python-psutil?expand=0&rev=156
2023-05-03 09:07:06 +00:00
b135cda948 Accepting request 1081822 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1081822
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psutil?expand=0&rev=72
2023-04-22 19:59:31 +00:00
a85caf59d0 Accepting request 1081535 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081535
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=154
2023-04-21 14:11:27 +00:00
a97ff488f2 Accepting request 1041731 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1041731
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psutil?expand=0&rev=71
2022-12-10 20:17:24 +00:00
8c5a2621b1 Accepting request 1041723 from home:bnavigator:branches:devel:languages:python
- Require unittest2 only for python2: make this suitable for
  the 15.4_py39 target in devel:languages:python:backports.
- Merge skip-obs.patch into skip_failing_tests.patch and add
  test_linux.py::test_cpu_affinity because it depends on the
  obs vm-type or worker CPU.

OBS-URL: https://build.opensuse.org/request/show/1041723
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=152
2022-12-08 21:03:53 +00:00
52809e2d40 Accepting request 1034803 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1034803
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psutil?expand=0&rev=70
2022-11-10 13:19:15 +00:00
7f6f3df1e0 Accepting request 1034380 from home:stroeder:python
update to version 5.9.4

OBS-URL: https://build.opensuse.org/request/show/1034380
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=150
2022-11-09 09:26:01 +00:00
5c0a8d1741 Accepting request 1030870 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1030870
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psutil?expand=0&rev=69
2022-10-25 09:18:27 +00:00
a581f33459 Accepting request 1030544 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/1030544
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=148
2022-10-24 11:40:34 +00:00
0be673427f Accepting request 1003536 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1003536
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psutil?expand=0&rev=68
2022-09-15 20:57:47 +00:00
bdca8db763 Accepting request 1003358 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/1003358
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=146
2022-09-14 13:33:23 +00:00
aa30f1cdbc Accepting request 989376 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/989376
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psutil?expand=0&rev=67
2022-08-04 11:23:05 +00:00
acfccb018d Accepting request 989366 from home:bnavigator:branches:devel:languages:python
- Fix tests: setuptools changed the builddir library path and does
  not find the module from it. Use the installed platlib instead
  and exclude psutil.tests only later.
- Refresh skip-obs.patch

OBS-URL: https://build.opensuse.org/request/show/989366
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=144
2022-07-15 10:45:42 +00:00
60f7c95e92 Accepting request 984765 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/984765
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psutil?expand=0&rev=66
2022-06-25 08:23:45 +00:00
bec43d11bd Accepting request 984708 from home:WernerFink:branches:devel:languages:python
- Add patch mem-used-bsc1181475.patch (bsc#1181475)
  * Adopt change of used memory calculation from upstream of procps

OBS-URL: https://build.opensuse.org/request/show/984708
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=142
2022-06-23 21:14:15 +00:00
f51ffcac4e Accepting request 979035 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/979035
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psutil?expand=0&rev=65
2022-05-26 16:43:43 +00:00
3fe6537bd9 Accepting request 979027 from home:stroeder:python
update to 5.9.1

OBS-URL: https://build.opensuse.org/request/show/979027
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=140
2022-05-24 19:14:34 +00:00
d6e5157bfa Accepting request 950795 from devel:languages:python
- Fix name of Patch4, it is skip-partitions-erros.patch
- Add skip-partitions-erros.patch skipping tests failing on Linux
  (gh#giampaolo/psutil#2043).

OBS-URL: https://build.opensuse.org/request/show/950795
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psutil?expand=0&rev=64
2022-02-03 22:15:56 +00:00
030f09ff2e Add missing export
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=139
2022-02-02 17:35:07 +00:00
8039fcf191 - Fix name of Patch4, it is skip-partitions-erros.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=138
2022-02-02 17:30:54 +00:00
09992dc401 - Add skip-partitions-erros.patch skipping tests failing on Linux
(gh#giampaolo/psutil#2043).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=137
2022-01-30 01:39:36 +00:00
661b6cb7bf Accepting request 945437 from devel:languages:python
- 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
2022-01-11 20:17:14 +00:00
ef49f5ae16 - 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/package/show/devel:languages:python/python-psutil?expand=0&rev=136
2022-01-10 22:54:30 +00:00
b2a05433ba Accepting request 933615 from devel:languages:python
- Update skip-obs.patch to also skip TestProcess.test_ionice_linux

OBS-URL: https://build.opensuse.org/request/show/933615
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psutil?expand=0&rev=62
2021-11-26 23:50:26 +00:00
Steve Kowalik
d71de94fac - Update skip-obs.patch to also skip TestProcess.test_ionice_linux
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=135
2021-11-25 04:06:35 +00:00
e899f2a17d Accepting request 892577 from devel:languages:python
- remove the dependency on net-tools, since it conflicts with
  busybox-hostnmame which is default on MicroOS. boo#1184753

OBS-URL: https://build.opensuse.org/request/show/892577
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psutil?expand=0&rev=61
2021-05-15 21:15:47 +00:00
a224f88de7 - remove the dependency on net-tools, since it conflicts with
busybox-hostnmame which is default on MicroOS. boo#1184753

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=133
2021-05-12 20:16:50 +00:00
249ae81466 Accepting request 892554 from home:iDesmI
I removed the dependency on net-tools, since it conflicts with busybox-hostnmame which is default on MicroOS.
The current configuration made it impossible to install python-psutil on MicroOS. See https://bugzilla.opensuse.org/show_bug.cgi?id=1184753

OBS-URL: https://build.opensuse.org/request/show/892554
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=132
2021-05-12 18:48:31 +00:00
b174a440f4 Accepting request 867674 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/867674
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psutil?expand=0&rev=60
2021-02-01 12:27:11 +00:00
be1bd93299 Accepting request 867673 from home:alarrosa:branches:devel:languages:python
- Do not install tests (and change the way they're run since they
  were run from %{buildroot})

- Add patch to skip tests related to rlimit and zombie processes
  that fail when building for python2 on i586:
  * skip_rlimit_tests_on_python2.patch

OBS-URL: https://build.opensuse.org/request/show/867673
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=130
2021-01-29 09:54:20 +00:00
3950a787af Accepting request 866659 from home:alarrosa:branches:devel:languages:python
- 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
2021-01-25 22:42:02 +00:00
b64416518a Accepting request 854885 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/854885
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psutil?expand=0&rev=59
2020-12-12 19:28:24 +00:00
2adad0d40b Accepting request 854880 from home:bnavigator:branches:devel:languages:python
- Only require unittest2 for Leap.

OBS-URL: https://build.opensuse.org/request/show/854880
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=127
2020-12-11 13:29:08 +00:00
Michael Ströder
bb3499274e Accepting request 854859 from home:gladiac:pgadmin4
- Add missing BR for unittest2

This fixes building on openSUSE_Leap_15.2

OBS-URL: https://build.opensuse.org/request/show/854859
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=126
2020-12-11 12:06:51 +00:00
146a92ce5f Accepting request 852339 from devel:languages:python
- 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
2020-12-03 17:41:17 +00:00
2e988699e7 - 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/package/show/devel:languages:python/python-psutil?expand=0&rev=124
2020-12-01 12:58:09 +00:00
64fb23edc2 Accepting request 845690 from devel:languages:python
- Fix shebang replacement for multiple python flavors (forwarded request 845689 from bnavigator)

OBS-URL: https://build.opensuse.org/request/show/845690
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psutil?expand=0&rev=57
2020-11-05 20:53:59 +00:00
Michael Ströder
b1f793a420 Accepting request 845689 from home:bnavigator:branches:devel:languages:python
- Fix shebang replacement for multiple python flavors

OBS-URL: https://build.opensuse.org/request/show/845689
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=122
2020-11-03 11:04:32 +00:00
af5945a5fe Accepting request 835008 from devel:languages:python
- 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
2020-10-29 08:45:15 +00:00
a1c9fdbbfa - 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/package/show/devel:languages:python/python-psutil?expand=0&rev=120
2020-09-16 21:13:50 +00:00
bfb81d975f Accepting request 828549 from devel:languages:python
- Add skip_failing_tests.patch to skip tests failing because of
  incomplete emulation of the environment in osc build
  environment (gh#giampaolo/psutil#1635).

OBS-URL: https://build.opensuse.org/request/show/828549
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psutil?expand=0&rev=55
2020-08-25 10:40:44 +00:00