python3Packages.pytest-asyncio-cooperative: init at 0.40.0 (#421618)
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
poetry-core,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytest-asyncio-cooperative";
|
||||
version = "0.40.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "willemt";
|
||||
repo = "pytest-asyncio-cooperative";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-WA2swhgpn7Ct409tk91gQiHUZCXQLO0eznqskOVlU1U=";
|
||||
};
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
disabledTestPaths = [
|
||||
"example/hypothesis_test.py"
|
||||
];
|
||||
disabledTests = [
|
||||
"test_tmp_path"
|
||||
"test_session_scope_gen"
|
||||
"test_session_scope_async_gen"
|
||||
"test_retry"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pytest_asyncio_cooperative" ];
|
||||
|
||||
meta = {
|
||||
description = "Use asyncio to run your I/O bound test suite efficiently and quickly";
|
||||
homepage = "https://github.com/willemt/pytest-asyncio-cooperative";
|
||||
changelog = "https://github.com/willemt/pytest-asyncio-cooperative/releases/tag/v${version}";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ jherland ];
|
||||
};
|
||||
}
|
||||
@@ -13987,6 +13987,10 @@ self: super: with self; {
|
||||
|
||||
pytest-asyncio = callPackage ../development/python-modules/pytest-asyncio { };
|
||||
|
||||
pytest-asyncio-cooperative =
|
||||
callPackage ../development/python-modules/pytest-asyncio-cooperative
|
||||
{ };
|
||||
|
||||
pytest-asyncio_0_21 = pytest-asyncio.overridePythonAttrs (old: rec {
|
||||
version = "0.21.2";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
|
||||
Reference in New Issue
Block a user