diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2026-01-14 16:15:38 +0100 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-02-07 12:28:52 +0100 |
| commit | 9dd10b45664c62e565a32872aadee706c44828be (patch) | |
| tree | 5c5383ed375d7e30feaf72a34b2d04ae4adbe19c | |
| parent | 5dcde9b5a5a66f961f4f8369fbda3630eec88357 (diff) | |
gnu: Add python-sse-starlette.
* gnu/packages/python-web.scm (python-sse-starlette): New variable.
Change-Id: I47c8fa1569d69c28e0f580df42f77fc8889643bd
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
| -rw-r--r-- | gnu/packages/python-web.scm | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 3d5d3849302..89f5d33e06e 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -12939,6 +12939,54 @@ SendGrid Web API v3. Version 3+ of the library provides full support for all SendGrid Web API v3 endpoints, including the new v3 /mail/send.") (license license:expat))) +(define-public python-sse-starlette + (package + (name "python-sse-starlette") + (version "3.1.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/sysid/sse-starlette") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0cs4218jc8fa9x362vdigdpz2nn1l4qav9yizj3psklvwiq2z1as")))) + (build-system pyproject-build-system) + (arguments + (list + #:test-flags + #~(list + ;; XXX: Server fails to start. + "--ignore=tests/experimentation/test_multiple_consumers_asyncio.py" + "--ignore=tests/experimentation/test_multiple_consumers_threads.py" + ;; XXX: Missing test dependency. + "--ignore=tests/integration/test_multiple_consumers.py") + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'relax-requirements + (lambda _ + (substitute* "pyproject.toml" + (("\"anyio>=.*\"") + "\"anyio\""))))))) + (propagated-inputs (list python-anyio python-starlette)) + (native-inputs + (list python-asgi-lifespan + python-async-timeout + python-httpx + python-portend + python-pytest + python-pytest-asyncio + python-psutil + python-setuptools + python-tenacity + python-uvicorn)) + (home-page "https://github.com/sysid/sse-starlette") + (synopsis "SSE plugin for Starlette") + (description + "This package provides SSE plugin for Starlette.") + (license license:bsd-3))) + (define-public python-starlette (package (name "python-starlette") |
