Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit352434b

Browse files
committed
Attempting to fix psutil dep due togiampaolo/psutil#1659
1 parenta4724a5 commit352434b

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

‎setup.py

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -279,14 +279,19 @@
279279
'zope.event',
280280
'zope.interface',
281281
]
282-
# Fails to build on PyPy on Windows.
283-
# TODO: Is that still the case?
284-
EXTRA_PSUTIL_DEP='psutil >= 5.6.1 ; platform_python_implementation == "CPython" or sys_platform != "win32"'
285282

286-
EXTRA_MONITOR= [
287-
EXTRA_PSUTIL_DEP,
283+
EXTRA_PSUTIL_DEPS= [
284+
# psutil fails to build on PyPy on Windows. (TODO: Is that still the case?)
285+
# Versions of PyPy2 prior to 7.4 (maybe?) are incompatible with
286+
# psutil >= 5.6.4.
287+
# https://github.com/giampaolo/psutil/issues/1659
288+
'psutil >= 5.6.1 ; platform_python_implementation == "CPython" or python_version!="2.7"',
289+
'psutil == 5.6.3 ; platform_python_implementation=="PyPy" and python_version=="2.7" and sys_platform != "win32"',
288290
]
289291

292+
EXTRA_MONITOR= [
293+
]+EXTRA_PSUTIL_DEPS
294+
290295
EXTRA_RECOMMENDED= [
291296
# We need this at runtime to use the libev-CFFI and libuv backends
292297
CFFI_DEP,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp