From 14dd7f624753fdb1757cd97945ee6b3d744011ac Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sun, 10 Aug 2025 00:51:48 +0100 Subject: [PATCH] gnu: python-terminado: Update to 1.18.1. * gnu/packages/python-web.scm (python-terminado): Update to 1.18.1. [build-system]: Use pyproject. [arguments] : Ignore warnings. : Use default 'check. [native-inputs]: Add python-hatchling, and python-pytest-timeout. Change-Id: I6dce6fbca7886f74b0c0e66db0367c4156313c3b --- gnu/packages/python-web.scm | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index ac9e70d93842d13004807e9f3f6bcb4b1266a233..faeee118f90fe357d9e2b76f242cbed34d158591 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -4246,24 +4246,25 @@ web framework, either via the basic or digest authentication schemes.") (define-public python-terminado (package (name "python-terminado") - (version "0.10.0") + (version "0.18.1") (source (origin (method url-fetch) (uri (pypi-uri "terminado" version)) (sha256 (base32 - "1smvra3sc9sg64w49kfn5yhagshq3x55839748ck5dvxvk4hgza6")))) - (build-system python-build-system) - (propagated-inputs - (list python-tornado-6 python-ptyprocess)) - (native-inputs - (list python-pytest)) + "0bpxag3n0148vsgmi6wh3ynmprykazzqys0lfxgpdr2xp32g42fy")))) + (build-system pyproject-build-system) (arguments - `(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda _ (invoke "pytest" "-vv")))))) + (list + #:test-flags #~(list "-W" "default"))) ;taken from pyproject.toml + (native-inputs + (list python-hatchling + python-pytest + python-pytest-timeout)) + (propagated-inputs + (list python-ptyprocess + python-tornado-6)) (home-page "https://github.com/jupyter/terminado") (synopsis "Terminals served to term.js using Tornado websockets") (description "This package provides a Tornado websocket backend for the