From 89bab49eb3a5f0d85d0fa89d1a35084abd5b86a0 Mon Sep 17 00:00:00 2001 From: sysid Date: Sat, 15 Jun 2024 13:48:56 +0200 Subject: [PATCH] Bump version to 2.1.2 --- Makefile | 2 +- VERSION | 2 +- pyproject.toml | 4 ++-- sse_starlette/__init__.py | 2 +- tests/integration/test_conditional_yielding_endpoint.py | 1 - 5 files changed, 5 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 07a1979..0c71f89 100644 --- a/Makefile +++ b/Makefile @@ -28,11 +28,11 @@ build: clean format sort-imports ## format and build .PHONY: publish publish: ## publish @echo "upload to Pypi" - pdm publish #twine upload --verbose dist/* #@git log -10 --pretty=format:"%h %aN %ar %d %s" | grep main | grep Bump && \ #twine upload --verbose dist/* || \ #echo "Bump Version before trying to upload" + pdm publish .PHONY: bump-major bump-major: ## bump-major, tag and push diff --git a/VERSION b/VERSION index 3e3c2f1..eca07e4 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.1.1 +2.1.2 diff --git a/pyproject.toml b/pyproject.toml index 26ba273..fb03761 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "pdm.backend" [project] name = "sse-starlette" -version = "2.1.1" +version = "2.1.2" description = "SSE plugin for Starlette" readme = "README.md" license = {text = "BSD-3-Clause"} @@ -46,7 +46,7 @@ asyncio_mode = "auto" #addopts = "--cov=my_package --cov-report=term-missing" [tool.bumpversion] -current_version = "2.1.1" +current_version = "2.1.2" commit = true tag = false message = "Bump version to {new_version}" diff --git a/sse_starlette/__init__.py b/sse_starlette/__init__.py index 55be280..3b640c2 100644 --- a/sse_starlette/__init__.py +++ b/sse_starlette/__init__.py @@ -1,4 +1,4 @@ from sse_starlette.sse import EventSourceResponse, ServerSentEvent __all__ = ["ServerSentEvent", "EventSourceResponse"] -__version__ = "2.1.1" +__version__ = "2.1.2" diff --git a/tests/integration/test_conditional_yielding_endpoint.py b/tests/integration/test_conditional_yielding_endpoint.py index 95d5c02..c7dc14f 100644 --- a/tests/integration/test_conditional_yielding_endpoint.py +++ b/tests/integration/test_conditional_yielding_endpoint.py @@ -1,4 +1,3 @@ import logging - _log = logging.getLogger(__name__)