pytest-mock-resources 2.15.0-1
Package Information
| Description | pytest plugin for instantiating reproducible mock resources A pytest plugin to instantiate reproducible mock resources by managing Docker containers (such as Postgres) inside automated tests. |
|---|---|
| Maintainer | Debian Python Team <team+python@tracker.debian.org> |
| Changed By | Martin <debacle@debian.org> |
| Sponsor | debacle@debian.org |
| Distribution | unstable |
| Architecture | all |
| VCS | git: https://salsa.debian.org/python-team/packages/pytest-mock-resources.git (browse) |
| Closes | #1150008 |
| Tracker | https://tracker.debian.org/pkg/pytest-mock-resources |
| Uploaded | 2 hours ago |
New Package Report
.changes
| Source | pytest-mock-resources |
|---|---|
| Version | 2.15.0-1 |
| Changed-By | Martin <debacle@debian.org> |
| Architecture | source all |
| Distribution | unstable |
| Date | Sat, 05 Dec 2026 00:10:17 +0000 |
Changelog
pytest-mock-resources (2.15.0-1) unstable; urgency=medium . * New package (Closes: #1150008)
.dsc
| Section | python |
|---|---|
| Priority | optional |
| Component | main |
| Package-List | python3-pytest-mock-resources deb python optional arch=all |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: pytest-mock-resources
Upstream-Contact: Dan Cardin <ddcardin@gmail.com>
Source: https://github.com/schireson/pytest-mock-resources
Files: *
Copyright: Omar Khan <oakhan3@gmail.com>
Dan Cardin <ddcardin@gmail.com>
Gabriel Michael <gabriel.j.michael@gmail.com>
Prateek Pisat <pisatprateek12@gmail.com>
License: MIT
Files: debian/*
Copyright: 2026 Martin <debacle@debian.org>
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, 3 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 0 hours ago.
Report
DFSG NEW review for pytest-mock-resources version 2.15.0-1
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: No - Packaging is of good quality: Yes
- Issues: 0 blocker, 0 important, 3 minor
- debian/watch: absent
- debian/copyright: machine-readable
- Scan before the review: nothing found
Licensing
The source is entirely MIT-licensed and DFSG-free: the only licence notice in the tree is LICENSE, an MIT text, and debian/copyright reproduces the same MIT conditions under the correct short name. It is not complete, though: LICENSE names Known LLC as the 2020 copyright holder, and no stanza covers that holder. Because LICENSE is upstream's plain-text licence file rather than compiled code (and, if the wheel installs it, it keeps its own notice), Policy 2.3 does not require the notice to be copied, so the omission is minor rather than blocking.
Packaging
The packaging is straightforward and sound: dh at compat 13 with pybuild and pyproject/uv_build, a single Architecture: all Python package, ${python3:Depends} generated from the metadata, an established Testsuite: autopkgtest-pkg-pybuild that autodep8 turns into a pybuild-autopkgtest run with @builddeps@, current Standards-Version, and clean Vcs-*/Homepage fields. All Build-Depends names exist in the archive. The only defect is a minor one: sphinx-common is build-depended on although neither documentation nor man pages are built or installed.
Issues
minor licensing 1. debian/copyright does not name Known LLC, the copyright holder stated in LICENSE ◂
- Files:
debian/copyright:5-12,LICENSE:1 - Basis: checked, in the package or with a reference tool
- Evidence:
Copyright (c) 2020 Known LLC(LICENSE:1); the only stanzas areFiles: *naming Omar Khan, Dan Cardin, Gabriel Michael and Prateek Pisat, andFiles: debian/*. - Problem: LICENSE is the only copyright notice in upstream's tree and names a holder that debian/copyright omits, so the copyright file does not completely describe the licensing of the source. LICENSE is not compiled into the shipped code and is either installed unchanged as plain text with its notice intact or not installed at all, so Policy 2.3 does not require the notice to be copied into /usr/share/doc; the DFSG team nevertheless asks for a complete debian/copyright, hence minor.
- Fix: Add a
Files: LICENSEstanza afterFiles: *withCopyright: 2020 Known LLCandLicense: MIT.
minor packaging 2. Build-Depends on sphinx-common is unused ◂
- Files:
debian/control:10,debian/rules:14 - Basis: checked, in the package or with a reference tool
- Evidence:
sphinx-common,in Build-Depends; rules is only%: dh $* --with python3 --buildsystem=pybuild, and debian/ contains no docs/install overrides and there is no debian/docs. - Problem: Nothing in the build invokes Sphinx: pybuild builds only the Python wheel, docs/ is neither built nor installed, and dh_sphinxdoc (enabled because sphinx-common Provides dh-sequence-sphinxdoc) has nothing to act on. The dependency only lengthens the build and pulls Sphinx data into every build chroot.
- Fix: Drop
sphinx-commonfrom Build-Depends.
minor packaging 3. There is no debian/watch ◂
- Files:
debian/watch - Basis: found by the review tooling's own checks
- Problem: Without a watch file new upstream releases are not noticed by uscan, the tracker or the maintainer's tools.
- Fix: Add a
debian/watchin version 5 format, or, if upstream has no usable release channel, one holding a comment that says so.
Verified ◂
- Read all five files of debian/ (changelog, control, rules, copyright, source/format) and the full upstream tree listing (119 files, excluding .pc/).
- Grepped the entire tree, including .github/, docs/, tests/ and uv.lock, for Copyright/(C)/©/SPDX/Licensed under/Permission is hereby granted/GNU/Apache/MPL/public domain/All rights reserved: the only notice anywhere is LICENSE:1 and the licence text itself; no per-file headers or additional holders.
- debian/copyright is DEP-5 with the correct Format URL; its MIT text matches LICENSE and the short name MIT is right; Files: * and debian/* cover every upstream path, and LICENSE is mentioned in the report.
- No non-free clauses (non-commercial, no-modification, field-of-use) found.
- No built artifacts, bytecode, minified code, PDFs, images, fonts or generated code without input; no debian/patches (quilt series empty).
- Packaging: compat 13, pybuild/uv_build, Architecture: all, ${misc:Depends}/${python3:Depends}; Source/Homepage/Vcs-* consistent; changelog version 2.15.0-1 and unstable distribution sane.
- Testsuite: autopkgtest-pkg-pybuild is a valid autodep8 type (autodep8(1) lists pybuild; support/pybuild/generate emits pybuild-autopkgtest with @builddeps@); pybuild-autopkgtest runs the build-time test suite. No debian/tests/control is needed for it.
- Every Build-Depends name resolves: debhelper-compat (= 13), dh-python (provides dh-sequence-python3), pybuild-plugin-pyproject, python3-all-dev, python3-pytest-asyncio 1.4.0-3, python3-pytest-mock 3.15.1-2, python3-sqlalchemy 2.0.52+ds1-1, python3-uv-build 0.9.17+ds1-9, sphinx-common 9.2.0-2.
- Standards-Version 4.7.4 matches Policy 4.7.4.1 in its first two components.
- The LICENSE holder check from the prescan is accounted for in the licensing issue; nothing else the scan listed remains unaddressed.
Not confirmed ◂
- pyproject.toml declares build-system.requires
uv_build>=0.9.25, while the reviewing system's package lists have python3-uv-build 0.9.17+ds1-9; dh-python's PEP517 plugin passes --skip-dependency-check, so the build does not verify this and only an actual build shows whether 0.9.17 handles the file. This is a risk, not a confirmed failure. - uv.lock (924 KB) was searched for notices but not read line by line; it is a text lock file and showed no copyright or licence wording.
- The Docker-backed fixtures import python_on_whales and filelock from pyproject's optional extras; python3-python-on-whales is not in the reviewing system's package lists, so whether Debian users can install that backend could not be checked (the sqlite fixtures need neither).
Proposed changes ◂
None.
Uploader's response to the LLM review
The uploader hasn't responded yet, and is welcome to at any time.
Are you a maintainer or uploader of this package? Log in with Salsa to comment on the review.