python-tonewinner-rs232 1.3.0-1
Package Information
| Description | asynchronous control library for Tonewinner AV processors This library communicates with the Tonewinner AT-500 over RS-232. It can turn the processor on or off, adjust volume and mute, and select the input and sound mode. It can read the processor's current settings and notify subscribers when they change. The library can read the processor's identity, temporarily waking it from standby if needed. The tonewinner-rs232 command displays the current state. |
|---|---|
| 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-tonewinner-rs232.git (browse) |
| Closes | #1155902 |
| Tracker | https://tracker.debian.org/pkg/python-tonewinner-rs232 |
| Uploaded | 2 hours ago |
New Package Report
.changes
| Date | Mon, 30 Nov 2026 15:33:35 +0000 |
|---|---|
| Source | python-tonewinner-rs232 |
| Version | 1.3.0-1 |
| Changed-By | Edward Betts <edward@4angle.com> |
| Architecture | all source |
| Distribution | unstable |
Changelog
python-tonewinner-rs232 (1.3.0-1) unstable; urgency=medium . * Initial release. (Closes: #1155902)
.dsc
| Component | main |
|---|---|
| Package-List | python3-tonewinner-rs232 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: tonewinner-rs232 Upstream-Contact: Emma Segal-Grossman <hi@emma.cafe> Source: https://github.com/emma-sg/tonewinner-rs232 Files: * Copyright: Emma Segal-Grossman <hi@emma.cafe> 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, 2 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-tonewinner-rs232 version 1.3.0-1
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: Yes - Packaging is of good quality: Yes
- Issues: 0 blocker, 0 important, 2 minor
- debian/watch: version 5
- debian/copyright: machine-readable
- Scan before the review: nothing found
Licensing
debian/copyright is DEP-5, states MIT with the full MIT text (not in /usr/share/common-licenses, so it must be and is included), and matches the tree: everything upstream is Emma Segal-Grossman's MIT work (pyproject.toml declares MIT and the MIT classifier; no LICENSE file exists upstream), and debian/* is Edward Betts' MIT work. Files: * covers every upstream path at any depth (src/, tests/, .github/, dotfiles, uv.lock, pyproject.toml), Files: debian/* overrides for the packaging. Grepping the tree for copyright/licence wording found notices only in debian/copyright, and the prescan's holder check names no missing holder. No non-free terms, no embedded third-party code, no vendored licences, no built or minified files.
Packaging
Clean, conventional pybuild packaging: compat 14 with the single-binary add-on explicit, pyproject backend, standard Build-Depends/Indep split, autopkgtest-pkg-pybuild, salsa-ci, upstream metadata, DEP-5 copyright, changelog matching upstream 1.3.0 and closing the ITP. Two small test/documentation gaps: the installed /usr/bin/tonewinner-rs232 has no manual page (Policy 12.1), and python3-pytest-timeout is missing from the test dependencies although pyproject.toml configures a pytest timeout.
Issues
minor packaging 1. No manual page for the /usr/bin/tonewinner-rs232 command the package installs ◂
- Files:
pyproject.toml:37-38,debian/control:23-38 - Basis: checked, in the package or with a reference tool
- Evidence: pyproject.toml:
[project.scripts]/tonewinner-rs232 = "tonewinner_rs232.__main__:main"; Policy 12.1:Each program, utility, and function should have an associated manual page included in the same package or a dependency. - Problem: pybuild's pyproject plugin copies the wheel's console script into /usr/bin (home_dir/scripts -> sysconfig scripts path), and the package Description advertises
The tonewinner-rs232 command displays the current state. Neither the upstream tree nor debian/ provides a man page and nothing generates one (no debian/manpages, no help2man), so Policy 12.1 is violated; the Manual calls a missing man page a bug to be reported to the BTS. - Fix: Ship a short man page for tonewinner-rs232 and list it in debian/manpages (or generate it with help2man in debian/rules and add help2man to Build-Depends); alternatively file a forwarded bug upstream and keep it open until a page exists.
minor
packaging
2. Build-Depends-Indep omits python3-pytest-timeout, so pyproject.toml's timeout = 5 never takes effect
◂
- Files:
debian/control:13-16,pyproject.toml:49,pyproject.toml:34 - Basis: inferred from what was read, not seen directly
- Evidence: pyproject.toml:
[tool.pytest.ini_options]timeout = 5, anddev = [ ..., "pytest-timeout>=2.3" ]; debian/control lists onlypython3-pytest,python3-pytest-asyncio,python3-serialxunder Build-Depends-Indep - Problem:
timeoutis implemented only by the pytest-timeout plugin; dh's pybuild selects pytest (python3-pytest is a build dependency) and runs it with this pyproject.toml, so the suite at build time and under autopkgtest-pkg-pybuild runs without the 5 s per-test guard the project declares. pytest treats the option as unknown, so the configured protection is silently absent and a hanging async test would only be stopped by the outer build/autopkgtest timeout. - Fix: Add
python3-pytest-timeout <!nocheck>to Build-Depends-Indep (autodep8 derives the autopkgtest dependencies from the same fields). Add it as well if upstream'spytest-timeoutrequirement is meant to be honoured in the Debian test environment.
Verified ◂
- Read debian/copyright in full: DEP-5 with the canonical Format URL,
Files: *(MIT, Emma Segal-Grossman) and a laterFiles: debian/*(MIT, 2026 Edward Betts), plus a stand-alone MIT License paragraph whose text is the complete MIT permission notice. - Grepped all upstream files (path tree excluding .pc and debian/copyright) for Copyright/(C)/©/SPDX-License-Identifier/Licensed under/Permission is hereby granted/GNU/Apache/Mozilla/public domain/All rights reserved/non-commercial: no matches, so no file carries a notice debian/copyright omits; the prescan's loose author check likewise found no missing holder.
- Tree is entirely text: seven package modules (src/tonewinner_rs232), three test files, README.md, pyproject.toml, .gitignore, .pre-commit-config.yaml, six .github files, uv.lock. No built, minified, compiled or binary artefacts and no images/fonts; uv.lock is a generated plain-text lock file with no copyright or licence content.
- The .github workflows only name external actions (
actions/checkout@v6,astral-sh/setup-uv,pypa/gh-action-pypi-publish@release/v1); no third-party code or licence text is vendored in the tree. - Runtime dependency: debian/control has no Depends field, but dh_python3 (compat 14 adds the substvar) translates the wheel's
Requires-Dist: serialx[esphome]>=1.2.0; /usr/share/dh-python/dhpython/pydist.pyguess_dependencyfalls back todpkg -Son the installed dist-info, and python3-serialx is installed at build time via Build-Depends-Indep, sopython3-serialxis generated. This is not a missing dependency. - The
serialx[esphome]extra's aioesphomeapi is ignored by dh_python3's extras handling; Debian's python3-serialx also does not depend on python3-aioesphomeapi, so the base RS-232 API is complete and nothing shipped by Debian is missing. - Compat level 14, supported and not deprecated by debhelper 14.5;
dh-sequence-single-binaryis provided by debhelper 14.5 and is required explicitly at 14 for a single-binary source;dh-sequence-python3+pybuild-plugin-pyproject+python3-uv-build(0.9.17 in the archive) build the project since dh-python builds with--skip-dependency-check --no-isolation, so theuv_build>=0.11.16backend pin is not enforced. - pybuild selects
--test-pytestbecause python3-pytest is in Build-Depends-Indep (read /usr/share/perl5/Debian/Debhelper/Buildsystem/pybuild.pm, which reads Build-Depends{,-Indep}); the suite's other needs (pytest-asyncio forasyncio_mode = "auto", serialx) are present. - Testsuite: autopkgtest-pkg-pybuild needs no debian/tests/control: autodep8 supplies the test (read
needs_autodep8in /usr/share/autopkgtest/lib/testdesc.py). - Standards-Version 4.7.4 against Policy 4.7.4.1: current.
- Changelog: 1.3.0-1 matches upstream 1.3.0, distribution unstable, valid RFC 2822 date, closes the ITP; debian/rules is the plain pybuild invocation; no debian/patches, so no DEP-3 headers to check; no maintainer scripts; source format 3.0 (quilt) with the upstream tarball present as listed in the .dsc.
- The .dsc's fields match debian/control and debian/changelog (version, maintainer, uploaders, build dependencies).
- uscan found the packaged version as the newest upstream release (upstream
1.3.0, packaged1.3.0).
Not confirmed ◂
- Could not run pytest (not installed on the reviewing system) to observe exactly how 9.1.1 reports the
timeoutoption without pytest-timeout; the issue assumes it is ignored as an unknown config option rather than an error, which is also what a successful maintainer build implies. - Did not compare the unpacked tree byte for byte with the orig and debian tarballs (the archive reader only listed their top-level directories); no unexpected files appeared in the tree apart from quilt's .pc, which these instructions exclude.
Proposed changes ◂
None.
Uploader's response to the LLM review
The uploader was emailed about the review 0 hours ago.
Are you a maintainer or uploader of this package? Log in with Salsa to comment on the review.