From be947001977d33d1cff16c8e3acdb8cc81c8634d Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Mon, 11 Aug 2025 08:28:44 +0800 Subject: [PATCH 1/3] Drop Python 3.9, add 3.14. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 26de731..88de5da 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,7 +45,7 @@ jobs: - "windows-app" - "iOS" - "android" - python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ] + python-version: [ "3.10", "3.11", "3.12", "3.13", "3.14" ] include: - runs-on: ubuntu-latest - pre-command: From 37b0b32bddbcf597ef849b728041123e53186cda Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Mon, 11 Aug 2025 08:33:13 +0800 Subject: [PATCH 2/3] Cleanups identified by transition to Ruff. --- tests/test_thirdparty.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test_thirdparty.py b/tests/test_thirdparty.py index aab7b08..1749805 100644 --- a/tests/test_thirdparty.py +++ b/tests/test_thirdparty.py @@ -115,7 +115,7 @@ def test_cryptography(): cert = x509.load_pem_x509_certificate(cert_pem, default_backend()) domain = cert.subject.get_attributes_for_oid(NameOID.COMMON_NAME)[0].value - assert "www.android.com" == domain + assert domain == "www.android.com" @xfail_if_not_installed("pyspamsum") @@ -177,7 +177,7 @@ def test_numpy(): from numpy import array # Numpy is the thousand pound gorilla packaging test. - assert [4, 7] == (array([1, 2]) + array([3, 5])).tolist() + assert (array([1, 2]) + array([3, 5])).tolist() == [4, 7] @xfail_if_not_installed("pandas") @@ -196,6 +196,6 @@ def test_pandas(): else: kwargs = {"lineterminator": "\n"} - assert (",Letter,Number\n0,alpha,1\n1,bravo,2\n2,charlie,3\n") == df.to_csv( - **kwargs + assert df.to_csv(**kwargs) == ( + ",Letter,Number\n0,alpha,1\n1,bravo,2\n2,charlie,3\n" ) From 9bc2a7bf724ccba2fb7eda49de05c4cc06269e0f Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Mon, 11 Aug 2025 12:56:45 +0800 Subject: [PATCH 3/3] Skip Android on 3.14 for now. --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 88de5da..a4b47d6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,6 +46,11 @@ jobs: - "iOS" - "android" python-version: [ "3.10", "3.11", "3.12", "3.13", "3.14" ] + exclude: + # Android doesn't have 3.14 support packages yet + - python-version: "3.14" + backend: "android" + include: - runs-on: ubuntu-latest - pre-command: