Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion mailersend/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,11 @@
ValidationError,
)

__version__ = "2.0.0"
from .constants import __version__

__all__ = [
# Package metadata
"__version__",
# Core clients
"MailerSendClient",
"AsyncMailerSendClient",
Expand Down
2 changes: 1 addition & 1 deletion mailersend/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# Package info for user agent
PACKAGE_NAME = "mailersend-python"
__version__ = "2.0.3"
__version__ = "2.0.4"

USER_AGENT = (
f"{PACKAGE_NAME}/{__version__} "
Expand Down
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "mailersend"
version = "2.0.3"
dynamic = ["version"]
description = "The official MailerLite Python SDK"
authors = [{name = "MailerLite", email = "tech@mailerlite.com"}]
requires-python = ">=3.10"
Expand Down Expand Up @@ -31,6 +31,9 @@ asyncio_default_fixture_loop_scope = "function"
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.hatch.version]
path = "mailersend/constants.py"

[tool.semantic_release]
branch = "main"
build_command = "pip install uv && uv build"
Expand Down
1 change: 0 additions & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.