Skip to content

Commit

Permalink
Use legal syntax for version exclusions.
Browse files Browse the repository at this point in the history
  • Loading branch information
freakboy3742 committed Dec 19, 2024
1 parent ba569a2 commit 818ef9c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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; 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'",
# 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')",
Expand Down

0 comments on commit 818ef9c

Please sign in to comment.