Skip to content

Commit

Permalink
Merge pull request #87 from sysid/optional_deps
Browse files Browse the repository at this point in the history
Optional deps
  • Loading branch information
sysid authored Dec 2, 2023
2 parents e747155 + 205a80a commit 8c1e090
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 35 deletions.
29 changes: 0 additions & 29 deletions Pipfile

This file was deleted.

2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.8.2
1.8.3
8 changes: 5 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "pdm.backend"

[project]
name = "sse-starlette"
version = "1.8.2"
version = "1.8.3"
description = "SSE plugin for Starlette"
readme = "README.md"
license = {text = "BSD-3-Clause"}
Expand All @@ -29,14 +29,16 @@ classifiers = [
dependencies = [
"starlette",
"uvicorn",
"fastapi",
"anyio",
]
[project.urls]
Source = "https://github.com/sysid/sse-starlette"

[project.optional-dependencies]
examples = ["fastapi"]

[tool.bumpversion]
current_version = "1.8.2"
current_version = "1.8.3"
commit = true
tag = false
message = "Bump version to {new_version}"
Expand Down
2 changes: 1 addition & 1 deletion sse_starlette/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from sse_starlette.sse import EventSourceResponse, ServerSentEvent

__all__ = ["ServerSentEvent", "EventSourceResponse"]
__version__ = "1.8.2"
__version__ = "1.8.3"
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,11 @@ deps =
psutil
uvicorn
starlette
fastapi
commands =
#pytest --cov=sse_starlette --cov-report=xml
black sse_starlette
coverage erase
coverage run --include=sse_starlette/* -m pytest -ra
coverage run -m pytest -ra
coverage report -m
coverage xml

0 comments on commit 8c1e090

Please sign in to comment.