-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
psutil version limitations #6758
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
Comments
Fine with me as long as it also works on Mac.
On Fri, May 3, 2019 at 06:38 crusaderky ***@***.***> wrote:
#4130 <#4130> by @gvanrossum
<https://github.com/gvanrossum>, in Oct 2017, added a dependency to
psutil >= 5.4.0 < 5.5.0. From git blame I see how the psutil dependency has
since been made optional, but the version boundaries have never been
touched and I can't find any reasoning behind them.
The only place I could find where psutil is used is:
https://github.com/python/mypy/blob/d387906ebe6afc6d683c1564d3a1a5391254bd57/mypy/dmypy_server.py#L568-L573
I just tested the above code snippet on the following anaconda setups, and
they all worked fine:
- Linux, python=3.5.0, psutil=4.0.0
- Linux, python=3.7.3, psutil=5.6.2
- Windows 10, python=3.5.0, psutil=4.0.0
- Windows 10, python=3.7.3, psutil=5.6.2
From my tests it looks like peak_wset was added in psutil 4.0, even if
it's not mentioned in the changelog
https://github.com/giampaolo/psutil/blob/master/HISTORY.rst.
Any objections to changing the dependency to psutil >= 4.0?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#6758>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAWCWMTIKTUUUGQKHUZZDG3PTQIZ5ANCNFSM4HKS4PKQ>
.
--
--Guido (mobile)
|
Tested on Mac. |
Ready for merge |
I’m still unsure what the actual problem is you are solving. |
@gvanrossum Well for one thing it looks like psutil is not marked as even an optional depency on Windows. So even if I |
#4130 by @gvanrossum, in Oct 2017, added a dependency to psutil >= 5.4.0 < 5.5.0. From git blame I see how the psutil dependency has since been made optional, but the version boundaries have never been touched and I can't find any reasoning behind them.
The only place I could find where psutil is used is:
mypy/mypy/dmypy_server.py
Lines 568 to 573 in d387906
I just tested the above code snippet on the following anaconda setups, and they all worked fine:
From my tests it looks like peak_wset was added in psutil 4.0, even if it's not mentioned in the changelog https://github.com/giampaolo/psutil/blob/master/HISTORY.rst.
Any objections to changing the dependency to psutil >= 4.0?
The text was updated successfully, but these errors were encountered: