From f5d4787d10bbc59ab50b34317877c595b0330338 Mon Sep 17 00:00:00 2001 From: John Date: Wed, 15 Oct 2025 10:34:43 -0500 Subject: [PATCH 1/2] Add Python 3.14 tests in CI --- .github/workflows/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4cd489a..814b667 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,7 +21,7 @@ jobs: strategy: matrix: os: [ubuntu, windows, macos-x86_64, macos-arm64] - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"] qt-version: ["pyside2", "pyside6", "pyqt5", "pyqt6"] include: - os: ubuntu @@ -43,6 +43,8 @@ jobs: qt-version: pyside2 - python-version: "3.13" qt-version: pyside2 + - python-version: "3.14" + qt-version: pyside2 # pyside6 and pyqt6 require python >=3.9 - python-version: "3.8" qt-version: pyside6 From 1d1b3712e92d31d03263ebc043f3b787bf286bbc Mon Sep 17 00:00:00 2001 From: John Date: Wed, 15 Oct 2025 10:41:31 -0500 Subject: [PATCH 2/2] remove use of deprecated function --- src/qasync/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qasync/__init__.py b/src/qasync/__init__.py index d35a5ee..c972a25 100644 --- a/src/qasync/__init__.py +++ b/src/qasync/__init__.py @@ -515,7 +515,7 @@ def close(self): def call_later(self, delay, callback, *args, context=None): """Register callback to be invoked after a certain delay.""" - if asyncio.iscoroutinefunction(callback): + if inspect.iscoroutinefunction(callback): raise TypeError("coroutines cannot be used with call_later") if not callable(callback): raise TypeError(