python-knx-telegram-store 0.16.0-1
Package Information
| Description | Library for storing and querying KNX telegrams This library keeps a history of KNX home automation messages in memory or in a SQLite or PostgreSQL database. Queries can filter by source, destination, telegram type, direction, datapoint type and time range, and can include nearby telegrams for context. The library also reads and writes raw cEMI frames in KNX CommunicationLog XML, the format used by ETS6 group monitor exports and Gira IP router data logger dumps. |
|---|---|
| Maintainer | Home Assistant Team <team+homeassistant@tracker.debian.org> |
| Changed By | Edward Betts <edward@4angle.com> |
| Sponsor | edward@debian.org |
| Distribution | unstable |
| Architecture | all |
| VCS | git: https://salsa.debian.org/homeassistant-team/deps/python-knx-telegram-store.git (browse) |
| Closes | #1154979 |
| Tracker | https://tracker.debian.org/pkg/python-knx-telegram-store |
| Uploaded | 2 hours ago |
New Package Report
.changes
| Architecture | all source |
|---|---|
| Distribution | unstable |
| Date | Mon, 23 Nov 2026 08:41:41 +0000 |
| Source | python-knx-telegram-store |
| Version | 0.16.0-1 |
| Changed-By | Edward Betts <edward@4angle.com> |
Changelog
python-knx-telegram-store (0.16.0-1) unstable; urgency=medium . * Initial release. (Closes: #1154979)
.dsc
| Component | main |
|---|---|
| Package-List | python3-knx-telegram-store deb python optional arch=all |
| Section | python |
| Priority | optional |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: knx-telegram-store Upstream-Contact: Martin Höfling <martin.hoefling@gmx.de> Source: https://github.com/XKNX/knx-telegram-store Files: * Copyright: 2026 Martin Höfling License: MIT Files: debian/* Copyright: 2026 Edward Betts <edward@4angle.com> License: MIT License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
DFSG Assistant LLM REVIEW 0 blocker, 0 important, 1 minor
This is an LLM based review using a Debian Inference based workflow. It was not written by a member of the DFSG team and has not been checked by one. It is not a decision on the package: it may be wrong, and it may have missed things.
Reviewed 1 hour ago.
Report
DFSG NEW review for python-knx-telegram-store version 0.16.0-1
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: Yes - Packaging is of good quality: Yes
- Issues: 0 blocker, 0 important, 1 minor
- debian/watch: version 5
- debian/copyright: machine-readable
- Scan before the review: nothing found
Licensing
The whole tree is MIT: LICENSE names Martin Höfling (2026), README.md, docs/design_and_implementation.md and pyproject.toml agree, and the only other copyright notice in the tree is debian/copyright itself. debian/copyright is DEP-5 with the standard format URL, a Files: * stanza (MIT, Martin Höfling, 2026) and a debian/* stanza (MIT, Edward Betts, 2026), and reproduces the MIT text in full. Every file is plain text written by the upstream project; no vendored third-party code, no non-free terms, no generated-without-source files, so the licence is DFSG-free and the description is accurate and complete.
Packaging
Standard, clean python packaging: compat 14 debhelper with dh-sequence-python3, pybuild and the pyproject plugin, a single Architecture: all binary, test-only dependencies in Build-Depends-Indep with <!nocheck>, Testsuite: autopkgtest-pkg-pybuild, 3.0 (quilt) with no patches, good Vcs-*/Homepage/upstream metadata and a sane changelog. The one gap is that the optional SQLite/PostgreSQL backends need python3-sqlalchemy/python3-aiosqlite/python3-asyncpg, and nothing in the binary package's relationships mentions them; the only hard runtime dependency, python3-defusedxml, is added automatically from Requires-Dist. Minor, not release-blocking.
Issues
minor packaging 1. No Recommends/Suggests for the modules the SQLite and PostgreSQL backends need (python3-sqlalchemy, python3-aiosqlite, python3-asyncpg) ◂
- Files:
debian/control:22-28,pyproject.toml:43-44,src/knx_telegram_store/backends/sqlite.py:9,src/knx_telegram_store/backends/sqlite.py:161,src/knx_telegram_store/backends/postgres.py:11-13,src/knx_telegram_store/connection.py:156 - Basis: checked, in the package or with a reference tool
- Evidence:
pyproject.toml:sqlite = ["aiosqlite>=0.20", "sqlalchemy[asyncio]>=2.0"],postgres = ["asyncpg>=0.29", "sqlalchemy[asyncio]>=2.0"];backends/sqlite.py:9from sqlalchemy import URL, inspect, textand:161URL.create("sqlite+aiosqlite", ...); the binary stanza indebian/controlhas noDepends,RecommendsorSuggests. - Problem: The package's headline feature is persistent storage in SQLite and PostgreSQL, and
knx_telegram_store.backends.sqlite,.postgresand the lazily exportedBufferedSqliteStore/BufferedPostgresStoreimport SQLAlchemy unconditionally; SQLAlchemy loads aiosqlite for thesqlite+aiosqlitedialect and asyncpg for the PostgreSQL driver.python3-defusedxmlis the only dependency that reachesDependsautomatically (dh_python3 translatesRequires-Dist), so anapt install python3-knx-telegram-storeleaves the documented[sqlite]/[postgres]backends failing withModuleNotFoundError, with nothing in the archive relationships to point the user at the Debian packages. Upstream models these as extras, so this is a relationship-completeness gap rather than a broken package. - Fix: Add e.g.
Recommends: python3-sqlalchemy, python3-aiosqliteandSuggests: python3-asyncpgto thepython3-knx-telegram-storestanza (or put all three underSuggestsif the Home Assistant team prefers not to pull SQLAlchemy in by default).
Verified ◂
debian/copyrightis DEP-5: standardFormat:URL,Upstream-Name/Upstream-Contact/Source, aFiles: *stanza, aFiles: debian/*stanza and a stand-aloneLicense: MITparagraph whose text matchesLICENSE; noFiles-Excluded.- Tree inventory (excluding
.pc/anddebian/): 54 files —src/(13 modules pluspy.typed, three subpackages),tests/(23),tools/(2),scripts/(1),docs/(1),.github/(3), rootLICENSE,README.md,agents.md,pyproject.toml,docker-compose.test.yml,.gitignore,.pre-commit-config.yaml. All plain text; no images, fonts, PDFs, archives, bytecode or other binaries, so nothing needed to be judged by provenance alone. - The only copyright notices in the tree are
LICENSE:3Copyright (c) 2026 Martin Höflinganddebian/copyright:7,11; a grep forCopyright,(c),©,SPDX-License-Identifier,All rights reserved,public domain,GNU,Apache,BSDandMozillafound nothing else, and the prescan's holder check agrees every holder is named.Files: *covers src, tests, tools, docs, scripts,.githuband the root files. - Licence evidence is consistent:
LICENSEis MIT,README.mdends withMIT,docs/design_and_implementation.md:507saysLICENSE # MIT License,pyproject.toml:11license = "MIT"; the Debian MIT text is the standard one and belongs in no/usr/share/common-licensesfile. - No vendored third-party code: the only non-stdlib imports under
src/aredefusedxml(formats/ets_xml.py:19),sqlalchemyin the SQL backends and a function-localasyncpg(connection.py:156); comments mentioning Home Assistant, xknx and SpectrumKNX are interoperability notes, not attribution. python3-defusedxmlis added toDependsautomatically:pyproject.toml:22hasdefusedxml>=0.7.1, dh_python3'sguess_depsis on by default (/usr/share/dh-python/dhpython/options.py:40) and it translates the installed dist-info'sRequires-Dist(depends.py:299-304); Debian ships python3-defusedxml 0.7.1-3, satisfying the floor, and at compat 14dh_gencontroladds the relationship substvars itself, so the emptyDependsis not a fault.- Every dependency named in
debian/controlexists: debhelper 14.5 provides thedh-sequence-single-binaryadd-on (/usr/share/perl5/Debian/Debhelper/Sequence/single_binary.pm), pybuild-plugin-pyproject 7.20261030, python3-setuptools 84.2.0, python3-sqlalchemy 2.0.52, python3-aiosqlite 0.21.0, python3-asyncpg 0.31.0, python3-pytest 9.1.1, python3-pytest-asyncio 1.4.0, python3-defusedxml 0.7.1-3. - Test dependencies sit in
Build-Depends-Indepwith<!nocheck>and there is nooverride_dh_auto_test, so anocheckbuild skips the test step entirely and needs none of them. pybuild's pyproject plugin copiespyproject.tomlandtests/into its build directory and runspytest teststhere (dhpython/build/base.py:77,base.py:281), soasyncio_mode = "auto"and the subprocess test intests/test_optional_dependencies.py(which relies on cwd being the import root) still work. tests/integration/test_postgres_integration.py:29-63is gated onKNX_TEST_TIMESCALE_DSN/KNX_TEST_PG_DSNandpytest.importorskip("asyncpg"), so the pybuild autopkgtest passes with no database server; the unit tests only use pytest, pytest-asyncio, sqlalchemy, aiosqlite and defusedxml, all listed.debian/source/formatis3.0 (quilt), there is nodebian/patchesand no DEP-3 question;debian/rulesis the plaindh $@ --buildsystem=pybuild;debian/python3-knx-telegram-store.docsinstallsREADME.mdanddocs/design_and_implementation.md; there are no maintainer scripts, install/link files ordebian/tests/, which the declared pybuild autopkgtest does not need.Standards-Version: 4.7.4against Policy 4.7.4.1 shares its first two components, so it is current;Vcs-Git/Vcs-Browserpoint at the same salsa repository,Section: python,Architecture: all, and the changelog's0.16.0-1/unstablewith the upstream version and a correct Monday date are sane.tools/migrate_sample_db.pyrefers to atestdata/sample_telegrams.dbabsent from the source, but it is a developer utility installed by nothing.- uscan found the packaged version as the newest upstream release (upstream
0.16.0, packaged0.16.0).
Not confirmed ◂
- The package was not built and no tests were run in this review; a clean-chroot build and the autopkgtest are assumed to pass.
- autodep8 is not installed on the reviewing system, so its
pkg-pybuildtemplate could not be inspected;Testsuite: autopkgtest-pkg-pybuildis the value dh-python ships/usr/share/dh-python/pybuild-autopkgtestfor. - Bug #1154979 closed in the changelog was not checked against the BTS.
Proposed changes ◂
None.
Uploader's response to the LLM review
The uploader was emailed about the review 0 hours ago.