nixpkgs/pkgs/development/python-modules/tornado/default.nix
Martin Weinelt 1920c02ab2 python3Packages.tornado: 6.5.2 -> 6.5.4
This commit was automatically generated using update-python-libraries.
2026-02-01 17:39:05 +01:00

71 lines
1.4 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pytestCheckHook,
# for passthru.tests
distributed,
jupyter-server,
jupyterlab,
matplotlib,
mitmproxy,
pytest-tornado,
pytest-tornasync,
pyzmq,
sockjs-tornado,
urllib3,
}:
buildPythonPackage rec {
pname = "tornado";
version = "6.5.4";
pyproject = true;
src = fetchFromGitHub {
owner = "tornadoweb";
repo = "tornado";
tag = "v${version}";
hash = "sha256-d6lKg8yrQqaCeKxdPjQNzv7Nc23U/v8d5x3sE3trRM4=";
};
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
# To allow tests to pass on slower/high-load machines
env.ASYNC_TEST_TIMEOUT = 30;
disabledTestPaths = [
# additional tests that have extra dependencies, run slowly, or produce more output than a simple pass/fail
# https://github.com/tornadoweb/tornado/blob/v6.2.0/maint/test/README
"maint/test"
];
pythonImportsCheck = [ "tornado" ];
__darwinAllowLocalNetworking = true;
passthru.tests = {
inherit
distributed
jupyter-server
jupyterlab
matplotlib
mitmproxy
pytest-tornado
pytest-tornasync
pyzmq
sockjs-tornado
urllib3
;
};
meta = {
description = "Web framework and asynchronous networking library";
homepage = "https://www.tornadoweb.org/";
license = lib.licenses.asl20;
maintainers = [ ];
};
}