Skip to content

Commit

Permalink
update HISTORY + give CREDITS for @arossert, @smoofra, @mayeut for #2102
Browse files Browse the repository at this point in the history
  • Loading branch information
giampaolo committed Oct 20, 2022
1 parent 8e58bce commit 57a7a70
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 6 deletions.
10 changes: 9 additions & 1 deletion CREDITS
Original file line number Diff line number Diff line change
Expand Up @@ -781,7 +781,7 @@ I: 1956

N: Matthieu Darbois
W: https://github.com/mayeut
I: 2039, 2142, 2147, 2153, 2040
I: 2039, 2142, 2147, 2153, 2040, 2102

N: Hugo van Kemenade
W: https://github.com/hugovk
Expand All @@ -805,3 +805,11 @@ I: 2150
N: Daniel Widdis
W: https://github.com/dbwiddis
I: 2077

N: Amir Rossert
W: https://github.com/arossert
I: 2156

N: Lawrence D'Anna
W: https://github.com/smoofra
I: 2010
12 changes: 11 additions & 1 deletion HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,20 @@

XXXX-XX-XX

**Enhancements**

- 2102_: use Limited API when building wheels with CPython 3.6+ on Linux,
macOS and Windows. This allows to use pre-built wheels in all future versions
of cPython 3. (patch by Matthieu Darbois)

**Bug fixes**

- 2077_, [Windows]: Use system-level values for `virtual_memory()`. (patch by
- 2077_, [Windows]: Use system-level values for `virtual_memory()`_. (patch by
Daniel Widdis)
- 2156_, [Linux]: compilation may fail on very old gcc compilers due to missing
``SPEED_UNKNOWN`` definition. (patch by Amir Rossert)
- 2010_, [macOS]: on MacOS, arm64 ``IFM_1000_TX`` and ``IFM_1000_T`` are the
same value, causing a build failure. (patch by Lawrence D'Anna)

5.9.3
=====
Expand Down
2 changes: 1 addition & 1 deletion psutil/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@
AF_LINK = _psplatform.AF_LINK

__author__ = "Giampaolo Rodola'"
__version__ = "5.9.3"
__version__ = "5.9.4"
version_info = tuple([int(num) for num in __version__.split('.')])

_timer = getattr(time, 'monotonic', time.time)
Expand Down
2 changes: 1 addition & 1 deletion psutil/tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def macos_version():
if CI_TESTING:
NO_RETRIES *= 3
GLOBAL_TIMEOUT *= 3
TOLERANCE_SYS_MEM *= 3
TOLERANCE_SYS_MEM *= 4
TOLERANCE_DISK_USAGE *= 3

# --- file names
Expand Down
4 changes: 2 additions & 2 deletions psutil/tests/test_osx.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,13 +192,13 @@ def test_vmem_wired(self):
def test_swapmem_sin(self):
vmstat_val = vm_stat("Pageins")
psutil_val = psutil.swap_memory().sin
self.assertEqual(psutil_val, vmstat_val)
self.assertEqual(psutil_val, vmstat_val, delta=TOLERANCE_SYS_MEM)

@retry_on_failure()
def test_swapmem_sout(self):
vmstat_val = vm_stat("Pageout")
psutil_val = psutil.swap_memory().sout
self.assertEqual(psutil_val, vmstat_val)
self.assertEqual(psutil_val, vmstat_val, delta=TOLERANCE_SYS_MEM)

# Not very reliable.
# def test_swapmem_total(self):
Expand Down

0 comments on commit 57a7a70

Please sign in to comment.