Reviews for python-locationsharinglib
All reviews for this package from team members (across all versions).
| Reviewer | Version | Allocated | Started | Status | Completed | Comment | |
|---|---|---|---|---|---|---|---|
| awm | 5.0.3-1 | 1 month, 23 days ago | 1 month, 23 days ago | accepted | 1 month, 23 days ago | Hi, Some pedantica packaging issues you might want to review... Packaging quality 1. pybuild-plugin-pyproject declared but no pyproject.toml exists. debian/control:11 depends on pybuild-plugin-pyproject, yet the tarball has only legacy setup.py/setup.cfg (no pyproject.toml anywhere). The plugin is unused/inconsistent with the actual build system. 2. override_dh_auto_test is empty (debian/rules:10-11) it contains only a comment and never calls dh_auto_test, so the test suite is silently skipped. The rationale comment ("only an empty test scaffold") is only roughly accurate: tests/test_locationsharinglib.py does define a BetamaxTestCase class, just with no test methods. Combined with the <!nocheck> test-only Build-Depends (betamax, pytest, cachetools, coloredlogs, pytz) that are then never exercised, this means autopkgtest-pkg-python runs nothing meaningful. 3. Docs build isn't gated on nodoc. debian/rules:8 unconditionally runs sphinx-build, while the sphinx/rtd-theme Build-Depends are marked <!nodoc> (debian/control:21-22). Building with dpkg-buildpackage -Pnodoc would still attempt the docs build and fail. 4. _version.py fallback is incomplete (minor). The Debian patch (debian/patches/dgit-changes) adds from importlib.metadata import version and catches only FileNotFoundError before it. When no .VERSION is present and the package isn't installed as a distribution, version('locationsharinglib') raises PackageNotFoundError (uncaught). Fine in the Debian-installed case, but fragile. Thanks! | View |