Skip to content

Commit fa5d309

Browse files
committed
Use legal syntax for version exclusions.
1 parent ba569a2 commit fa5d309

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ test_sources = ["tests"]
2020

2121
requires = [
2222
# Skip binary dependencies on mobile for Python 3.14
23-
"cryptography; not (platform_system == 'iOS' or platform_system == 'Android') or python_version < '3.14')",
24-
"lru_dict; not (platform_system == 'iOS' or platform_system == 'Android') or python_version < '3.14')",
25-
"pillow; not (platform_system == 'iOS' or platform_system == 'Android') or python_version < '3.14')",
23+
"cryptography; (platform_system != 'iOS' and platform_system != 'Android') or python_version < '3.14'",
24+
"lru_dict; (platform_system != 'iOS' and platform_system != 'Android') or python_version < '3.14'",
25+
"pillow; (platform_system != 'iOS' and platform_system != 'Android') or python_version < '3.14'",
2626
# Numpy/pandas aren't available for iOS on 3.13+, or at all on 3.14.
2727
"numpy; python_version < '3.13' or (platform_system != 'iOS' and python_version < '3.14')",
2828
"pandas; python_version < '3.13' or (platform_system != 'iOS' and python_version < '3.14')",

0 commit comments

Comments
 (0)