DFSG NEW Queue

DFSG, Licensing & New Packages Team

Review: python-locationsharinglib 5.0.3-1

Package Information

Descriptionlibrary for retrieving shared locations from Google Maps

This library uses exported Google account cookies to access locations shared with that account through Google Maps. It provides coordinates, timestamps, addresses and location accuracy, along with battery level and charging status when available. People and their coordinates can be retrieved by full name or nickname.

MaintainerHome Assistant Team <team+homeassistant@tracker.debian.org>
Changed ByEdward Betts <edward@4angle.com>
Sponsoredward@debian.org
Distributionunstable
Architectureall
VCSgit: https://salsa.debian.org/homeassistant-team/deps/python-locationsharinglib.git (browse)
Closes#1149358
Trackerhttps://tracker.debian.org/pkg/python-locationsharinglib
Uploaded23 days ago

New Package Report

.changes◂
Distributionunstable
DateTue, 29 Sep 2026 16:45:48 +0100
Sourcepython-locationsharinglib
Version5.0.3-1
Changed-ByEdward Betts <edward@4angle.com>
Architectureall source
Changelog◂
python-locationsharinglib (5.0.3-1) unstable; urgency=medium
 .
   * Initial release. (Closes: #1149358)
.dsc◂
Sectionpython
Priorityoptional
Componentmain
Package-Listpython3-locationsharinglib deb python optional arch=all
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: locationsharinglib
Upstream-Contact: Costas Tyfoxylos <costas.tyf@gmail.com>
Source: https://github.com/costastf/locationsharinglib

Files: *
Copyright: 2017 Costas Tyfoxylos
License: MIT

Files: _CI/*
Copyright: 2018 Costas Tyfoxylos
License: MIT

Files: _CI/library/core_library.py
Copyright: 2018 Costas Tyfoxylos
           2004 Michael Foord
License: MIT

Files: _CI/library/patch.py
Copyright: 2008-2016 anatoly techtonik
License: MIT

Files: _CI/scripts/lock.py
Copyright: 2019 Ilija Matoski
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.

Review Information

accepted — allocated to awm 21 days ago, started 21 days ago, completed 21 days ago.

Final Comment

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.

  1. 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.

  1. 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.

  1. _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!

Back to Dashboard | View all reviews for this package