Skip to content

Commit 4023d49

Browse files
authored
[DPE-10163] Compatibility class for PGB (#128)
* Compatibility clas for PGB * Reimports * Get version * Force 3.8 for literals
1 parent ba8b8ca commit 4023d49

7 files changed

Lines changed: 834 additions & 569 deletions

File tree

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[project]
55
name = "postgresql-charms-single-kernel"
66
description = "Shared and reusable code for PostgreSQL-related charms"
7-
version = "16.1.11"
7+
version = "16.1.12"
88
readme = "README.md"
99
license = {file = "LICENSE"}
1010
authors = [
@@ -64,7 +64,7 @@ log_cli_level = "INFO"
6464
[tool.ruff]
6565
# preview and explicit preview are enabled for CPY001
6666
preview = true
67-
target-version = "py38"
67+
target-version = "py312"
6868
src = ["src", "."]
6969
line-length = 99
7070

@@ -111,6 +111,7 @@ convention = "google"
111111

112112
[tool.ty.environment]
113113
python = ".tox/lint/"
114+
python-version = "3.12"
114115

115116
[tool.ty.src]
116117
exclude = ["tests"]
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Copyright 2025 Canonical Ltd.
2+
# See LICENSE file for licensing details.
3+
"""Utils and helpers for PostgreSQL charms."""

0 commit comments

Comments
 (0)