Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade py-cpuinfo to 4.0.0 #13629

Merged
merged 1 commit into from Apr 2, 2018
Merged

Upgrade py-cpuinfo to 4.0.0 #13629

merged 1 commit into from Apr 2, 2018

Conversation

fabaff
Copy link
Member

@fabaff fabaff commented Apr 2, 2018

Description:

  • Broken when using Pyinstaller
  • Get L1, L2, and L3 cache info from lscpu
  • Byte formats are inconsistent
  • Byte formatter breaks on non strings
  • Fixed wrong setup of CPUID machine code and added more flags
  • Get Windows CPU info with wmic
  • Fails to detect winreg imported as _winreg in get_system_info
  • Include if Python is 32 or 64 bit in get_system_info
  • lscpu gets brand field twice
  • Include Python version in output
  • CPUID HZ measurement is scaled wrong
  • Officially drop support for Python 2.6
  • Made it only check the dmesg boot log on Linux
  • Parsing Haiku sysinfo fails

Example entry for configuration.yaml (if applicable):

sensor:
  - platform: cpuspeed

Checklist:

  • The code change is tested and works locally.
  • Local tests pass with tox. Your PR cannot be merged unless tests pass

If the code communicates with devices, web services, or third-party tools:

  • New dependencies have been added to the REQUIREMENTS variable (example).
  • New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.

@Danielhiversen Danielhiversen merged commit 95e9892 into dev Apr 2, 2018
@Danielhiversen Danielhiversen deleted the upgrade-py-cpuinfo branch April 2, 2018 09:58
@balloob balloob mentioned this pull request Apr 13, 2018
@home-assistant home-assistant locked and limited conversation to collaborators Jul 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants