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] <test-flags>: Ignore warnings.
  <phases>: Use default 'check.
  [native-inputs]: Add python-hatchling, and python-pytest-timeout.

Change-Id: I6dce6fbca7886f74b0c0e66db0367c4156313c3b
This commit is contained in:
Sharlatan Hellseher 2025-08-10 00:51:48 +01:00
parent 1d186dcb47
commit abc7129725
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -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