diff --git a/lib/charms/glauth_k8s/v0/ldap.py b/lib/charms/glauth_k8s/v0/ldap.py index 206c3ac8..6e495780 100644 --- a/lib/charms/glauth_k8s/v0/ldap.py +++ b/lib/charms/glauth_k8s/v0/ldap.py @@ -155,9 +155,9 @@ def _on_ldap_requested(self, event: LdapRequestedEvent) -> None: # Increment this PATCH version before using `charmcraft publish-lib` or reset # to 0 if you are raising the major API version -LIBPATCH = 6 +LIBPATCH = 7 -PYDEPS = ["pydantic~=2.5.3"] +PYDEPS = ["pydantic>=2.5.3"] DEFAULT_RELATION_NAME = "ldap" BIND_ACCOUNT_SECRET_LABEL_TEMPLATE = Template("relation-$relation_id-bind-account-secret") diff --git a/src/database.py b/src/database.py index aa84e455..897be64d 100644 --- a/src/database.py +++ b/src/database.py @@ -55,7 +55,7 @@ def __enter__(self) -> "Operation": def __exit__(self, exc_type: Any, exc_val: Any, exc_tb: Any) -> None: if exc_type: logger.error( - f"The database operation failed. The exception " f"{exc_type} raised: {exc_val}" + f"The database operation failed. The exception {exc_type} raised: {exc_val}" ) self._session.rollback() else: