Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ and this project adheres to

### Changed

- Use `importlib.metadata.version()` for `__version__`, single source of truth
in `pyproject.toml` ([3547e22], [#22])
- Re-export all public models from `__init__.py` and define `__all__`
([1dcfbef], [#21])
- Tests now import from `l9format` package directly instead of
Expand Down Expand Up @@ -148,6 +150,7 @@ and this project adheres to

<!-- Commit links -->

[3547e22]: https://github.com/LeakIX/l9format-python/commit/3547e22
[1ca6e4d]: https://github.com/LeakIX/l9format-python/commit/1ca6e4d
[0d8736e]: https://github.com/LeakIX/l9format-python/commit/0d8736e
[d30efd2]: https://github.com/LeakIX/l9format-python/commit/d30efd2
Expand Down Expand Up @@ -212,6 +215,7 @@ and this project adheres to
[#16]: https://github.com/LeakIX/l9format-python/pull/16
[#18]: https://github.com/LeakIX/l9format-python/pull/18
[#21]: https://github.com/LeakIX/l9format-python/issues/21
[#22]: https://github.com/LeakIX/l9format-python/issues/22
[#27]: https://github.com/LeakIX/l9format-python/issues/27
[#33]: https://github.com/LeakIX/l9format-python/issues/33
[#35]: https://github.com/LeakIX/l9format-python/issues/35
4 changes: 3 additions & 1 deletion l9format/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
__version__ = "1.4.0"
from importlib.metadata import version

__version__ = version("l9format")

from l9format.l9format import (
Certificate,
Expand Down