python313Packages.blockbuster: init at 1.5.23

New test dependency for anyio.
This commit is contained in:
Martin Weinelt 2025-03-31 14:18:30 +02:00
parent 24871b4859
commit d770f77cc4
No known key found for this signature in database
GPG key ID: 87C1E9888F856759
2 changed files with 49 additions and 0 deletions

View file

@ -0,0 +1,47 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
forbiddenfruit,
pytestCheckHook,
pytest-asyncio,
requests,
}:
buildPythonPackage rec {
pname = "blockbuster";
version = "1.5.23";
pyproject = true;
src = fetchFromGitHub {
owner = "cbornet";
repo = "blockbuster";
tag = "v${version}";
hash = "sha256-AxRnP8/fIae5ovWQVpfs3ZLIIkxXqVZmuhGjPTX5B/g=";
};
build-system = [ hatchling ];
dependencies = [ forbiddenfruit ];
nativeCheckInputs = [
pytestCheckHook
pytest-asyncio
requests
];
disabledTests = [
# network access
"test_ssl_socket"
];
pythonImportsCheck = [ "blockbuster" ];
meta = {
description = "Utility to detect blocking calls in the async event loop";
homepage = "https://github.com/cbornet/blockbuster";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ ];
};
}

View file

@ -1894,6 +1894,8 @@ self: super: with self; {
block-io = callPackage ../development/python-modules/block-io { };
blockbuster = callPackage ../development/python-modules/blockbuster { };
blockchain = callPackage ../development/python-modules/blockchain { };
blockdiag = callPackage ../development/python-modules/blockdiag { };