From 5183dbfb25bad0b45dea5ff3c80cb3037f3b4a7c Mon Sep 17 00:00:00 2001 From: shenjack <3695888@qq.com> Date: Sat, 17 Jun 2023 16:20:49 +0800 Subject: [PATCH] fix cpython issue --- requirement-build.txt | 4 ++-- requirement-dev.txt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/requirement-build.txt b/requirement-build.txt index b39cbc8..33ea035 100644 --- a/requirement-build.txt +++ b/requirement-build.txt @@ -4,7 +4,7 @@ # for images # not for pypy >= 3.10 -pillow >= 9.5.0; platform_python_implementation == "PyPy" and python_version < "3.10" +pillow >= 9.5.0; (platform_python_implementation == "PyPy" and python_version < "3.10") or platform_python_implementation == "CPython" # for sys info psutil >= 5.9.5 @@ -20,7 +20,7 @@ objprint >= 0.2.2 # for compile nuitka >= 1.6.3 ordered-set >= 4.1.0 -imageio >= 2.31.0; platform_python_implementation == "PyPy" and python_version < "3.10" +imageio >= 2.31.0; (platform_python_implementation == "PyPy" and python_version < "3.10") or platform_python_implementation == "CPython" wheel >= 0.40.0 setuptools >= 67.8.0 setuptools-rust >= 1.6.0 diff --git a/requirement-dev.txt b/requirement-dev.txt index e135967..150f3e7 100644 --- a/requirement-dev.txt +++ b/requirement-dev.txt @@ -5,7 +5,7 @@ # for images # not for pypy >= 3.10 -pillow >= 9.5.0; platform_python_implementation == "PyPy" and python_version < "3.10" +pillow >= 9.5.0; (platform_python_implementation == "PyPy" and python_version < "3.10") or platform_python_implementation == "CPython" # for sys info psutil >= 5.9.5 @@ -23,7 +23,7 @@ vizplugins >= 0.1.3; platform_python_implementation != "PyPy" # for compile nuitka >= 1.6.3 ordered-set >= 4.1.0 -imageio >= 2.31.0; platform_python_implementation == "PyPy" and python_version < "3.10" +imageio >= 2.31.0; (platform_python_implementation == "PyPy" and python_version < "3.10") or platform_python_implementation == "CPython" wheel >= 0.40.0 setuptools >= 67.8.0 setuptools-rust >= 1.6.0