python3Packages.sse-starlette: 3.0.2 -> 3.0.3
Diff: https://github.com/sysid/sse-starlette/compare/v3.0.2...v3.0.3 Changelog: https://github.com/sysid/sse-starlette/blob/v3.0.3/CHANGELOG.md
This commit is contained in:
@@ -1,19 +1,21 @@
|
||||
{
|
||||
lib,
|
||||
aiosqlite,
|
||||
anyio,
|
||||
asgi-lifespan,
|
||||
async-timeout,
|
||||
buildPythonPackage,
|
||||
daphne,
|
||||
fastapi,
|
||||
fetchFromGitHub,
|
||||
granian,
|
||||
httpx,
|
||||
portend,
|
||||
psutil,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
requests,
|
||||
setuptools,
|
||||
sqlalchemy,
|
||||
starlette,
|
||||
tenacity,
|
||||
testcontainers,
|
||||
@@ -22,27 +24,33 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sse-starlette";
|
||||
version = "3.0.2";
|
||||
version = "3.0.3";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sysid";
|
||||
repo = "sse-starlette";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-9NI6CUcK5AqITKxtCMz9Z1+Ke87u2y2E0LlwsFUDhgw=";
|
||||
hash = "sha256-2QCagK4OIVJJ54uedJFVjcGyRo2j1415iNjDIa67/mo=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
anyio
|
||||
starlette
|
||||
];
|
||||
|
||||
optional-dependencies = {
|
||||
examples = [ fastapi ];
|
||||
daphne = [ daphne ];
|
||||
examples = [
|
||||
aiosqlite
|
||||
fastapi
|
||||
sqlalchemy
|
||||
starlette
|
||||
uvicorn
|
||||
]
|
||||
++ sqlalchemy.optional-dependencies.asyncio;
|
||||
granian = [ granian ];
|
||||
uvicorn = [ uvicorn ];
|
||||
};
|
||||
|
||||
@@ -55,7 +63,6 @@ buildPythonPackage rec {
|
||||
psutil
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
requests
|
||||
tenacity
|
||||
testcontainers
|
||||
uvicorn
|
||||
@@ -66,9 +73,6 @@ buildPythonPackage rec {
|
||||
disabledTests = [
|
||||
# AssertionError
|
||||
"test_stop_server_with_many_consumers"
|
||||
"test_stop_server_conditional"
|
||||
# require network access
|
||||
"test_sse_multiple_consumers"
|
||||
# require docker
|
||||
"test_sse_server_termination"
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user