Skip to content

Commit 71a97e7

Browse files
authored
Merge pull request #104 from beeware/ios-3.14
Add dependency exclusions for iOS and Android on 3.14.
2 parents ac29918 + fa5d309 commit 71a97e7

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

pyproject.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,10 @@ sources = ["src/testbed"]
1919
test_sources = ["tests"]
2020

2121
requires = [
22-
"cryptography",
23-
"lru_dict",
24-
"pillow",
22+
# Skip binary dependencies on mobile for Python 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'",
2526
# Numpy/pandas aren't available for iOS on 3.13+, or at all on 3.14.
2627
"numpy; python_version < '3.13' or (platform_system != 'iOS' and python_version < '3.14')",
2728
"pandas; python_version < '3.13' or (platform_system != 'iOS' and python_version < '3.14')",

0 commit comments

Comments
 (0)