Update to 5.0.1. Fixes bug #1389579
Disable failing test while upstream looks at it.
This commit is contained in:
parent
845ccc035d
commit
f6a224cf80
1
.gitignore
vendored
1
.gitignore
vendored
@ -16,3 +16,4 @@ psutil-0.1.3.tar.gz
|
||||
/psutil-4.3.0.tar.gz
|
||||
/psutil-4.3.1.tar.gz
|
||||
/psutil-4.4.0.tar.gz
|
||||
/psutil-5.0.1.tar.gz
|
||||
|
20
psutil-5.0.1-disable-broken-tests.patch
Normal file
20
psutil-5.0.1-disable-broken-tests.patch
Normal file
@ -0,0 +1,20 @@
|
||||
diff -Nur psutil-release-5.0.1.orig/psutil/tests/test_memory_leaks.py psutil-release-5.0.1/psutil/tests/test_memory_leaks.py
|
||||
--- psutil-release-5.0.1.orig/psutil/tests/test_memory_leaks.py 2016-12-20 18:34:12.000000000 -0700
|
||||
+++ psutil-release-5.0.1/psutil/tests/test_memory_leaks.py 2017-01-02 10:40:49.883876413 -0700
|
||||
@@ -296,11 +296,11 @@
|
||||
|
||||
@unittest.skipUnless(WINDOWS or LINUX or FREEBSD,
|
||||
"platform not supported")
|
||||
- def test_cpu_affinity_set(self):
|
||||
- affinity = thisproc.cpu_affinity()
|
||||
- self.execute(self.proc.cpu_affinity, affinity)
|
||||
- if not TRAVIS:
|
||||
- self.execute_w_exc(ValueError, self.proc.cpu_affinity, [-1])
|
||||
+# def test_cpu_affinity_set(self):
|
||||
+# affinity = thisproc.cpu_affinity()
|
||||
+# self.execute(self.proc.cpu_affinity, affinity)
|
||||
+# if not TRAVIS:
|
||||
+# self.execute_w_exc(ValueError, self.proc.cpu_affinity, [-1])
|
||||
|
||||
@skip_if_linux()
|
||||
def test_open_files(self):
|
@ -5,13 +5,18 @@
|
||||
%global __provides_exclude_from ^(%{python2_sitearch}|%{python3_sitearch})/.*\\.so$
|
||||
|
||||
Name: python-%{srcname}
|
||||
Version: 4.4.0
|
||||
Version: 5.0.1
|
||||
Release: 1%{?dist}
|
||||
Summary: %{sum}
|
||||
|
||||
License: BSD
|
||||
URL: https://github.com/giampaolo/psutil
|
||||
Source0: https://github.com/giampaolo/psutil/archive/release-%{version}.tar.gz#/%{srcname}-%{version}.tar.gz
|
||||
#
|
||||
# Disable upstream failing test
|
||||
# https://github.com/giampaolo/psutil/issues/946
|
||||
#
|
||||
Patch0: psutil-5.0.1-disable-broken-tests.patch
|
||||
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python%{python3_pkgversion}-devel
|
||||
@ -95,6 +100,13 @@ make test-memleaks PYTHON=%{__python3}
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Jan 02 2017 Kevin Fenzi <kevin@scrye.com> - 5.0.1-1
|
||||
- Update to 5.0.1. Fixes bug #1389579
|
||||
- Disable failing test while upstream looks at it.
|
||||
|
||||
* Wed Nov 09 2016 Kevin Fenzi <kevin@scrye.com> - 5.0.0-1
|
||||
- Update to 5.0.0. Fixes bug #1389579
|
||||
|
||||
* Tue Oct 25 2016 Kevin Fenzi <kevin@scrye.com> - 4.4.0-1
|
||||
- Update to 4.4.0. Fixes bug #1387942
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user