126 Commits

Author SHA256 Message Date
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
4aede2163f Fix skipUnless syntax
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=118
2020-08-21 15:34:45 +00:00
e33132c9a2 - 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/package/show/devel:languages:python/python-psutil?expand=0&rev=117
2020-08-21 15:27:58 +00:00
1092b6163b Accepting request 784805 from devel:languages:python
For staging:I to fix py3 only build

- Update to 5.7.0:
  * Various fixes to build with updated kernel/etc.
- Remove merged patch pr_1665.patch and pr_1364.patch
- Update patch skip-obs.patch
- Remove skip-test-missing-warnings.patch as it can be fixed by
  properly calling the tests

OBS-URL: https://build.opensuse.org/request/show/784805
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psutil?expand=0&rev=54
2020-03-26 23:23:24 +00:00
Tomáš Chvátal
a38d8b3042 - Update to 5.7.0:
* Various fixes to build with updated kernel/etc.
- Remove merged patch pr_1665.patch and pr_1364.patch
- Update patch skip-obs.patch
- Remove skip-test-missing-warnings.patch as it can be fixed by
  properly calling the tests

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=115
2020-03-14 07:46:58 +00:00
0f63b00db3 Accepting request 768438 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/768438
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psutil?expand=0&rev=53
2020-01-31 22:54:41 +00:00
Michael Ströder
e4102fef22 Accepting request 768404 from home:dimstar:Factory
Seems to actually work - the cpu_affinity test is failing every now and then, but I see that even on my kernel 5.4 system

OBS-URL: https://build.opensuse.org/request/show/768404
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=113
2020-01-29 19:12:32 +00:00
7e118cfd6d Accepting request 751674 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/751674
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psutil?expand=0&rev=52
2019-12-07 14:17:56 +00:00
Michael Ströder
d52eb2248a Accepting request 751672 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/751672
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=111
2019-11-28 17:23:17 +00:00
b5d76333b3 Accepting request 747243 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/747243
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psutil?expand=0&rev=51
2019-11-22 09:21:43 +00:00
Michael Ströder
193de98d69 Accepting request 747235 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/747235
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=109
2019-11-10 17:28:30 +00:00
73b676d629 Accepting request 729891 from devel:languages:python
- 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
2019-09-23 10:05:53 +00:00
Tomáš Chvátal
96677b7ad7 - 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/package/show/devel:languages:python/python-psutil?expand=0&rev=107
2019-09-10 13:20:31 +00:00
39a80c4828 Accepting request 687163 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/687163
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psutil?expand=0&rev=49
2019-03-29 19:36:27 +00:00
Tomáš Chvátal
4ea1b506ee Accepting request 686918 from home:jayvdb:pyexcel
- 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
2019-03-21 09:43:00 +00:00
d438ac8d30 Accepting request 683033 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/683033
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psutil?expand=0&rev=48
2019-03-12 08:45:58 +00:00
Michael Ströder
3ae2306dfa Accepting request 683027 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/683027
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=103
2019-03-09 16:37:35 +00:00
Stephan Kulow
9de65b30be Accepting request 676974 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/676974
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psutil?expand=0&rev=47
2019-02-24 19:45:54 +00:00
Tomáš Chvátal
795b17fdb4 Accepting request 676686 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/676686
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=101
2019-02-18 09:26:42 +00:00
e31be78dd1 Accepting request 668832 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/668832
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psutil?expand=0&rev=46
2019-02-01 10:43:07 +00:00
Michael Ströder
9e9c218619 Accepting request 668824 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/668824
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=99
2019-01-26 18:26:13 +00:00
2941b45f32 Accepting request 646017 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/646017
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psutil?expand=0&rev=45
2018-11-09 06:50:37 +00:00
Tomáš Chvátal
86003102d7 Accepting request 645954 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/645954
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=97
2018-11-02 08:17:34 +00:00
409ab0d14e Accepting request 630325 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/630325
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psutil?expand=0&rev=44
2018-08-27 10:54:53 +00:00
Michael Ströder
a34080ca9b Accepting request 630322 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/630322
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=95
2018-08-18 20:54:08 +00:00
Tomáš Chvátal
d94d3e792b - build python3 subpackage (FATE#324435, bsc#1073879)
- sanitize release line in specfile

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=94
2018-08-14 11:24:15 +00:00
6b7b998c51 Accepting request 616701 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/616701
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psutil?expand=0&rev=43
2018-06-18 11:48:42 +00:00
Tomáš Chvátal
4106ee1d4c Accepting request 616598 from home:TheBlackCat:branches:devel:languages:python
- Update to 5.4.6
  * 1258_: [Windows] Process.username() may cause a segfault (Python interpreter
    crash).  (patch by Jean-Luc Migot)
  * 1273_: net_if_addr() namedtuple's name has been renamed from "snic" to
    "snicaddr".
  * 1274_: [Linux] there was a small chance Process.children() may swallow
    AccessDenied exceptions.

OBS-URL: https://build.opensuse.org/request/show/616598
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=92
2018-06-14 06:31:08 +00:00
65b243d613 Accepting request 596551 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/596551
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psutil?expand=0&rev=42
2018-04-22 12:29:46 +00:00
Michael Ströder
eb68a70399 Accepting request 596538 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/596538
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=90
2018-04-14 19:02:57 +00:00
25ef29f5e9 Accepting request 561485 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/561485
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psutil?expand=0&rev=41
2018-01-07 16:21:00 +00:00
Michael Ströder
a980707cdd Accepting request 561483 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/561483
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=88
2018-01-03 23:16:43 +00:00
79fb229757 Accepting request 555531 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/555531
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psutil?expand=0&rev=40
2017-12-10 17:16:55 +00:00
Tomáš Chvátal
57b65f2a28 Accepting request 555281 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/555281
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=86
2017-12-09 12:37:11 +00:00
f8fe0ebf8f Accepting request 540778 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/540778
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psutil?expand=0&rev=39
2017-11-12 17:01:09 +00:00
Michael Ströder
d774f05cb5 Accepting request 540775 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/540775
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=84
2017-11-11 18:25:06 +00:00
609ff5886a Accepting request 535809 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/535809
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psutil?expand=0&rev=38
2017-10-26 16:38:39 +00:00
Michael Ströder
2c7aba5f55 Accepting request 535808 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/535808
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=82
2017-10-22 17:35:19 +00:00
065b650e4f Accepting request 528619 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/528619
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psutil?expand=0&rev=37
2017-10-02 14:44:03 +00:00
Michael Ströder
895caee925 Accepting request 528618 from home:stroeder:branches:devel:languages:python
- update to version 5.3.1
**Enhancements**
- 1124_: documentation moved to http://psutil.readthedocs.io
**Big fixes**
- 1105_: [FreeBSD] psutil does not compile on FreeBSD 12.
- 1125_: [BSD] net_connections() raises TypeError.
**Compatibility notes**
- 1120_: .exe files for Windows are no longer uploaded on PYPI as per PEP-527;
  only wheels are provided.

OBS-URL: https://build.opensuse.org/request/show/528618
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=80
2017-09-25 09:56:29 +00:00
c62bb4f5d5 Accepting request 522428 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/522428
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psutil?expand=0&rev=36
2017-09-12 17:37:31 +00:00
Michael Ströder
0c5f80f5aa Accepting request 522427 from home:stroeder:branches:devel:languages:python
update to version 5.3.0

OBS-URL: https://build.opensuse.org/request/show/522427
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=78
2017-09-08 20:03:52 +00:00
8dace4e39d Accepting request 510263 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/510263
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psutil?expand=0&rev=35
2017-07-30 09:21:42 +00:00
6da2ce2bb5 Accepting request 509498 from home:TheBlackCat:branches:devel:languages:python
Fix various rpmlint warnings and errors

OBS-URL: https://build.opensuse.org/request/show/509498
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=76
2017-07-14 11:26:23 +00:00