From 92d171daed85f3195227a9514111ffe2e2068a9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sun, 12 Oct 2025 16:51:22 -0700 Subject: [PATCH] python3Packages.pytest-asyncio: 1.1.0 -> 1.2.0 Diff: https://github.com/pytest-dev/pytest-asyncio/compare/v1.1.0...v1.2.0 Changelog: https://github.com/pytest-dev/pytest-asyncio/blob/v1.2.0/docs/reference/changelog.rst --- .../python-modules/pytest-asyncio/default.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pytest-asyncio/default.nix b/pkgs/development/python-modules/pytest-asyncio/default.nix index a251f89fc5de..6d1d22738532 100644 --- a/pkgs/development/python-modules/pytest-asyncio/default.nix +++ b/pkgs/development/python-modules/pytest-asyncio/default.nix @@ -7,18 +7,19 @@ pytest, setuptools-scm, backports-asyncio-runner, + typing-extensions, }: buildPythonPackage rec { pname = "pytest-asyncio"; - version = "1.1.0"; # N.B.: when updating, tests bleak and aioesphomeapi tests + version = "1.2.0"; # N.B.: when updating, tests bleak and aioesphomeapi tests pyproject = true; src = fetchFromGitHub { owner = "pytest-dev"; repo = "pytest-asyncio"; tag = "v${version}"; - hash = "sha256-+dLOzMPKI3nawfyZVZZ6hg6OkaEGZBp8oC5VIr7y0es="; + hash = "sha256-27FCV7zgFGe/Q0fkYyh5Z05foVGhbKBRPTH4UK/tW5A="; }; outputs = [ @@ -29,8 +30,12 @@ buildPythonPackage rec { build-system = [ setuptools-scm ]; buildInputs = [ pytest ]; - dependencies = lib.optionals (pythonOlder "3.11") [ + + dependencies = [ backports-asyncio-runner + ] + ++ lib.optionals (pythonOlder "3.13") [ + typing-extensions ]; postInstall = ''