Skip to content

Commit 32d5e8e

Browse files
authored
Drop Python 3.9 support, add 3.14 (#135)
1 parent 380fb93 commit 32d5e8e

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,12 @@ jobs:
4545
- "windows-app"
4646
- "iOS"
4747
- "android"
48-
python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ]
48+
python-version: [ "3.10", "3.11", "3.12", "3.13", "3.14" ]
49+
exclude:
50+
# Android doesn't have 3.14 support packages yet
51+
- python-version: "3.14"
52+
backend: "android"
53+
4954
include:
5055
- runs-on: ubuntu-latest
5156
- pre-command:

tests/test_thirdparty.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def test_cryptography():
115115

116116
cert = x509.load_pem_x509_certificate(cert_pem, default_backend())
117117
domain = cert.subject.get_attributes_for_oid(NameOID.COMMON_NAME)[0].value
118-
assert "www.android.com" == domain
118+
assert domain == "www.android.com"
119119

120120

121121
@xfail_if_not_installed("pyspamsum")
@@ -177,7 +177,7 @@ def test_numpy():
177177
from numpy import array
178178

179179
# Numpy is the thousand pound gorilla packaging test.
180-
assert [4, 7] == (array([1, 2]) + array([3, 5])).tolist()
180+
assert (array([1, 2]) + array([3, 5])).tolist() == [4, 7]
181181

182182

183183
@xfail_if_not_installed("pandas")
@@ -196,6 +196,6 @@ def test_pandas():
196196
else:
197197
kwargs = {"lineterminator": "\n"}
198198

199-
assert (",Letter,Number\n0,alpha,1\n1,bravo,2\n2,charlie,3\n") == df.to_csv(
200-
**kwargs
199+
assert df.to_csv(**kwargs) == (
200+
",Letter,Number\n0,alpha,1\n1,bravo,2\n2,charlie,3\n"
201201
)

0 commit comments

Comments
 (0)