diff --git a/pdm.lock b/pdm.lock index 27f8ee7..af2008f 100644 --- a/pdm.lock +++ b/pdm.lock @@ -5,7 +5,7 @@ groups = ["default", "build", "lint", "test"] strategy = ["inherit_metadata"] lock_version = "4.5.0" -content_hash = "sha256:503d9c28c08a152250042e09282d3a4e727af0d4aac551c4e0fcb92dc06459bf" +content_hash = "sha256:84eef30b22559e9c8bd387d005ecf59a984863bb82aa20036361ff5222931e64" [[metadata.targets]] requires_python = ">=3.14,<3.15" @@ -336,7 +336,7 @@ files = [ [[package]] name = "porringer" -version = "0.2.1.dev80" +version = "0.2.1.dev81" requires_python = ">=3.14" summary = "" groups = ["default"] @@ -349,8 +349,8 @@ dependencies = [ "userpath>=1.9.2", ] files = [ - {file = "porringer-0.2.1.dev80-py3-none-any.whl", hash = "sha256:af53ed2b9f40900898b226694d5f49c65d8eda5487132781fafa9dca7504e4b7"}, - {file = "porringer-0.2.1.dev80.tar.gz", hash = "sha256:aa40413b26d14391cd8c565dc1e2168a73b5f5e15fce16372d99998714ebf903"}, + {file = "porringer-0.2.1.dev81-py3-none-any.whl", hash = "sha256:904e0b5dcb8487f5e033313317bd834fcc88c7975f2fd5f6cc491d6e263c101d"}, + {file = "porringer-0.2.1.dev81.tar.gz", hash = "sha256:3f42c5ce318298ef4d8ab3239c740fcf29c9d8fdc79a95a8476fd6a42d8aefc0"}, ] [[package]] @@ -471,20 +471,20 @@ files = [ [[package]] name = "pyrefly" -version = "0.55.0" +version = "0.56.0" requires_python = ">=3.8" summary = "A fast type checker and language server for Python with powerful IDE features" groups = ["lint"] files = [ - {file = "pyrefly-0.55.0-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:49aafcefe5e2dd4256147db93e5b0ada42bff7d9a60db70e03d1f7055338eec9"}, - {file = "pyrefly-0.55.0-py3-none-macosx_11_0_arm64.whl", hash = "sha256:2827426e6b28397c13badb93c0ede0fb0f48046a7a89e3d774cda04e8e2067cd"}, - {file = "pyrefly-0.55.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7346b2d64dc575bd61aa3bca854fbf8b5a19a471cbdb45e0ca1e09861b63488c"}, - {file = "pyrefly-0.55.0-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:233b861b4cff008b1aff62f4f941577ed752e4d0060834229eb9b6826e6973c9"}, - {file = "pyrefly-0.55.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f5aa85657d76da1d25d081a49f0e33c8fc3ec91c1a0f185a8ed393a5a3d9e178"}, - {file = "pyrefly-0.55.0-py3-none-win32.whl", hash = "sha256:23f786a78536a56fed331b245b7d10ec8945bebee7b723491c8d66fdbc155fe6"}, - {file = "pyrefly-0.55.0-py3-none-win_amd64.whl", hash = "sha256:d465b49e999b50eeb069ad23f0f5710651cad2576f9452a82991bef557df91ee"}, - {file = "pyrefly-0.55.0-py3-none-win_arm64.whl", hash = "sha256:732ff490e0e863b296e7c0b2471e08f8ba7952f9fa6e9de09d8347fd67dde77f"}, - {file = "pyrefly-0.55.0.tar.gz", hash = "sha256:434c3282532dd4525c4840f2040ed0eb79b0ec8224fe18d957956b15471f2441"}, + {file = "pyrefly-0.56.0-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:21f018f47debc0842b2c3072201e53c138ae32bcda4f3119bfc8d23f59c16b3e"}, + {file = "pyrefly-0.56.0-py3-none-macosx_11_0_arm64.whl", hash = "sha256:95366056ceb224571b9f1c20e801d949f2c1fa2cf4ed6ceaadf85ca2ebe6fb27"}, + {file = "pyrefly-0.56.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5478229b09f4bba5bfea000b5ba20ea405f62dc7619ea81197e7ea637d6cba8d"}, + {file = "pyrefly-0.56.0-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:1e5f53781875024086a5b9f31a89c57d2977487fc3f819d9255008ad34b86fe2"}, + {file = "pyrefly-0.56.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ec6ab3f9e2c03bae8dfa520f52778f47b6762020929a664177d36aa3b941db22"}, + {file = "pyrefly-0.56.0-py3-none-win32.whl", hash = "sha256:f0440a4bbf119ab646468f360e0bd047df051352db1e5d5b9fd58f89e8458809"}, + {file = "pyrefly-0.56.0-py3-none-win_amd64.whl", hash = "sha256:f4948021639288b1ccda5f124c9562dc7f0a2679111eb314fa266c7bfd9f8603"}, + {file = "pyrefly-0.56.0-py3-none-win_arm64.whl", hash = "sha256:4683f5e8820d5fbfb84231b643b2c5f6cd40b982cac48ef756d4e3d9b09a39cc"}, + {file = "pyrefly-0.56.0.tar.gz", hash = "sha256:f84d21d9b9b58481eea02204e2f73cabb93751b21ab2cd99178b4bde24be6a82"}, ] [[package]] diff --git a/pyproject.toml b/pyproject.toml index 8c31172..eb2fa52 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,7 +14,7 @@ requires-python = ">=3.14, <3.15" dependencies = [ "pyside6>=6.10.2", "packaging>=26.0", - "porringer>=0.2.1.dev80", + "porringer>=0.2.1.dev81", "qasync>=0.28.0", "velopack>=0.0.1444.dev49733", "typer>=0.24.1", @@ -30,7 +30,7 @@ build = [ ] lint = [ "ruff>=0.15.5", - "pyrefly>=0.55.0", + "pyrefly>=0.56.0", ] test = [ "pytest>=9.0.2", diff --git a/synodic_client/application/screen/settings.py b/synodic_client/application/screen/settings.py index 70add72..f178942 100644 --- a/synodic_client/application/screen/settings.py +++ b/synodic_client/application/screen/settings.py @@ -8,7 +8,7 @@ import logging import sys import traceback -from collections.abc import Iterator +from collections.abc import Generator from contextlib import contextmanager from PySide6.QtCore import Qt, QUrl, Signal @@ -334,7 +334,7 @@ def _persist(self, **changes: object) -> None: self._store.update(**changes) @contextmanager - def _block_signals(self) -> Iterator[None]: + def _block_signals(self) -> Generator[None]: """Temporarily block signals on all settings controls.""" widgets = ( self._channel_combo, diff --git a/synodic_client/subprocess_patch.py b/synodic_client/subprocess_patch.py index 53b2773..19f888b 100644 --- a/synodic_client/subprocess_patch.py +++ b/synodic_client/subprocess_patch.py @@ -75,8 +75,8 @@ def _inject_hidden_flags(kwargs: dict[str, Any]) -> None: def _patch_popen() -> None: _original_init = subprocess.Popen.__init__ - def _patched_init(self: subprocess.Popen, *args: Any, **kwargs: Any) -> None: # type: ignore[type-arg] + def _patched_init(self: subprocess.Popen, *args: Any, **kwargs: Any) -> None: _inject_hidden_flags(kwargs) _original_init(self, *args, **kwargs) - subprocess.Popen.__init__ = _patched_init # type: ignore[method-assign] + subprocess.Popen.__init__ = _patched_init