Files
Martin Weinelt 162dfff8b8 python314Packages.gipc: mark broken
Hangs during tests in library code, not test code.
2026-05-11 21:54:33 +02:00

67 lines
1.7 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
gevent,
pytestCheckHook,
pythonAtLeast,
setuptools,
}:
buildPythonPackage rec {
pname = "gipc";
version = "1.8.0";
pyproject = true;
src = fetchFromGitHub {
owner = "jgehrcke";
repo = "gipc";
tag = version;
hash = "sha256-P3soMA/EBMuhkXQsiLv9gnDBfo9XGosKnSMi+EZ0gaM=";
};
build-system = [ setuptools ];
dependencies = [ gevent ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "gipc" ];
disabledTests = [
# AttributeError
"test_all_handles_length"
"test_child"
"test_closeread"
"test_closewrite"
"test_early_readchild_exit"
"test_handlecount"
"test_handler"
"test_onewriter"
"test_readclose"
"test_singlemsg"
"test_twochannels_singlemsg"
"test_twoclose"
"test_twowriters"
"test_write_closewrite_read"
];
meta = {
# https://github.com/jgehrcke/gipc/issues/141
broken = pythonAtLeast "3.14";
description = "Gevent-cooperative child processes and IPC";
longDescription = ''
Usage of Python's multiprocessing package in a gevent-powered
application may raise problems and most likely breaks the application
in various subtle ways. gipc (pronunciation "gipsy") is developed with
the motivation to solve many of these issues transparently. With gipc,
multiprocessing. Process-based child processes can safely be created
anywhere within your gevent-powered application.
'';
homepage = "http://gehrcke.de/gipc";
changelog = "https://github.com/jgehrcke/gipc/blob/${version}/CHANGELOG.rst";
license = lib.licenses.mit;
maintainers = [ ];
};
}