You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running tests on macOS 12, psutil.tests.test_osx.TestSystemAPIs.test_disks is failing (seen on my own laptop - arm64 -, reproducible on GitHub Actions macOS-12 runners, CirrusCI macos-monterey-xcode arm64 runners).
It seems the behavior of the statvfs changed for APFS shared volumes. The psutil reported "used" bytes is now the same for all shared volumes which is not the case of df.
Apple has patcheddf in macOS 12 to return the correct used bytes for a given volume.
The text was updated successfully, but these errors were encountered:
Summary
Description
When running tests on macOS 12, psutil.tests.test_osx.TestSystemAPIs.test_disks is failing (seen on my own laptop - arm64 -, reproducible on GitHub Actions macOS-12 runners, CirrusCI macos-monterey-xcode arm64 runners).
It seems the behavior of the statvfs changed for APFS shared volumes. The psutil reported "used" bytes is now the same for all shared volumes which is not the case of
df
.Apple has patched
df
in macOS 12 to return the correct used bytes for a given volume.The text was updated successfully, but these errors were encountered: