Skip to content

Commit

Permalink
Bump to version 0.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
yuval9313 committed Nov 10, 2024
1 parent d70680b commit 67b1f94
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions fastapi_utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,20 @@
import pkg_resources

try:
__version__ = pkg_resources.get_distribution(__name__).version
__version__ = "0.8.0"
except pkg_resources.DistributionNotFound as e:
warnings.warn(f"Could not determine version of {__name__}", stacklevel=1)
warnings.warn(str(e), stacklevel=1)
__version__ = "unknown"
__version__ = "0.8.0"
else:
import importlib.metadata

try:
__version__ = importlib.metadata.version(__name__)
__version__ = "0.8.0"
except importlib.metadata.PackageNotFoundError as e:
warnings.warn(f"Could not determine version of {__name__}", stacklevel=1)
warnings.warn(str(e), stacklevel=1)
__version__ = "unknown"
__version__ = "0.8.0"


__all__ = [
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "fastapi-utils"
version = "0.7.0"
version = "0.8.0"
description = "Reusable utilities for FastAPI"
license = "MIT"
authors = ["Yuval Levi <yuvall9313@gmail.com>", "David Montague <davwmont@gmail.com>"]
Expand Down

0 comments on commit 67b1f94

Please sign in to comment.