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 (define-public python-terminado
(package (package
(name "python-terminado") (name "python-terminado")
(version "0.10.0") (version "0.18.1")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "terminado" version)) (uri (pypi-uri "terminado" version))
(sha256 (sha256
(base32 (base32
"1smvra3sc9sg64w49kfn5yhagshq3x55839748ck5dvxvk4hgza6")))) "0bpxag3n0148vsgmi6wh3ynmprykazzqys0lfxgpdr2xp32g42fy"))))
(build-system python-build-system) (build-system pyproject-build-system)
(propagated-inputs
(list python-tornado-6 python-ptyprocess))
(native-inputs
(list python-pytest))
(arguments (arguments
`(#:phases (list
(modify-phases %standard-phases #:test-flags #~(list "-W" "default"))) ;taken from pyproject.toml
(replace 'check (native-inputs
(lambda _ (invoke "pytest" "-vv")))))) (list python-hatchling
python-pytest
python-pytest-timeout))
(propagated-inputs
(list python-ptyprocess
python-tornado-6))
(home-page "https://github.com/jupyter/terminado") (home-page "https://github.com/jupyter/terminado")
(synopsis "Terminals served to term.js using Tornado websockets") (synopsis "Terminals served to term.js using Tornado websockets")
(description "This package provides a Tornado websocket backend for the (description "This package provides a Tornado websocket backend for the