From a52e7fbc9feb7f7f2911b3e448c8d01996c41331 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Thu, 19 Dec 2024 10:16:46 +0800 Subject: [PATCH] Use legal syntax for version exclusions. --- pyproject.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 55ed4c6..e5a5741 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,9 +20,9 @@ test_sources = ["tests"] requires = [ # Skip binary dependencies on mobile for Python 3.14 - "cryptography; not (platform_system == 'iOS' or platform_system == 'Android') or python_version < '3.14')", - "lru_dict; not (platform_system == 'iOS' or platform_system == 'Android') or python_version < '3.14')", - "pillow; not (platform_system == 'iOS' or platform_system == 'Android') or python_version < '3.14')", + "cryptography; (platform_system != 'iOS' and platform_system != 'Android') or python_version < '3.14')", + "lru_dict; (platform_system != 'iOS' or platform_system != 'Android') or python_version < '3.14')", + "pillow; (platform_system != 'iOS' or platform_system != 'Android') or python_version < '3.14')", # Numpy/pandas aren't available for iOS on 3.13+, or at all on 3.14. "numpy; python_version < '3.13' or (platform_system != 'iOS' and python_version < '3.14')", "pandas; python_version < '3.13' or (platform_system != 'iOS' and python_version < '3.14')",