14
0
forked from pool/python-psutil

Accepting request 253184 from home:TheBlackCat:branches:devel:languages:python

Update to version 2.1.2

OBS-URL: https://build.opensuse.org/request/show/253184
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=28
This commit is contained in:
Todd R
2014-09-30 12:02:29 +00:00
committed by Git OBS Bridge
parent ede5e7439c
commit 792b621fbb
4 changed files with 117 additions and 12 deletions

View File

@@ -1,3 +1,103 @@
-------------------------------------------------------------------
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.
-------------------------------------------------------------------
Wed Nov 27 21:26:26 UTC 2013 - p.drouand@gmail.com