Files
nixpkgs/pkgs/development/python-modules/aiounittest/default.nix
T
Robert Schütz 4561dae69d python314Packages.aiounittest: disable
It fails with

    AttributeError: 'TestCaseFunction' object has no attribute '_instance'.
2026-01-08 03:16:47 -08:00

42 lines
877 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pytestCheckHook,
pythonAtLeast,
wrapt,
}:
buildPythonPackage rec {
pname = "aiounittest";
version = "1.5.0";
pyproject = true;
# https://github.com/kwarunek/aiounittest/issues/28
disabled = pythonAtLeast "3.14";
src = fetchFromGitHub {
owner = "kwarunek";
repo = "aiounittest";
tag = version;
hash = "sha256-zX3KpDw7AaEwOLkiHX/ZD+rSMeN7qi9hOVAmVH6Jxgg=";
};
build-system = [ setuptools ];
dependencies = [ wrapt ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "aiounittest" ];
meta = {
changelog = "https://github.com/kwarunek/aiounittest/releases/tag/${src.tag}";
description = "Test asyncio code more easily";
homepage = "https://github.com/kwarunek/aiounittest";
license = lib.licenses.mit;
maintainers = [ ];
};
}