Commit Graph

112 Commits

Author SHA1 Message Date
Miro Hrončok
e2378f43a6 Update to 5.9.8 2024-02-09 14:59:47 +01:00
Fedora Release Engineering
548bf711de Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-26 08:14:28 +00:00
Fedora Release Engineering
4c8d50c1b9 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-22 05:14:45 +00:00
Miro Hrončok
5e48a77b0f Minor newlines changes to consistently separate individual sections 2023-11-21 12:07:17 +01:00
Miro Hrončok
f251ff1be7 Run the tests directly without make
The `make test` command runs `make build` which runs `setup.py build_ext -i`.
We want to ensure we are testing the installed extension modules.
2023-11-21 12:02:40 +01:00
Miro Hrončok
e595f10324 Convert to pyproject-rpm-macros 2023-11-21 11:58:23 +01:00
Miro Hrončok
e3f158b531 BuilRequire sed instead of grep
Both are pulled in automatically, but only one of them is used in the spec.
2023-11-21 11:54:03 +01:00
Miro Hrončok
1f5631980e Remove redundant Source and Patch numbers 2023-11-21 11:49:11 +01:00
Miro Hrončok
eaec904684 Remove redundant macro definitions 2023-11-21 11:48:33 +01:00
Miro Hrončok
7c7693548a Fix build with Python 3.13.0a1 2023-10-23 23:46:05 +02:00
Karolina Surma
05d572f7b0 Declare the license as an SPDX expression 2023-08-08 16:18:59 +02:00
d2322e6e84 update to 5.9.5 2023-08-04 06:45:17 -05:00
Fedora Release Engineering
68a7c624b2 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-21 12:27:19 +00:00
Miro Hrončok
b5c0e1e7df Workaround flaky tests 2023-06-14 17:49:34 +02:00
Python Maint
0cdd22e763 Rebuilt for Python 3.12 2023-06-13 20:48:02 +02:00
Fedora Release Engineering
cb79c5011e Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-20 15:50:58 +00:00
Kevin Fenzi
d6cf005656 Update to 5.9.2. Fixes rhbz#2124116 2022-09-18 16:07:37 -07:00
6ec7291d0c fix typo in changelog 2022-07-31 10:57:22 -05:00
b5548b46a5 Update to 5.9.1. Fixes rhbz#2036137 2022-07-31 01:18:11 -05:00
Fedora Release Engineering
da6436a832 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-22 21:01:40 +00:00
Python Maint
cd92dec0f5 Rebuilt for Python 3.11 2022-06-13 15:14:10 +02:00
Miro Hrončok
85fa344f2e %check like this is a CI 2022-06-09 15:37:29 +02:00
Jay W
a14a3d77e9 Update python-psutil.spec
Skip checks if running flatpak build.
2022-02-08 18:56:02 +00:00
Fedora Release Engineering
46402c3c18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-21 14:20:05 +00:00
Miro Hrončok
024746ce9a Drop python2-psutil, as it is no longer needed 2021-09-08 12:15:38 +02:00
Charalampos Stratakis
523a918663 Remove redundant patch 2021-09-03 18:20:45 +02:00
Charalampos Stratakis
b87ad1ed94 Separate the tests to their own subpackage 2021-08-18 19:40:10 +02:00
Kevin Fenzi
675494cbda Add patch to add delta for cpu tests. 2021-08-07 12:56:39 -07:00
Fedora Release Engineering
5dc2a1dbcc - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 08:23:09 +00:00
Miro Hrončok
b11f8dc358 Drop optional build dependency on python2-setuptools
While we are on version 5.8.0 we need egg-info to remain a directory,
so we copy paste the Python 3 egg-info directory.

However, it is temporary. Once the version is updated, we can get rid of it.
2021-06-24 17:20:07 +02:00
Python Maint
6b565402a2 Rebuilt for Python 3.10 2021-06-03 00:22:17 +02:00
Miro Hrončok
b0b42254f1 Add tolerance to a flaky test
Resolves occasional build failure:

    ======================================================================
    FAIL: psutil.tests.test_linux.TestSystemVirtualMemory.test_total
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/builddir/build/BUILD/psutil-release-5.8.0/psutil/tests/test_linux.py", line 245, in test_total
        self.assertAlmostEqual(vmstat_value, psutil_value)
    AssertionError: 134801801216 != 134801805312 within 7 places (4096 difference)
    ----------------------------------------------------------------------
2021-04-15 17:14:57 +02:00
Tomas Orsava
6bd1fcc572 Remove unnecessary bits
- Remove unnecessary test dependency on python3-mock
- Remove unnecessary macro __provides_exclude_from
2021-01-28 12:36:03 +01:00
Fedora Release Engineering
aed98cae09 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 12:25:21 +00:00
Kevin Fenzi
15207803b4 Disable test_leak_mem test. 2021-01-10 16:11:39 -08:00
Kevin Fenzi
3d5b05e393 Disable test_sensors_temperatures test. 2021-01-10 15:41:05 -08:00
Tom Stellard
33a4f96bda Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-08 19:55:24 +00:00
Kevin Fenzi
20f45452ed Update to 5.8.0. Fixes rhbz#1909321
Re-enable tests (skipping 2 that fail in mock).
2021-01-01 12:40:55 -08:00
Joel Capitao
d31e9000e9 Update to 5.7.3 2020-11-06 17:25:52 +01:00
Fedora Release Engineering
64d17fc0a5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 02:55:22 +00:00
Nicolas Chauvet
df548f8079 Fixup Source0 url 2020-07-22 17:12:15 +02:00
Nicolas Chauvet
b61258609c Update to 5.7.2 2020-07-22 17:08:34 +02:00
Troy Dawson
f0d96dcff7 Minor conditional tweak for ELN
Signed-off-by: Troy Dawson tdawson@redhat.com
2020-07-07 15:28:35 +00:00
Michel Alexandre Salim
a871772027 Add BR on setuptools for all package combinations 2020-06-23 20:18:21 -07:00
Miro Hrončok
accc13ea06 Rebuilt for Python 3.9 2020-05-23 18:09:55 +02:00
Kevin Fenzi
acbe2009db Update to 5.6.7. Fixes bug 1768362. 2020-02-16 15:08:04 -08:00
Fedora Release Engineering
0b867087f3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-30 14:13:44 +00:00
Kevin Fenzi
f1d9e101a6 Add python2-setuptools to BuildRequires
This gives us the full egg-info directory.
If we don't do this, then upgrades are broken because the egg-info dir
switches to a file which conflicts. See bug 1750362

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-10-06 13:38:49 -07:00
Miro Hrončok
797de7c8f2 Document Python 2 exception and reduce unused build dependencies 2019-09-03 16:53:10 +02:00
Miro Hrončok
f582884697 Rebuilt for Python 3.8 2019-08-16 23:43:41 +02:00