Skip unreliable test_sensors_temperatures
Resolves: RHEL-58359
This commit is contained in:
parent
810665530a
commit
7564b2429d
13
python-psutil-skip-test-sensors-temperatures.patch
Normal file
13
python-psutil-skip-test-sensors-temperatures.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/psutil/tests/test_system.py b/psutil/tests/test_system.py
|
||||||
|
index c146f3e..671babc 100755
|
||||||
|
--- a/psutil/tests/test_system.py
|
||||||
|
+++ b/psutil/tests/test_system.py
|
||||||
|
@@ -903,7 +903,7 @@ class TestNetAPIs(PsutilTestCase):
|
||||||
|
|
||||||
|
|
||||||
|
class TestSensorsAPIs(PsutilTestCase):
|
||||||
|
- @unittest.skipIf(not HAS_SENSORS_TEMPERATURES, "not supported")
|
||||||
|
+ @unittest.skip("https://github.com/giampaolo/psutil/issues/2434")
|
||||||
|
def test_sensors_temperatures(self):
|
||||||
|
temps = psutil.sensors_temperatures()
|
||||||
|
for name, entries in temps.items():
|
@ -1,6 +1,6 @@
|
|||||||
Name: python-psutil
|
Name: python-psutil
|
||||||
Version: 5.9.8
|
Version: 5.9.8
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: A process and system utilities module for Python
|
Summary: A process and system utilities module for Python
|
||||||
|
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
@ -24,6 +24,11 @@ Patch: python-psutil-skip-test_emulate_multi_cpu.patch
|
|||||||
# Failure reported upstream: https://github.com/giampaolo/psutil/issues/2374
|
# Failure reported upstream: https://github.com/giampaolo/psutil/issues/2374
|
||||||
#
|
#
|
||||||
Patch: python-psutil-skip-test_debug.patch
|
Patch: python-psutil-skip-test_debug.patch
|
||||||
|
#
|
||||||
|
# Skip test_system.TestSensorsAPIs.test_sensors_temperatures
|
||||||
|
# Failure reported upstream: https://github.com/giampaolo/psutil/issues/2434
|
||||||
|
#
|
||||||
|
Patch: python-psutil-skip-test-sensors-temperatures.patch
|
||||||
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: sed
|
BuildRequires: sed
|
||||||
@ -112,6 +117,9 @@ APPVEYOR=1 %{py3_test_envvars} %{python3} psutil/tests/runner.py
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Aug 20 2024 Karolina Surma <ksurma@redhat.com> - 5.9.8-4
|
||||||
|
- Skip unreliable test_sensors_temperatures
|
||||||
|
|
||||||
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 5.9.8-3
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 5.9.8-3
|
||||||
- Bump release for June 2024 mass rebuild
|
- Bump release for June 2024 mass rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user