commit python3-psutil for openSUSE:Factory
Hello community, here is the log from the commit of package python3-psutil for openSUSE:Factory checked in at 2014-09-30 19:40:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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 2013-06-21 19:01:51.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python3-psutil.new/python3-psutil.changes 2014-09-30 19:42:29.000000000 +0200 @@ -1,0 +2,138 @@ +Tue Sep 30 10:32:34 UTC 2014 - toddrme2178@gmail.com + +- Update documentation files +- Spec file cleanups +- Update shebang fix +- Disable broken unit tests: tests don't work without root permissions +- Update dependencies. We should actually guarantee psutil and so + on are installed. +- Update urls +- Update to version 2.1.2 + * Enhancements + * #407: project moved from Google Code to Github; code moved from Mercurial + to Git. + * #492: use tox to run tests on multiple python versions. (patch by msabramo) + * #505: [Windows] distribution as wheel packages. + * #511: new examples/ps.py sample code. + * Bug fixes + * #340: [Windows] Process.get_open_files() no longer hangs. (patch by + Jeff Tang) + * #501: [Windows] disk_io_counters() may return negative values. + * #503: [Linux] in rare conditions Process exe(), open_files() and + connections() methods can raise OSError(ESRCH) instead of NoSuchProcess. + * #504: [Linux] can't build RPM packages via setup.py + * #506: [Linux] python 2.4 support was broken. + * #522: [Linux] Process.cpu_affinity() might return EINVAL. (patch by David + Daeschler) + * #529: [Windows] Process.exe() may raise unhandled WindowsError exception + for PIDs 0 and 4. (patch by Jeff Tang) + * #530: [Linux] psutil.disk_io_counters() may crash on old Linux distros + (< 2.6.5) (patch by Yaolong Huang) + * #533: [Linux] Process.memory_maps() may raise TypeError on old Linux distros. +- Update to version 2.1.1 + * Bug fixes + * #446: [Windows] fix encoding error when using net_io_counters() on Python 3. + (patch by Szigeti Gabor Niif) + * #460: [Windows] net_io_counters() wraps after 4G. + * #491: [Linux] psutil.net_connections() exceptions. (patch by Alexander Grothe) +- Update to version 2.1.0 + * Enhancements + * #387: system-wide open connections a-la netstat. + * Bug fixes + * #421: [Solaris] psutil does not compile on SunOS 5.10 (patch by Naveed + Roudsari) + * #489: [Linux] psutil.disk_partitions() return an empty list. +- Update to version 2.0.0 + * Enhancements + * #424: [Windows] installer for Python 3.X 64 bit. + * #427: number of logical and physical CPUs (psutil.cpu_count()). + * #447: psutil.wait_procs() timeout parameter is now optional. + * #452: make Process instances hashable and usable with set()s. + * #453: tests on Python < 2.7 require unittest2 module. + * #459: add a make file for running tests and other repetitive tasks (also + on Windows). + * #463: make timeout parameter of cpu_percent* functions default to 0.0 'cause + it's a common trap to introduce slowdowns. + * #468: move documentation to readthedocs.com. + * #477: process cpu_percent() is about 30% faster. (suggested by crusaderky) + * #478: [Linux] almost all APIs are about 30% faster on Python 3.X. + * #479: long deprecated psutil.error module is gone; exception classes now + live in "psutil" namespace only. + * Bug fixes + * #193: psutil.Popen constructor can throw an exception if the spawned process + terminates quickly. + * #340: [Windows] process get_open_files() no longer hangs. (patch by + jtang@vahna.net) + * #443: [Linux] fix a potential overflow issue for Process.set_cpu_affinity() + on systems with more than 64 CPUs. + * #448: [Windows] get_children() and ppid() memory leak (patch by Ulrich + Klank). + * #457: [POSIX] pid_exists() always returns True for PID 0. + * #461: namedtuples are not pickle-able. + * #466: [Linux] process exe improper null bytes handling. (patch by + Gautam Singh) + * #470: wait_procs() might not wait. (patch by crusaderky) + * #471: [Windows] process exe improper unicode handling. (patch by + alex@mroja.net) + * #473: psutil.Popen.wait() does not set returncode attribute. + * #474: [Windows] Process.cpu_percent() is no longer capped at 100%. + * #476: [Linux] encoding error for process name and cmdline. + * API changes + For the sake of consistency a lot of psutil APIs have been renamed. + In most cases accessing the old names will work but it will cause a + DeprecationWarning. + * psutil.* module level constants have being replaced by functions + * Renamed psutil.* functions + * All psutil.Process ``get_*`` methods lost the ``get_`` prefix. + get_ext_memory_info() renamed to memory_info_ex(). + Assuming "p = psutil.Process()" + * All psutil.Process ``set_*`` methods lost the ``set_`` prefix. + Assuming "p = psutil.Process()" + * Except for 'pid' all psutil.Process class properties have been turned into + methods. This is the only case which there are no aliases. + Assuming "p = psutil.Process()" + * timeout parameter of cpu_percent* functions defaults to 0.0 instead of 0.1. + * long deprecated psutil.error module is gone; exception classes now live in + "psutil" namespace only. + * Process instances' "retcode" attribute returned by psutil.wait_procs() has + been renamed to "returncode" for consistency with subprocess.Popen. +- Update to version 1.2.1 + * #348: [Windows XP] fixed "ImportError: DLL load failed" occurring + on module import. + * #425: [Solaris] crash on import due to failure at determining BOOT_TIME. + * #443: [Linux] can't set CPU affinity with systems with more than 64 cores. +- Changes from version 1.2.0 + * #439: assume os.getpid() if no argument is passed to psutil.Process + constructor. + * #440: new psutil.wait_procs() utility function which waits for multiple + processes to terminate. + * #348: [Windows XP/Vista] fixed "ImportError: DLL load failed" occurring on + module import. +- Changes from version 1.1.3 + * #442: [Linux] psutil won't compile on certain version of Linux because of + missing prlimit(2) syscall. +- Changes from version 1.1.2 + * #442: [Linux] psutil won't compile on Debian 6.0 because of missing + prlimit(2) syscall. +- update to 1.1.1: + * #410: tar.gz and windows binary files are now hosted on PYPI. + * #412: [Linux] get/set process resource limits. + * #415: [Windows] Process.get_children() is an order of magnitude faster. + * #426: [Windows] Process.name is an order of magnitude faster. + * #431: [UNIX] Process.name is slightly faster because it unnecessarily + retrieved also process cmdline. +- update to 1.0.1: + * network_io_counters(pernic=True) no longer works as intended in 1.0.0. +- update to 1.0.0: + * Process.get_connections() 'status' strings are now constants. + * test suite exits with non-zero on failure. (patch by floppymaster) + * extensively use unittest2 module in unit tests and provide + workarounds if this is not installed on python < 2.7. + * Process.get_memory_maps() may raise ValueError. + * Process.get_connections() 'status' field is no longer a string but a constant + object (psutil.CONN_*). + * Process.get_connections() 'local_address' and 'remote_address' fields renamed + to 'laddr' and 'raddr'. + * psutil.network_io_counters() renamed to psutil.net_io_counters(). + +------------------------------------------------------------------- Old: ---- psutil-0.7.1.tar.gz New: ---- psutil-2.1.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python3-psutil.spec ++++++ --- /var/tmp/diff_new_pack.TccUz6/_old 2014-09-30 19:42:30.000000000 +0200 +++ /var/tmp/diff_new_pack.TccUz6/_new 2014-09-30 19:42:30.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package python3-psutil # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products 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,19 +17,21 @@ Name: python3-psutil -Version: 0.7.1 +Version: 2.1.2 Release: 0 Summary: A process utilities module for Python License: BSD-3-Clause Group: Development/Languages/Python -Url: http://code.google.com/p/psutil/ -Source: psutil-%{version}.tar.gz -BuildRequires: python3 -BuildRequires: python3-2to3 +Url: https://pypi.python.org/pypi/psutil/ +Source: https://pypi.python.org/packages/source/p/psutil/psutil-%{version}.tar.gz BuildRequires: python3-devel -BuildRequires: python3-distribute +BuildRequires: python3-2to3 +BuildRequires: python3-setuptools +BuildRequires: net-tools +BuildRequires: procps +Requires: net-tools +Requires: procps BuildRoot: %{_tmppath}/%{name}-%{version}-build -Requires: python(abi) = %{py3_ver} %description A graphical interface that lets you easily analyze and introspect unaltered running Python processes. @@ -37,7 +39,7 @@ %prep %setup -q -n psutil-%{version} # Remove shebangs -sed -i "1d" psutil/{__init__.py,_compat.py,_psbsd.py,_pslinux.py,_psmswindows.py,_psosx.py,_psposix.py,error.py} +sed -i "1d" psutil/{__init__.py,_compat.py,_psbsd.py,_pslinux.py,_psosx.py,_psposix.py,_pssunos.py,_pswindows.py} %build python3 setup.py build @@ -45,14 +47,16 @@ %install python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} -%check -python3 setup.py test +# not working due to lack of root priveleges +# %check +# make test PYTHON=python3 +# make memtest PYTHON=python3 %files %defattr(-,root,root,-) -%doc CREDITS examples HISTORY LICENSE README +%doc CREDITS examples HISTORY.rst LICENSE README.rst TODO %{python3_sitearch}/psutil/ %{python3_sitearch}/_psutil_*.so -%{python3_sitearch}/psutil-%{version}-py%{py3_ver}.egg-info +%{python3_sitearch}/psutil-%{version}-py*.egg-info %changelog ++++++ psutil-0.7.1.tar.gz -> psutil-2.1.2.tar.gz ++++++ ++++ 35697 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de