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

{Packaging} Bump psutil to 5.9.0 #20864

Merged
merged 1 commit into from
Jan 4, 2022
Merged

{Packaging} Bump psutil to 5.9.0 #20864

merged 1 commit into from
Jan 4, 2022

Conversation

jiasli
Copy link
Member

@jiasli jiasli commented Dec 30, 2021

Description

Fix #20195 (comment)

When installing with pip install azure-cli, installing psutil 5.8.0 fails without Microsoft Visual C++:

  ERROR: Command errored out with exit status 1:
   command: 'D:\test-envs\test310\Scripts\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\username\\AppData\\Local\\Temp\\pip-install-ds9qtdad\\psutil_edc519ddccee4418ba33c3e0ff32ce49\\setup.py'"'"'; __file__='"'"'C:\\Users\\username\\AppData\\Local\\Temp\\pip-install-ds9qtdad\\psutil_edc519ddccee4418ba33c3e0ff32ce49\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\username\AppData\Local\Temp\pip-wheel-2caa_k7a'
       cwd: C:\Users\username\AppData\Local\Temp\pip-install-ds9qtdad\psutil_edc519ddccee4418ba33c3e0ff32ce49\
  Complete output (38 lines):
  ...
  copying psutil\tests\__main__.py -> build\lib.win-amd64-3.10\psutil\tests
  running build_ext
  building 'psutil._psutil_windows' extension
  error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
  ----------------------------------------
  ERROR: Failed building wheel for psutil
  Running setup.py clean for psutil

This was fixed by

and released in 5.9.0.

@yonzhan
Copy link
Collaborator

yonzhan commented Dec 30, 2021

Packaging

@jiasli jiasli merged commit ee5d532 into Azure:dev Jan 4, 2022
@jiasli jiasli deleted the psutil branch January 4, 2022 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants