Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-psutil for openSUSE:Factory 
checked in at 2022-01-11 21:17:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-psutil (Old)
 and      /work/SRC/openSUSE:Factory/.python-psutil.new.1892 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-psutil"

Tue Jan 11 21:17:14 2022 rev:63 rq:945437 version:5.9.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-psutil/python-psutil.changes      
2021-11-27 00:50:28.074979493 +0100
+++ /work/SRC/openSUSE:Factory/.python-psutil.new.1892/python-psutil.changes    
2022-01-11 21:20:35.717014774 +0100
@@ -1,0 +2,26 @@
+Mon Jan 10 22:51:40 UTC 2022 - Dirk M??ller <dmuel...@suse.com>
+
+- update to 5.9.0:
+  * [Linux]: `cpu_freq()`_ is slow on systems with many CPUs. Read current
+    frequency values for all CPUs from ``/proc/cpuinfo`` instead of opening 
many
+    files in ``/sys`` fs.  (patch by marxin)
+  * `NoSuchProcess`_ message now specifies if the PID has been reused.
+  * error classes (`NoSuchProcess`_, `AccessDenied`_, etc.) now have a better
+    formatted and separated ``__repr__`` and ``__str__`` implementations.
+  * [Linux]: `disk_partitions()`_: convert ``/dev/root`` device (an alias
+    used on some Linux distros) to real root device path.
+  * ``PSUTIL_DEBUG`` mode now prints file name and line number of the debug
+    messages coming from C extension modules.
+  * rewrite HISTORY.rst to use hyperlinks pointing to psutil API doc.
+  * [Linux]: `wait_procs()`_ should catch ``subprocess.TimeoutExpired``
+  exception.
+  * [Linux]: `sensors_battery()`_ can raise ``TypeError`` on PureOS.
+  * [Linux]: psutil does not handle ``ENAMETOOLONG`` when accessing process
+  file descriptors in procfs.  (patch by Nikita Radchenko)
+  * **[critical]**: ``memoize_when_activated`` decorator is not thread-safe.
+  * **[critical]**: `process_iter()`_ is not thread safe and can raise
+  ``TypeError`` if invoked from multiple threads.
+  * [Linux]: `cpu_freq()`_ return order is wrong on systems with more than
+  9 CPUs.
+
+-------------------------------------------------------------------

Old:
----
  psutil-5.8.0.tar.gz

New:
----
  psutil-5.9.0.tar.gz

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

Other differences:
------------------
++++++ python-psutil.spec ++++++
--- /var/tmp/diff_new_pack.MRrCx2/_old  2022-01-11 21:20:36.229015134 +0100
+++ /var/tmp/diff_new_pack.MRrCx2/_new  2022-01-11 21:20:36.233015136 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-psutil
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,7 +24,7 @@
 %endif
 %bcond_without python2
 Name:           python-psutil
-Version:        5.8.0
+Version:        5.9.0
 Release:        0
 Summary:        A process utilities module for Python
 License:        BSD-3-Clause

++++++ psutil-5.8.0.tar.gz -> psutil-5.9.0.tar.gz ++++++
++++ 12442 lines of diff (skipped)

++++++ skip-obs.patch ++++++
--- /var/tmp/diff_new_pack.MRrCx2/_old  2022-01-11 21:20:36.381015240 +0100
+++ /var/tmp/diff_new_pack.MRrCx2/_new  2022-01-11 21:20:36.381015240 +0100
@@ -1,16 +1,16 @@
-Index: psutil-5.8.0/psutil/tests/test_misc.py
+Index: psutil-5.9.0/psutil/tests/test_misc.py
 ===================================================================
---- psutil-5.8.0.orig/psutil/tests/test_misc.py
-+++ psutil-5.8.0/psutil/tests/test_misc.py
-@@ -354,6 +354,7 @@ class TestMisc(PsutilTestCase):
-         check(psutil.disk_usage(os.getcwd()))
-         check(psutil.users())
+--- psutil-5.9.0.orig/psutil/tests/test_misc.py
++++ psutil-5.9.0/psutil/tests/test_misc.py
+@@ -368,6 +368,7 @@ class TestMisc(PsutilTestCase):
  
+     # XXX: https://github.com/pypa/setuptools/pull/2896
+     @unittest.skipIf(APPVEYOR, "temporarily disabled due to setuptools bug")
 +    @unittest.skipIf(True, 'does not work on obs')
      def test_setup_script(self):
          setup_py = os.path.join(ROOT_DIR, 'setup.py')
          if CI_TESTING and not os.path.exists(setup_py):
-@@ -667,7 +668,7 @@ class TestScripts(PsutilTestCase):
+@@ -710,7 +711,7 @@ class TestScripts(PsutilTestCase):
              src = f.read()
          ast.parse(src)
  
@@ -19,20 +19,20 @@
          # make sure all example scripts have a test method defined
          meths = dir(self)
          for name in os.listdir(SCRIPTS_DIR):
-@@ -685,7 +686,7 @@ class TestScripts(PsutilTestCase):
-                 if not stat.S_IXUSR & os.stat(path)[stat.ST_MODE]:
-                     self.fail('%r is not executable' % path)
+@@ -729,7 +730,7 @@ class TestScripts(PsutilTestCase):
+                     if not stat.S_IXUSR & os.stat(path)[stat.ST_MODE]:
+                         raise self.fail('%r is not executable' % path)
  
 -    def test_disk_usage(self):
 +    def _test_disk_usage(self):
          self.assert_stdout('disk_usage.py')
  
      def test_free(self):
-Index: psutil-5.8.0/psutil/tests/test_linux.py
+Index: psutil-5.9.0/psutil/tests/test_linux.py
 ===================================================================
---- psutil-5.8.0.orig/psutil/tests/test_linux.py
-+++ psutil-5.8.0/psutil/tests/test_linux.py
-@@ -675,7 +675,7 @@ class TestSystemCPUCountLogical(PsutilTe
+--- psutil-5.9.0.orig/psutil/tests/test_linux.py
++++ psutil-5.9.0/psutil/tests/test_linux.py
+@@ -683,7 +683,7 @@ class TestSystemCPUCountLogical(PsutilTe
          self.assertEqual(psutil.cpu_count(logical=True), num)
  
      @unittest.skipIf(not which("lscpu"), "lscpu utility not available")
@@ -41,8 +41,8 @@
          out = sh("lscpu -p")
          num = len([x for x in out.split('\n') if not x.startswith('#')])
          self.assertEqual(psutil.cpu_count(logical=True), num)
-@@ -718,7 +718,7 @@ class TestSystemCPUCountLogical(PsutilTe
- class TestSystemCPUCountPhysical(PsutilTestCase):
+@@ -726,7 +726,7 @@ class TestSystemCPUCountLogical(PsutilTe
+ class TestSystemCPUCountCores(PsutilTestCase):
  
      @unittest.skipIf(not which("lscpu"), "lscpu utility not available")
 -    def test_against_lscpu(self):
@@ -50,7 +50,7 @@
          out = sh("lscpu -p")
          core_ids = set()
          for line in out.split('\n'):
-@@ -1068,7 +1068,7 @@ class TestSystemDiskPartitions(PsutilTes
+@@ -1072,7 +1072,7 @@ class TestSystemDiskPartitions(PsutilTes
  
      @unittest.skipIf(not hasattr(os, 'statvfs'), "os.statvfs() not available")
      @skip_on_not_implemented()
@@ -59,7 +59,7 @@
          # test psutil.disk_usage() and psutil.disk_partitions()
          # against "df -a"
          def df(path):
-@@ -1242,7 +1242,7 @@ class TestSystemDiskIoCounters(PsutilTes
+@@ -1246,7 +1246,7 @@ class TestSystemDiskIoCounters(PsutilTes
                  self.assertEqual(ret.read_count, 1)
                  self.assertEqual(ret.write_count, 5)
  
@@ -68,11 +68,11 @@
          def exists(path):
              if path == '/proc/diskstats':
                  return False
-Index: psutil-5.8.0/psutil/tests/test_posix.py
+Index: psutil-5.9.0/psutil/tests/test_posix.py
 ===================================================================
---- psutil-5.8.0.orig/psutil/tests/test_posix.py
-+++ psutil-5.8.0/psutil/tests/test_posix.py
-@@ -376,7 +376,7 @@ class TestSystemAPIs(PsutilTestCase):
+--- psutil-5.9.0.orig/psutil/tests/test_posix.py
++++ psutil-5.9.0/psutil/tests/test_posix.py
+@@ -377,7 +377,7 @@ class TestSystemAPIs(PsutilTestCase):
      # AIX can return '-' in df output instead of numbers, e.g. for /proc
      @unittest.skipIf(AIX, "unreliable on AIX")
      @retry_on_failure()
@@ -81,10 +81,10 @@
          def df(device):
              out = sh("df -k %s" % device).strip()
              line = out.split('\n')[1]
-Index: psutil-5.8.0/psutil/tests/test_system.py
+Index: psutil-5.9.0/psutil/tests/test_system.py
 ===================================================================
---- psutil-5.8.0.orig/psutil/tests/test_system.py
-+++ psutil-5.8.0/psutil/tests/test_system.py
+--- psutil-5.9.0.orig/psutil/tests/test_system.py
++++ psutil-5.9.0/psutil/tests/test_system.py
 @@ -200,6 +200,7 @@ class TestMiscAPIs(PsutilTestCase):
          self.assertLess(bt, time.time())
  
@@ -102,10 +102,10 @@
          def check_ntuple(nt):
              self.assertIsInstance(nt.device, str)
              self.assertIsInstance(nt.mountpoint, str)
-Index: psutil-5.8.0/psutil/tests/test_contracts.py
+Index: psutil-5.9.0/psutil/tests/test_contracts.py
 ===================================================================
---- psutil-5.8.0.orig/psutil/tests/test_contracts.py
-+++ psutil-5.8.0/psutil/tests/test_contracts.py
+--- psutil-5.9.0.orig/psutil/tests/test_contracts.py
++++ psutil-5.9.0/psutil/tests/test_contracts.py
 @@ -246,6 +246,7 @@ class TestSystemAPITypes(PsutilTestCase)
              self.assertIsInstance(k, str)
              self.assert_ntuple_of_nums(v, type_=(int, long))
@@ -114,11 +114,11 @@
      def test_disk_partitions(self):
          # Duplicate of test_system.py. Keep it anyway.
          for disk in psutil.disk_partitions():
-Index: psutil-5.8.0/psutil/tests/test_process.py
+Index: psutil-5.9.0/psutil/tests/test_process.py
 ===================================================================
---- psutil-5.8.0.orig/psutil/tests/test_process.py
-+++ psutil-5.8.0/psutil/tests/test_process.py
-@@ -344,6 +344,7 @@ class TestProcess(PsutilTestCase):
+--- psutil-5.9.0.orig/psutil/tests/test_process.py
++++ psutil-5.9.0/psutil/tests/test_process.py
+@@ -343,6 +343,7 @@ class TestProcess(PsutilTestCase):
  
      @unittest.skipIf(not HAS_IONICE, "not supported")
      @unittest.skipIf(not LINUX, "linux only")

Reply via email to