Hello community,

here is the log from the commit of package python3-psutil for openSUSE:Factory 
checked in at 2015-02-05 11:01:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-psutil (Old)
 and      /work/SRC/openSUSE:Factory/.python3-psutil.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python3-psutil"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-psutil/python3-psutil.changes    
2015-01-08 23:02:43.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python3-psutil.new/python3-psutil.changes       
2015-02-05 11:01:40.000000000 +0100
@@ -1,0 +2,9 @@
+Wed Feb  4 17:57:45 UTC 2015 - [email protected]
+
+- specfile: update copyright year
+
+- update to version 2.2.1:
+  * #496: [Linux] fix "ValueError: ambiguos inode with multiple PIDs
+    references" (patch by Bruno Binet)
+
+-------------------------------------------------------------------

Old:
----
  psutil-2.2.0.tar.gz

New:
----
  psutil-2.2.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python3-psutil.spec ++++++
--- /var/tmp/diff_new_pack.zRa0sA/_old  2015-02-05 11:01:41.000000000 +0100
+++ /var/tmp/diff_new_pack.zRa0sA/_new  2015-02-05 11:01:41.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python3-psutil
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           python3-psutil
-Version:        2.2.0
+Version:        2.2.1
 Release:        0
 Summary:        A process utilities module for Python
 License:        BSD-3-Clause

++++++ psutil-2.2.0.tar.gz -> psutil-2.2.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/psutil-2.2.0/CREDITS new/psutil-2.2.1/CREDITS
--- old/psutil-2.2.0/CREDITS    2015-01-03 15:01:37.000000000 +0100
+++ new/psutil-2.2.1/CREDITS    2015-02-02 14:01:33.000000000 +0100
@@ -276,3 +276,7 @@
 
 N: karthikrev
 I: 568
+
+N: Bruno Binet
+E: [email protected]
+I: 572
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/psutil-2.2.0/HISTORY.rst new/psutil-2.2.1/HISTORY.rst
--- old/psutil-2.2.0/HISTORY.rst        2015-01-06 16:30:48.000000000 +0100
+++ new/psutil-2.2.1/HISTORY.rst        2015-02-02 14:01:12.000000000 +0100
@@ -1,5 +1,14 @@
 Bug tracker at https://github.com/giampaolo/psutil/issues
 
+2.2.1 - 2015-02-02
+==================
+
+**Bug fixes**
+
+- #496: [Linux] fix "ValueError: ambiguos inode with multiple PIDs references"
+  (patch by Bruno Binet)
+
+
 2.2.0 - 2015-01-06
 ==================
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/psutil-2.2.0/PKG-INFO new/psutil-2.2.1/PKG-INFO
--- old/psutil-2.2.0/PKG-INFO   2015-01-06 16:38:32.000000000 +0100
+++ new/psutil-2.2.1/PKG-INFO   2015-02-02 14:09:59.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: psutil
-Version: 2.2.0
+Version: 2.2.1
 Summary: psutil is a cross-platform library for retrieving information 
onrunning processes and system utilization (CPU, memory, disks, network)in 
Python.
 Home-page: https://github.com/giampaolo/psutil
 Author: Giampaolo Rodola
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/psutil-2.2.0/psutil/__init__.py 
new/psutil-2.2.1/psutil/__init__.py
--- old/psutil-2.2.0/psutil/__init__.py 2015-01-03 15:16:25.000000000 +0100
+++ new/psutil-2.2.1/psutil/__init__.py 2015-01-20 15:56:42.000000000 +0100
@@ -13,7 +13,7 @@
 from __future__ import division
 
 __author__ = "Giampaolo Rodola'"
-__version__ = "2.2.0"
+__version__ = "2.2.1"
 version_info = tuple([int(num) for num in __version__.split('.')])
 
 __all__ = [
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/psutil-2.2.0/psutil/_pslinux.py 
new/psutil-2.2.1/psutil/_pslinux.py
--- old/psutil-2.2.0/psutil/_pslinux.py 2015-01-03 14:43:59.000000000 +0100
+++ new/psutil-2.2.1/psutil/_pslinux.py 2015-02-02 14:00:19.000000000 +0100
@@ -446,12 +446,12 @@
                 _, laddr, raddr, status, _, _, _, _, _, inode = \
                     line.split()[:10]
                 if inode in inodes:
-                    # We assume inet sockets are unique, so we error
-                    # out if there are multiple references to the
-                    # same inode. We won't do this for UNIX sockets.
-                    if len(inodes[inode]) > 1 and family != socket.AF_UNIX:
-                        raise ValueError("ambiguos inode with multiple "
-                                         "PIDs references")
+                    # # We assume inet sockets are unique, so we error
+                    # # out if there are multiple references to the
+                    # # same inode. We won't do this for UNIX sockets.
+                    # if len(inodes[inode]) > 1 and family != socket.AF_UNIX:
+                    #     raise ValueError("ambiguos inode with multiple "
+                    #                      "PIDs references")
                     pid, fd = inodes[inode][0]
                 else:
                     pid, fd = None, -1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/psutil-2.2.0/psutil.egg-info/PKG-INFO 
new/psutil-2.2.1/psutil.egg-info/PKG-INFO
--- old/psutil-2.2.0/psutil.egg-info/PKG-INFO   2015-01-06 16:38:32.000000000 
+0100
+++ new/psutil-2.2.1/psutil.egg-info/PKG-INFO   2015-02-02 14:09:58.000000000 
+0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: psutil
-Version: 2.2.0
+Version: 2.2.1
 Summary: psutil is a cross-platform library for retrieving information 
onrunning processes and system utilization (CPU, memory, disks, network)in 
Python.
 Home-page: https://github.com/giampaolo/psutil
 Author: Giampaolo Rodola
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/psutil-2.2.0/test/test_psutil.py 
new/psutil-2.2.1/test/test_psutil.py
--- old/psutil-2.2.0/test/test_psutil.py        2015-01-05 19:51:17.000000000 
+0100
+++ new/psutil-2.2.1/test/test_psutil.py        2015-01-20 15:56:42.000000000 
+0100
@@ -2341,6 +2341,7 @@
         self.assertTrue(ret >= 0)
 
     def connections(self, ret):
+        self.assertEqual(len(ret), len(set(ret)))
         for conn in ret:
             check_connection(conn)
 

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to