From 52204bbe46c404b6da7355c88c0cb30384d288f7 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Thu, 8 Jan 2026 16:00:17 -0800 Subject: [PATCH 1/2] python3Packages.caio: apply finalAttrs fix --- pkgs/development/python-modules/caio/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/caio/default.nix b/pkgs/development/python-modules/caio/default.nix index 50d090ff5e16..31226780006d 100644 --- a/pkgs/development/python-modules/caio/default.nix +++ b/pkgs/development/python-modules/caio/default.nix @@ -10,7 +10,7 @@ setuptools, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "caio"; version = "0.9.22"; pyproject = true; @@ -18,7 +18,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "mosquito"; repo = "caio"; - tag = version; + tag = finalAttrs.version; hash = "sha256-O86SLZ+8bzPYtvLnmY5gLPYLWvNaktQwIEQckJR15LI="; }; @@ -39,8 +39,8 @@ buildPythonPackage rec { meta = { description = "File operations with asyncio support"; homepage = "https://github.com/mosquito/caio"; - changelog = "https://github.com/mosquito/caio/releases/tag/${version}"; + changelog = "https://github.com/mosquito/caio/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ fab ]; }; -} +}) From 149da6f10be6edca10415b824f56de956ff70033 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Thu, 8 Jan 2026 15:55:09 -0800 Subject: [PATCH 2/2] python3Packages.caio: 0.9.22 -> 0.9.25 Supports python 3.14 DIFF: https://github.com/mosquito/caio/compare/0.9.22...0.9.25 --- pkgs/development/python-modules/caio/default.nix | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/caio/default.nix b/pkgs/development/python-modules/caio/default.nix index 31226780006d..3ca296b82657 100644 --- a/pkgs/development/python-modules/caio/default.nix +++ b/pkgs/development/python-modules/caio/default.nix @@ -1,33 +1,30 @@ { lib, stdenv, - aiomisc, + aiomisc-pytest, buildPythonPackage, fetchFromGitHub, - pytest-aiohttp, - pytest-asyncio_0, - pytest8_3CheckHook, + pytestCheckHook, setuptools, }: buildPythonPackage (finalAttrs: { pname = "caio"; - version = "0.9.22"; + version = "0.9.25"; pyproject = true; src = fetchFromGitHub { owner = "mosquito"; repo = "caio"; tag = finalAttrs.version; - hash = "sha256-O86SLZ+8bzPYtvLnmY5gLPYLWvNaktQwIEQckJR15LI="; + hash = "sha256-uKQJWGYtBdpcfFD6yDKjIz0H0FEq4dmCP50sbVGYRGU="; }; build-system = [ setuptools ]; nativeCheckInputs = [ - aiomisc - (pytest-aiohttp.override { pytest-asyncio = pytest-asyncio_0; }) - pytest8_3CheckHook + aiomisc-pytest + pytestCheckHook ]; env.NIX_CFLAGS_COMPILE = toString (