Changelog
*Sourced from [psutil's changelog](https://github.com/giampaolo/psutil/blob/master/HISTORY.rst).*
> 5.6.0
> =====
>
> 2019-03-05
>
> **Enhancements**
>
> - [1379](): \[Windows\] Process suspend() and resume() now use NtSuspendProcess and NtResumeProcess instead of stopping/resuming all threads of a process. This is faster and more reliable (aka this is what ProcessHacker does).
> - [1420](): \[Windows\] in case of exception disk\_usage() now also shows the path name.
> - [1422](): \[Windows\] Windows APIs requiring to be dynamically loaded from DLL libraries are now loaded only once on startup (instead of on per function call) significantly speeding up different functions and methods.
> - [1426](): \[Windows\] PAGESIZE and number of processors is now calculated on startup.
> - [1428](): in case of error, the traceback message now shows the underlying C function called which failed.
> - [1433](): new Process.parents() method. (idea by Ghislain Le Meur)
> - [1437](): pids() are returned in sorted order.
> - [1442](): python3 is now the default interpreter used by Makefile.
>
> **Bug fixes**
>
> - [1353](): process\_iter() is now thread safe (it rarely raised TypeError).
> - [1394](): \[Windows\] Process name() and exe() may erroneously return "Registry". QueryFullProcessImageNameW is now used instead of GetProcessImageFileNameW in order to prevent that.
> - [1411](): \[BSD\] lack of Py\_DECREF could cause segmentation fault on process instantiation.
> - [1419](): \[Windows\] Process.environ() raises NotImplementedError when querying a 64-bit process in 32-bit-WoW mode. Now it raises AccessDenied.
> - [1427](): \[OSX\] Process cmdline() and environ() may erroneously raise OSError on failed malloc().
> - [1429](): \[Windows\] SE DEBUG was not properly set for current process. It is now, and it should result in less AccessDenied exceptions for low-pid processes.
> - [1432](): \[Windows\] Process.memory\_info\_ex()'s USS memory is miscalculated because we're not using the actual system PAGESIZE.
> - [1439](): \[NetBSD\] Process.connections() may return incomplete results if using oneshot().
> - [1447](): original exception wasn't turned into NSP/AD exceptions when using Process.oneshot() ctx manager.
>
> **Incompatible API changes**
>
> - [1291](): \[OSX\] Process.memory\_maps() was removed because inherently broken (segfault) for years.
Commits
- [`74bdb64`](https://github.com/giampaolo/psutil/commit/74bdb6487cece4b2acb8ddf716ecd3a645d287d8) fix ResourceWarning
- [`5357f94`](https://github.com/giampaolo/psutil/commit/5357f94010f49bed052046ff07bb534d569bff64) pre-release
- [`95244de`](https://github.com/giampaolo/psutil/commit/95244de84f59f4793bc806196b383fbd217aa639) fix [#1447](https://github-redirect.dependabot.com/giampaolo/psutil/issues/1447): we weren't use [@wrap_exceptions](https://github.com/wrap_exceptions) around oneshot() (doh\!)
- [`7a9e796`](https://github.com/giampaolo/psutil/commit/7a9e7969f172c80507416a0fb1df98bf72e71139) update doc + change git hook location
- [`784fac2`](https://github.com/giampaolo/psutil/commit/784fac235b6305065eda1ff47a5df86c16eb866c) update doc
- [`d01a9ea`](https://github.com/giampaolo/psutil/commit/d01a9eaa35a8aadf6c519839e987a49d8be2d891) make pre-release checks/install src dist in a venv
- [`d8659cf`](https://github.com/giampaolo/psutil/commit/d8659cfa35a0da589cb0a303f0e856c0f0d1b087) add new make command to check tar.gz sanity
- [`611a123`](https://github.com/giampaolo/psutil/commit/611a12323c73e063d4b33eea363dc073388d4686) move doc; rephrase it a bit
- [`9e501a4`](https://github.com/giampaolo/psutil/commit/9e501a4b23c2ce09fba6cf0836a6c04d5dbcb605) add issue templates for 'bug' and 'enhancement' types
- [`b5d68fb`](https://github.com/giampaolo/psutil/commit/b5d68fb32a58cc38f8860dc8cf6b22060640979c) remove issue template commited by accident
- Additional commits viewable in [compare view](https://github.com/giampaolo/psutil/compare/release-5.5.1...release-5.6.0)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.
Bumps psutil from 5.5.1 to 5.6.0.
Changelog
*Sourced from [psutil's changelog](https://github.com/giampaolo/psutil/blob/master/HISTORY.rst).* > 5.6.0 > ===== > > 2019-03-05 > > **Enhancements** > > - [1379](): \[Windows\] Process suspend() and resume() now use NtSuspendProcess and NtResumeProcess instead of stopping/resuming all threads of a process. This is faster and more reliable (aka this is what ProcessHacker does). > - [1420](): \[Windows\] in case of exception disk\_usage() now also shows the path name. > - [1422](): \[Windows\] Windows APIs requiring to be dynamically loaded from DLL libraries are now loaded only once on startup (instead of on per function call) significantly speeding up different functions and methods. > - [1426](): \[Windows\] PAGESIZE and number of processors is now calculated on startup. > - [1428](): in case of error, the traceback message now shows the underlying C function called which failed. > - [1433](): new Process.parents() method. (idea by Ghislain Le Meur) > - [1437](): pids() are returned in sorted order. > - [1442](): python3 is now the default interpreter used by Makefile. > > **Bug fixes** > > - [1353](): process\_iter() is now thread safe (it rarely raised TypeError). > - [1394](): \[Windows\] Process name() and exe() may erroneously return "Registry". QueryFullProcessImageNameW is now used instead of GetProcessImageFileNameW in order to prevent that. > - [1411](): \[BSD\] lack of Py\_DECREF could cause segmentation fault on process instantiation. > - [1419](): \[Windows\] Process.environ() raises NotImplementedError when querying a 64-bit process in 32-bit-WoW mode. Now it raises AccessDenied. > - [1427](): \[OSX\] Process cmdline() and environ() may erroneously raise OSError on failed malloc(). > - [1429](): \[Windows\] SE DEBUG was not properly set for current process. It is now, and it should result in less AccessDenied exceptions for low-pid processes. > - [1432](): \[Windows\] Process.memory\_info\_ex()'s USS memory is miscalculated because we're not using the actual system PAGESIZE. > - [1439](): \[NetBSD\] Process.connections() may return incomplete results if using oneshot(). > - [1447](): original exception wasn't turned into NSP/AD exceptions when using Process.oneshot() ctx manager. > > **Incompatible API changes** > > - [1291](): \[OSX\] Process.memory\_maps() was removed because inherently broken (segfault) for years.Commits
- [`74bdb64`](https://github.com/giampaolo/psutil/commit/74bdb6487cece4b2acb8ddf716ecd3a645d287d8) fix ResourceWarning - [`5357f94`](https://github.com/giampaolo/psutil/commit/5357f94010f49bed052046ff07bb534d569bff64) pre-release - [`95244de`](https://github.com/giampaolo/psutil/commit/95244de84f59f4793bc806196b383fbd217aa639) fix [#1447](https://github-redirect.dependabot.com/giampaolo/psutil/issues/1447): we weren't use [@wrap_exceptions](https://github.com/wrap_exceptions) around oneshot() (doh\!) - [`7a9e796`](https://github.com/giampaolo/psutil/commit/7a9e7969f172c80507416a0fb1df98bf72e71139) update doc + change git hook location - [`784fac2`](https://github.com/giampaolo/psutil/commit/784fac235b6305065eda1ff47a5df86c16eb866c) update doc - [`d01a9ea`](https://github.com/giampaolo/psutil/commit/d01a9eaa35a8aadf6c519839e987a49d8be2d891) make pre-release checks/install src dist in a venv - [`d8659cf`](https://github.com/giampaolo/psutil/commit/d8659cfa35a0da589cb0a303f0e856c0f0d1b087) add new make command to check tar.gz sanity - [`611a123`](https://github.com/giampaolo/psutil/commit/611a12323c73e063d4b33eea363dc073388d4686) move doc; rephrase it a bit - [`9e501a4`](https://github.com/giampaolo/psutil/commit/9e501a4b23c2ce09fba6cf0836a6c04d5dbcb605) add issue templates for 'bug' and 'enhancement' types - [`b5d68fb`](https://github.com/giampaolo/psutil/commit/b5d68fb32a58cc38f8860dc8cf6b22060640979c) remove issue template commited by accident - Additional commits viewable in [compare view](https://github.com/giampaolo/psutil/compare/release-5.5.1...release-5.6.0)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.