Skip to content

Commit 349f0c4

Browse files
authored
Use recently published wheels in testing. (#156)
1 parent d95b376 commit 349f0c4

File tree

2 files changed

+12
-17
lines changed

2 files changed

+12
-17
lines changed

pyproject.toml

Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -21,33 +21,27 @@ test_sources = ["tests"]
2121
requires = [
2222
"x-pth-tester",
2323

24-
# Cryptography provides an ABI3 wheel for all desktop platforms, but requires cffi which doesn't.
24+
# Cryptography provides an ABI3 wheel for all desktop platforms and iOS.
2525
"""cryptography; \
26-
(platform_system != 'iOS' and platform_system != 'Android' and python_version < '3.14') \
27-
or (platform_system == 'iOS' and python_version < '3.14') \
28-
or (platform_system == 'Android' and python_version < '3.14')""",
29-
# lru_dict not available anywhere on 3.14
30-
"""lru_dict; \
31-
(platform_system != 'iOS' and platform_system != 'Android' and python_version < '3.14') \
32-
or (platform_system == 'iOS' and python_version < '3.14') \
26+
(platform_system != 'Android' and python_version < '3.15') \
3327
or (platform_system == 'Android' and python_version < '3.14')""",
28+
# lru_dict available everywhere
29+
"lru_dict; python_version < '3.15'",
3430
# pillow not available anywhere on 3.15, or on Android for 3.14+.
3531
"""pillow; \
36-
(platform_system != 'iOS' and platform_system != 'Android' and python_version < '3.15') \
37-
or (platform_system == 'iOS' and python_version < '3.15') \
32+
(platform_system != 'Android' and python_version < '3.15') \
3833
or (platform_system == 'Android' and python_version < '3.14')""",
3934
# pyspamum has 3.13 wheels on iOS and Android; and no wheels on Windows
4035
# On Linux, we need to restrict the test to Python3.13+, because Android reports
4136
# as "Linux" on Python3.12 and earlier.
4237
"""pyspamsum; \
43-
(platform_system == 'Darwin' and python_version < '3.14') \
44-
or (platform_system == 'iOS' and python_version == '3.13') \
45-
or (platform_system == 'Android' and python_version == '3.13') \
46-
or (platform_system == 'Linux' and python_version == '3.13')""",
47-
# Numpy not available on 3.14+.
38+
(platform_system == 'Darwin' and python_version < '3.15') \
39+
or (platform_system == 'iOS' and python_version >= '3.13' and python_version < '3.15') \
40+
or (platform_system == 'Android' and python_version < '3.15') \
41+
or (platform_system == 'Linux' and python_version >= '3.13')""",
42+
# Numpy not available on 3.14 on Android.
4843
"""numpy; \
49-
(platform_system != 'iOS' and platform_system != 'Android' and python_version < '3.14') \
50-
or (platform_system == 'iOS' and python_version < '3.14') \
44+
(platform_system != 'Android' and python_version < '3.15') \
5145
or (platform_system == 'Android' and python_version < '3.14')""",
5246
# Pandas not available on iOS for 3.13+, or all on 3.14+.
5347
"""pandas; \
@@ -126,6 +120,7 @@ requires = [
126120
"rubicon-objc",
127121
"std-nslog",
128122
]
123+
min_os_version = "17.0"
129124
# support_package = "../Python-Apple-support/dist/Python-3.14-iOS-support.custom.tar.gz"
130125
# template = "../../templates/briefcase-iOS-Xcode-template"
131126

-16.8 KB
Binary file not shown.

0 commit comments

Comments
 (0)