Skip to content

Commit ccc5c90

Browse files
committed
Enable Python 3.11 - 3.13 on Android
1 parent b1b8168 commit ccc5c90

File tree

3 files changed

+8
-15
lines changed

3 files changed

+8
-15
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
- "windows-app"
4646
- "iOS"
4747
- "android"
48-
python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13-dev" ]
48+
python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ]
4949
include:
5050
- runs-on: ubuntu-latest
5151
- pre-command:
@@ -106,22 +106,14 @@ jobs:
106106
sudo udevadm control --reload-rules
107107
sudo udevadm trigger --name-match=kvm
108108
exclude:
109-
# Cryptography isn't available for 3.11+ on Android yet
110-
- backend: android
111-
python-version: "3.11"
112-
- backend: android
113-
python-version: "3.12"
114-
# Binary packages aren't available for 3.13 on Android yet
115-
- backend: android
116-
python-version: "3.13-dev"
117109
# Support package isn't available for 3.13 on Linux
118110
- backend: "linux-flatpak"
119-
python-version: "3.13-dev"
111+
python-version: "3.13"
120112
# Support package isn't available for 3.13 on Window
121113
- backend: "windows-VisualStudio"
122-
python-version: "3.13-dev"
114+
python-version: "3.13"
123115
- backend: "windows-app"
124-
python-version: "3.13-dev"
116+
python-version: "3.13"
125117

126118
steps:
127119
- name: Checkout
@@ -134,6 +126,7 @@ jobs:
134126
if: matrix.python-version != 'system'
135127
with:
136128
python-version: ${{ matrix.python-version }}
129+
allow-prereleases: true
137130

138131
- name: Install Dependencies
139132
run: ${{ matrix.pre-command }}

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,8 @@ requires = [
2222
"cryptography",
2323
"lru_dict",
2424
"pillow",
25-
# Numpy/pandas aren't available on 3.13.
26-
"numpy; python_version < '3.13'",
27-
"pandas; python_version < '3.13'",
25+
"numpy",
26+
"pandas",
2827
]
2928
test_requires = [
3029
"pytest",

tests/test_common.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ def test_stdlib_modules():
106106

107107
# Modules that do not exist on Android
108108
if hasattr(sys, "getandroidapilevel"):
109+
all_modules.remove("_multiprocessing")
109110
all_modules.remove("grp")
110111

111112
# Modules that do not exist on iOS

0 commit comments

Comments
 (0)