commit python-psutil for openSUSE:Factory
Hello community, here is the log from the commit of package python-psutil for openSUSE:Factory checked in at 2014-09-30 19:40:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-psutil (Old) and /work/SRC/openSUSE:Factory/.python-psutil.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-psutil" Changes: -------- --- /work/SRC/openSUSE:Factory/python-psutil/python-psutil.changes 2013-11-28 19:05:07.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-psutil.new/python-psutil.changes 2014-09-30 19:42:28.000000000 +0200 @@ -1,0 +2,100 @@ +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. + +------------------------------------------------------------------- Old: ---- psutil-1.2.1.tar.gz New: ---- psutil-2.1.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-psutil.spec ++++++ --- /var/tmp/diff_new_pack.4LlL2v/_old 2014-09-30 19:42:29.000000000 +0200 +++ /var/tmp/diff_new_pack.4LlL2v/_new 2014-09-30 19:42:29.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-psutil # -# Copyright (c) 2013 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,15 +17,19 @@ Name: python-psutil -Version: 1.2.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 +Url: https://pypi.python.org/pypi/psutil/ +Source: https://pypi.python.org/packages/source/p/psutil/psutil-%{version}.tar.gz BuildRequires: python-devel BuildRequires: python-setuptools +BuildRequires: net-tools +BuildRequires: procps +Requires: net-tools +Requires: procps BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} @@ -37,7 +41,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 python setup.py build @@ -45,15 +49,16 @@ %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} -%check -# fails with "no module named psutil" -# python setup.py test +# not working due to lack of root priveleges +# %check +# make test +# make memtest %files %defattr(-,root,root,-) -%doc CREDITS examples HISTORY LICENSE README +%doc CREDITS examples HISTORY.rst LICENSE README.rst TODO %{python_sitearch}/psutil/ %{python_sitearch}/_psutil_*.so -%{python_sitearch}/psutil-%{version}-py%{py_ver}.egg-info +%{python_sitearch}/psutil-%{version}-py*.egg-info %changelog ++++++ psutil-1.2.1.tar.gz -> psutil-2.1.2.tar.gz ++++++ ++++ 32833 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