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
Tests which involve getting CPU clock information fail on macos-latest workers, but work on macos-13. Tests need to run on macos-13 until giampaolo/psutil#2382 is resolved.
======================================================================
ERROR: test_cpu (test.test_available_features.Tests.test_cpu)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/runner/work/system-query/system-query/test/test_available_features.py", line 13, in test_cpu
self.assertGreaterEqual(len(query_cpu()), 1)
^^^^^^^^^^^
File "/Users/runner/work/system-query/system-query/system_query/cpu_info.py", line 70, in query_cpu
clock_current, clock_min, clock_max = query_cpu_clock()
^^^^^^^^^^^^^^^^^
File "/Users/runner/work/system-query/system-query/system_query/cpu_info.py", line 16, in query_cpu_clock
cpu_clock = psutil.cpu_freq()
^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/psutil/__init__.py", line 1913, in cpu_freq
ret = _psplatform.cpu_freq()
^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/psutil/_psosx.py", line 182, in cpu_freq
curr, min_, max_ = cext.cpu_freq()
^^^^^^^^^^^^^^^
RuntimeError: 'pmgr' entry was not found in AppleARMIODevice service
The text was updated successfully, but these errors were encountered:
Tests which involve getting CPU clock information fail on macos-latest workers, but work on macos-13. Tests need to run on macos-13 until giampaolo/psutil#2382 is resolved.
Workaround was added in #24
The text was updated successfully, but these errors were encountered: