DFSG NEW Queue

DFSG, Licensing & New Packages Team

python-hatch-cython 0.6.0-1

Package Information

DescriptionCython build hooks for hatch

This package provides a build hook plugin for Hatch/hatchling, the Python project manager and build backend, that compiles Python and Cython sources of a project into C extension modules with Cython at build time. Compiler flags, include directories, macros, file inclusion/exclusion and per-platform settings are configured from pyproject.toml or hatch.toml.

MaintainerDebian Python Team <team+python@tracker.debian.org>
Changed ByRoland Mas <lolando@debian.org>
Sponsorlolando@debian.org
Distributionunstable
Architectureall
VCSgit: https://salsa.debian.org/python-team/packages/python-hatch-cython.git (browse)
Trackerhttps://tracker.debian.org/pkg/python-hatch-cython
Uploaded2 hours ago

New Package Report

.changes◂
DateWed, 02 Dec 2026 20:00:38 +0100
Sourcepython-hatch-cython
Version0.6.0-1
Changed-ByRoland Mas <lolando@debian.org>
Architecturesource all
Distributionunstable
Changelog◂
python-hatch-cython (0.6.0-1) unstable; urgency=medium
 .
   * Initial packaging.
.dsc◂
Sectionpython
Priorityoptional
Componentmain
Package-Listpython3-hatch-cython deb python optional arch=all
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: hatch-cython
Upstream-Contact: joshua-auchincloss <joshua.auchincloss@proton.me>
Source: https://github.com/joshua-auchincloss/hatch-cython

Files: *
Copyright: 2023-present joshua-auchincloss <joshua.auchincloss@proton.me>
License: Expat

Files: debian/*
Copyright: 2026 Roland Mas <lolando@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, 0 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-hatch-cython version 0.6.0-1

Summary

  • Licensing is DFSG-compliant and debian/copyright is accurate: Yes
  • Packaging is of good quality: Yes
  • Issues: 0 blocker, 0 important, 0 minor
  • debian/watch: version 5
  • debian/copyright: machine-readable
  • Scan before the review: nothing found

Licensing

debian/copyright is DEP-5 with the correct Format line, a Files: * stanza naming joshua-auchincloss under Expat with the full MIT text, and a later debian/* stanza for Roland Mas, also Expat. The same upstream author is the only holder in the tree: LICENSE.txt, README.md and pyproject.toml say MIT, src/ and the example projects under test_libraries/ carry matching SPDX MIT headers, and the three test_libraries LICENSE.txt files are MIT too (one dated 2024, same holder). Nothing is non-free, no third-party or vendored code is present, and no file lacks a licence.

Packaging

Minimal pybuild/hatchling packaging at debhelper compat 13, which debhelper neither deprecates nor discourages. Test-only build dependencies are correctly marked <!nocheck> because the package itself is pure Python, while ${python3:Depends} carries the runtime imports from the wheel's Requires-Dist through dh_python3's guess-deps (cython3, python3-hatchling, python3-setuptools). Testsuite: autopkgtest-pkg-pybuild is backed by autodep8's pybuild generator, Standards-Version 4.7.4 is current, and changelog, 3.0 (quilt) source format, the single DEP-3 patch and upstream/metadata are all in order.

Issues

None.

Verified ◂
  • Read debian/copyright in full: DEP-5, Format 1.0, Files: * (2023-present joshua-auchincloss, Expat) and Files: debian/* (2026 Roland Mas, Expat), the latter overriding the catch-all; the full Expat text is included.
  • Inventoried and grepped all 98 files outside .pc/ and debian/: the only licence notices are LICENSE.txt (full MIT/Expat text, joshua-auchincloss), README.md's License section saying MIT, SPDX-FileCopyrightText/SPDX-License-Identifier MIT headers in src/hatch_cython/* and in the test_libraries example projects, and test_libraries/{only_included,simple_structure,src_structure}/LICENSE.txt (MIT, the only_included one dated 2024). No other holder, no LICENSE/COPYING/NOTICE/AUTHORS file elsewhere, no non-commercial/no-modification/field-of-use wording.
  • pyproject.toml declares license = "MIT"; consistent with debian/copyright's Expat.
  • COVERAGE.md is a generated coverage table only; its inputs (src/ and tests/) are in the tree. No built binaries, bytecode, minified code, archives, PDFs or images are present.
  • debian/patches/0001-Reset-packaging-s-cached-marker-environment-when-fak.patch has DEP-3 headers (From/Date/Subject/Forwarded), changes only tests/utils.py, creates no files, and its added code falls under the debian/* Expat stanza. python3-packaging 26.3 is in the archive, so the packaging>=26 marker cache fix it addresses is real.
  • The prescan's author check listed no individual files; it reported that every holder found is named in debian/copyright, which I confirmed for both holders (joshua-auchincloss and Roland Mas).
  • Runtime imports are Cython (plugin.py, utils.py), hatchling (hooks.py, plugin.py, config/*) and packaging (config/platform.py), plus setuptools in the generated setup.py executed via subprocess.run(sys.executable, ...). Checked dh-python 7.20261030: options.py has guess_deps=True by default, depends.py feeds each installed dist-info/METADATA to parse_requires_dist, and /usr/share/dh-python/dist/cpython3_fallback maps cython->cython3, hatchling->python3-hatchling, setuptools->python3-setuptools; the typing_extensions marker python_version<'3.10' is SKIPped because MIN_PY_VERSION is [3,11]. So ${python3:Depends} is populated correctly and the missing explicit Depends entries are not a fault.
  • debhelper tool at compat 13: level 13 is supported and neither deprecated nor discouraged; dh_auto_test(1) NOTES state tests are skipped when DEB_BUILD_OPTIONS contains nocheck, so marking cython3/python3-numpy/python3-pytest/python3-setuptools/python3-toml/python3-all-dev <!nocheck> matches a pure-Python build that needs them only for the upstream tests.
  • Testsuite: autopkgtest-pkg-pybuild is supported: /usr/share/autodep8/support/pybuild/generate (selected by the Testsuite field in /usr/bin/autodep8) emits Test-Command pybuild-autopkgtest with Depends: @, pybuild-plugin-autopkgtest, @builddeps@; autopkgtest expands @builddeps@ from Build-Depends and installs it with apt-get satisfy. No debian/tests/control is required.
  • Standards-Version 4.7.4 matches the reviewing system's Policy 4.7.4.1 in its first two components. Changelog is 0.6.0-1, unstable, 'Initial packaging.'
  • debian/source/format is 3.0 (quilt) and patches/series lists the one patch; debian/source/options sets an egg-info/dist-info extend-diff-ignore (its unescaped dot is cosmetic and still matches real directories).
  • debian/pybuild.testfiles ('tests', 'test_libraries') is a supported pybuild input: dhpython/build/base.py copy_test_files reads debian/pybuild.testfiles and copies both existing directories into the build dir for the test step.
  • debian/upstream/metadata is valid DEP-12 with Bug-Database/Bug-Submit/Repository/Repository-Browse.
  • Every package named in Build-Depends was found in the reviewing system's package lists or as an archive build dependency: cython3, python3-hatchling, python3-setuptools, python3-packaging, python3-all, python3-all-dev, python3-numpy, python3-pytest, python3-toml, pybuild-plugin-pyproject (pulling python3-build and python3-installer) and dh-python 7.20261030.
  • uscan found the packaged version as the newest upstream release (upstream 0.6.0, packaged 0.6.0).
Not confirmed ◂
  • Nothing was built or run (read-only review); a clean unstable build and the upstream test suite are assumed to pass as stated in the review instructions.
  • No network access, so it could not be checked whether upstream already carries the tests/utils.py fix (the patch says Forwarded: no) or whether a newer upstream release exists.
Proposed changes ◂

None.

Uploader's response to the LLM review

The review found no issues, so no response is needed.

Back to Dashboard | View all reviews for this package