From c034e6692cf736b5e87d14418a8153bb03f6cf42 Mon Sep 17 00:00:00 2001 From: Giampaolo Rodola Date: Mon, 24 Jun 2024 20:47:56 +0200 Subject: [PATCH] give credit to @colesbury / Sam Gross for #2401 and #2427 --- CREDITS | 4 ++++ HISTORY.rst | 18 +++++++++++++++--- psutil/__init__.py | 2 +- 3 files changed, 20 insertions(+), 4 deletions(-) diff --git a/CREDITS b/CREDITS index baff0c089..543536370 100644 --- a/CREDITS +++ b/CREDITS @@ -831,3 +831,7 @@ I: 2376 N: Anthony Ryan W: https://github.com/anthonyryan1 I: 2272 + +N: Sam Gross +W: https://github.com/colesbury +I: 2401, 2427 diff --git a/HISTORY.rst b/HISTORY.rst index d290221f2..2aa985bfe 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -1,7 +1,19 @@ *Bug tracker at https://github.com/giampaolo/psutil/issues* -6.0.0 2024-06-18 -================ +6.0.1 (IN DEVELOPMENT) +====================== + +XXXX-XX-XX + +**Bug fixes** + +- 2427_: psutil (segfault) on import in the free-threaded (no GIL) version of + Python 3.13. (patch by Sam Gross) + +6.0.0 +====== + +2024-06-18 **Enhancements** @@ -14,7 +26,7 @@ been reused. This makes `process_iter()`_ around 20x times faster. - 2396_: a new ``psutil.process_iter.cache_clear()`` API can be used the clear `process_iter()`_ internal cache. -- 2401_, Support building with free-threaded CPython 3.13. +- 2401_, Support building with free-threaded CPython 3.13. (patch by Sam Gross) - 2407_: `Process.connections()`_ was renamed to `Process.net_connections()`_. The old name is still available, but it's deprecated (triggers a ``DeprecationWarning``) and will be removed in the future. diff --git a/psutil/__init__.py b/psutil/__init__.py index 3a503503c..c1e038f3e 100644 --- a/psutil/__init__.py +++ b/psutil/__init__.py @@ -214,7 +214,7 @@ AF_LINK = _psplatform.AF_LINK __author__ = "Giampaolo Rodola'" -__version__ = "6.0.0" +__version__ = "6.0.1" version_info = tuple([int(num) for num in __version__.split('.')]) _timer = getattr(time, 'monotonic', time.time)