python3Packages.janus: 1.0.0 -> 2.0.0

This commit is contained in:
Martin Weinelt
2025-01-27 10:55:46 +01:00
parent c65c8c302d
commit 0d5e8b50eb
@@ -5,17 +5,19 @@
pytestCheckHook,
pythonOlder,
pytest-asyncio,
pytest-benchmark,
pytest-cov-stub,
typing-extensions,
}:
buildPythonPackage rec {
pname = "janus";
version = "1.0.0";
version = "2.0.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "df976f2cdcfb034b147a2d51edfc34ff6bfb12d4e2643d3ad0e10de058cb1612";
sha256 = "sha256-CXDzjg5yVABJbINKNopn7lUdw7WtCiV+Ey9bRvLnd3A=";
};
disabled = pythonOlder "3.6";
@@ -24,11 +26,12 @@ buildPythonPackage rec {
nativeCheckInputs = [
pytest-asyncio
pytest-benchmark
pytest-cov-stub
pytestCheckHook
];
# also fails upstream: https://github.com/aio-libs/janus/pull/258
disabledTests = [ "test_format" ];
pytestFlagsArray = [ "--benchmark-disable" ];
meta = with lib; {
description = "Mixed sync-async queue";