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

[Windows] Deprecation Warning #2255

Closed
mokadevcloud opened this issue May 16, 2023 · 0 comments · Fixed by #2270
Closed

[Windows] Deprecation Warning #2255

mokadevcloud opened this issue May 16, 2023 · 0 comments · Fixed by #2270

Comments

@mokadevcloud
Copy link

Summary

  • OS: Windows 11
  • Architecture: 64bit
  • Psutil version: 5.9.5
  • Python version: 3.10
  • Type: wheel

Description

Hi, I have this deprecation warning when I call psutil.disk_usage('/'). Would it be possible to fix this in the next release? Thanks

C:\Users\user\repo\env\lib\site-packages\psutil\_pswindows.py:280: DeprecationWarning: getargs: The 'u' format is deprecated. Use 'U' instead.
  total, free = cext.disk_usage(path)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant