Skip to content

Commit 29e59e2

Browse files
authored
[DPE-2297] Tweak lib for use in focal charms (#287)
* Tweak lib for use in focal charms * Bump lock * Revert "Bump lock" This reverts commit a2e31bb. * Bump version manifest
1 parent e1d846e commit 29e59e2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/charms/postgresql_k8s/v0/postgresql.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
Any charm using this library should import the `psycopg2` or `psycopg2-binary` dependency.
2020
"""
2121
import logging
22-
from typing import List, Optional, Set, Tuple
22+
from typing import Dict, List, Optional, Set, Tuple
2323

2424
import psycopg2
2525
from psycopg2 import sql
@@ -32,7 +32,7 @@
3232

3333
# Increment this PATCH version before using `charmcraft publish-lib` or reset
3434
# to 0 if you are raising the major API version
35-
LIBPATCH = 15
35+
LIBPATCH = 16
3636

3737
INVALID_EXTRA_USER_ROLE_BLOCKING_MESSAGE = "invalid role(s) for extra user roles"
3838

@@ -441,7 +441,7 @@ def is_restart_pending(self) -> bool:
441441
@staticmethod
442442
def build_postgresql_parameters(
443443
profile: str, available_memory: int, limit_memory: Optional[int] = None
444-
) -> Optional[dict[str, str]]:
444+
) -> Optional[Dict[str, str]]:
445445
"""Builds the PostgreSQL parameters.
446446
447447
Args:

src/dependency.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
"dependencies": {},
1010
"name": "charmed-postgresql",
1111
"upgrade_supported": "^14",
12-
"version": "14.8"
12+
"version": "14.9"
1313
}
1414
}

0 commit comments

Comments
 (0)