Skip to content

Commit 2473e15

Browse files
committed
fix: update faff-core dependency to >=0.1.16 and fix version reporting
- Require faff-core>=0.1.16 (needed for UninitializedLedgerError) - Fix __version__ to read from package metadata instead of hardcoded value - Bump version to 0.1.9
1 parent 103b57c commit 2473e15

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ authors = [{name="Thomas Lant", email="thomas@lant.uk"}]
77
license = { text = "AGPL-3.0-or-later" }
88
requires-python = ">=3.11"
99
dependencies = [
10-
"faff-core>=0.1.15",
10+
"faff-core>=0.1.16",
1111
"typer[all]",
1212
"rich",
1313
"python-slugify",

src/faff_cli/__init__.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
__version__ = "0.1.0"
1+
try:
2+
from importlib.metadata import version
3+
__version__ = version("faff-cli")
4+
except Exception:
5+
__version__ = "unknown"

0 commit comments

Comments
 (0)