Review: inventree-python 0.25.1-2
Package Information
| Description | Python interface for InvenTree inventory management system (Python 3) Python library for communication with the InvenTree parts management system using the integrated REST API. Provides a class-based interface for interacting with the database. Each database table is represented as a class object which provides features analogous to the REST CRUD endpoints (Create, Retrieve, Update, Destroy). This package installs the library for Python 3. |
|---|---|
| Maintainer | Debian Python Team <team+python@tracker.debian.org> |
| Changed By | Jakob Haufe <sur5r@debian.org> |
| Sponsor | sur5r@debian.org |
| Distribution | unstable |
| Architecture | all |
| VCS | git: https://salsa.debian.org/python-team/packages/inventree-python.git (browse) |
| Tracker | https://tracker.debian.org/pkg/inventree-python |
| Uploaded | 5 days ago |
| Supersedes | 0.25.0-1 |
New Package Report
.changes
| Source | inventree-python |
|---|---|
| Version | 0.25.1-2 |
| Changed-By | Jakob Haufe <sur5r@debian.org> |
| Architecture | source all |
| Distribution | unstable |
| Date | Wed, 18 Nov 2026 12:50:34 +0100 |
Changelog
inventree-python (0.25.1-2) unstable; urgency=medium . * Shorten binary package name
.dsc
| Section | python |
|---|---|
| Priority | optional |
| Component | main |
| Package-List | python3-inventree deb python optional arch=all |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Source: https://github.com/inventree/inventree-python Upstream-Name: inventree-python Upstream-Contact: https://github.com/inventree/inventree-python/ Files: * Copyright: 2019 InvenTree project License: Expat Files: debian/* Copyright: 2026 Jakob Haufe <sur5r@debian.org> License: Expat License: Expat 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 5 days ago.
Report
DFSG NEW review for inventree-python version 0.25.1-2
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
Everything in the tree is under the Expat (MIT) licence: upstream's LICENSE (Copyright (c) 2019 InvenTree) and debian/copyright agree, and the file is a correct DEP-5 document whose two stanzas (Files: * for upstream, Files: debian/* for Jakob Haufe) cover every file, with the full Expat text included. There is no vendored third-party code, no image, font, archive or other binary, no generated documentation and no patch, and the prescan found every holder named. No non-free terms anywhere.
Packaging
The packaging is clean and conventional: debhelper compat 14 with pybuild and dh-sequence-python3 (addon auto-loaded, checked in debhelper's Dh_Lib.pm), one Architecture: all package, runtime Depends generated by dh_python3 from the installed dist-info Requires-Dist (checked in dh-python's pydist.py), Build-Depends satisfying pyproject's setuptools>=75.3.2 and upstream's requests/urllib3 minimums, no patches, no maintainer scripts, current Standards-Version and Vcs-* fields, and a sane changelog. The single defect is that debian/tests/autopkgtest-pkg-python.conf is inert: debian/control does not declare Testsuite: autopkgtest-pkg-python, so autopkgtest does not use it and the package has no autopkgtest.
Issues
minor packaging 1. autopkgtest-pkg-python.conf is never used because debian/control lacks Testsuite: autopkgtest-pkg-python ◂
- Files:
debian/control,debian/tests/autopkgtest-pkg-python.conf - Basis: checked, in the package or with a reference tool
- Evidence: debian/tests/autopkgtest-pkg-python.conf:
import_name = inventree; the Source stanza of debian/control has noTestsuite:field, and there is no debian/tests/control. autodep8(1):autodep8 can be automatically called by autopkgtest. To achieve that, you must set the Testsuite: field in the source package paragraph to autopkgtest-pkg-TYPE. - Problem: Without
Testsuite: autopkgtest-pkg-pythonthe autodep8 python test is not generated for this source package, so the shipped configuration file has no effect and no autopackage test runs at all; the requested test (even the trivial import ofinventree) is not registered with the archive. - Fix: Add
Testsuite: autopkgtest-pkg-pythonto the Source stanza in debian/control (or provide an explicit debian/tests/control, e.g. via pybuild-autopkgtest).
Verified ◂
- Scan: the prescan's author check reports every holder found named in debian/copyright, and it listed no built files, minified code, PDFs or non-free wording.
- Read debian/copyright in full: DEP-5 format 1.0,
Files: *(2019 InvenTree project, Expat) andFiles: debian/*(2026 Jakob Haufe, Expat), full Expat text present; the empty-lookingFiles:/Copyright:fields followed by indented lines are the continuation style of copyright-format 5.2.1's own example. - LICENSE is the MIT text with
Copyright (c) 2019 InvenTree, consistent with theFiles: *stanza; pyproject'slicense = { file = "LICENSE" }matches. - Full file inventory (52 files) covered: only Python sources, YAML/TOML/INI config, Markdown, and the test data test/attachment.txt, test/dummytemplate.html, test/dummytemplate2.html (trivial upstream test fixtures); no binaries, images, fonts, vendored libraries or generated code.
- No debian/patches directory, so no patch-created files to account for; no debian/*.install, *.links, *.docs, *.maintscript or maintainer scripts.
- debian/source/format is
3.0 (quilt), debian/source/options only sets extend-diff-ignore for egg-info. - Runtime dependencies are not missing: dh_python3 parses the installed dist-info Requires-Dist (
requests>=2.27.0,urllib3>=2.3.0) into ${python3:Depends} (verified in /usr/share/dh-python/dhpython/pydist.py:parse_requires_dist and depends.py:Dependencies.parse). - dh-sequence-python3 in Build-Depends-Indep activates the python3 addon automatically (dh-sequence-* parsing in /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm:2149);
--with=single-binaryresolves to debhelper's Sequence/single_binary.pm, and explicit activation is the documented compat-14 route. - Build dependencies satisfy the declared minimums: python3-setuptools 84.2.0 (
setuptools >= 75.3.2), python3-requests 2.34.2 (>=2.27.0), python3-urllib3 2.8.0 (>=2.3.0); pybuild-plugin-pyproject pulls python3-build and python3-installer. - inventree/base.py:11 has
INVENTREE_PYTHON_VERSION = "0.25.1", matching the changelog's 0.25.1. - Standards-Version 4.7.4 against Policy 4.7.4.1 (first two components match); Vcs-Git/Vcs-Browser point at salsa.debian.org/python-team/packages/inventree-python.
- The -2 changelog entry's binary rename leaves no orphan: apt-cache finds neither python3-inventree nor python3-inventree-python in the archive or NEW, so no transitional package is needed.
- uscan found the packaged version as the newest upstream release (upstream
0.25.1, packaged0.25.1).
Not confirmed ◂
- No build or test run was possible in this read-only review; the build and dependency conclusions above rest on the package files and on the installed dh-python/debhelper sources, not on executing the build.
Proposed changes ◂
None.
Uploader's response to the LLM review
The uploader was emailed about the review 5 days ago.
Review Information
accepted — allocated to mechtilde 3 days ago, started 3 days ago, completed 3 days ago.
Final Comment
Other Reviews of this Package
| Version | Hash | Allocated | Completed | Reviewer | Status | Details |
|---|---|---|---|---|---|---|
| 0.25.0-1 | edef717c… | 2026-11-20 17:16 | 2026-11-20 17:16 | mechtilde | accepted | VIEW |