DFSG NEW Queue

DFSG, Licensing & New Packages Team

python-petl 1.7.33-1

Package Information

DescriptionExtracting, transforming and loading tables of data

Petl is a general purpose Python package for extracting, transforming and loading tables of data.

MaintainerDebian Python Team <team+python@tracker.debian.org>
Changed ByLester Guerzon <lester@guerzon.net>
Sponsorjcfp@debian.org
Distributionunstable
Architectureall
VCSgit: https://salsa.debian.org/python-team/packages/python-petl.git (browse)
Popcon Installs1
Binary NEWYes (new binary packages of a source already in sid)
Trackerhttps://tracker.debian.org/pkg/python-petl
Uploaded5 hours ago

New Package Report

.changes◂
DateThu, 19 Nov 2026 13:50:40 +0000
Sourcepython-petl
Version1.7.33-1
Changed-ByLester Guerzon <lester@guerzon.net>
Architecturesource all
Distributionunstable
Changelog◂
python-petl (1.7.33-1) unstable; urgency=medium
 .
   [ Lester Guerzon ]
   * New upstream version 1.7.33
   * New patch to fix corrupted terminal when running tests
   * Run nocheck profile in CI
   * d/u/metadata: add documentation URL
   * Reflow control files
   * Add sphinx docs
   * Add missing manpage for petl command
 .
   [ Jeroen Ploemen ]
   * Examples: install into documentation package.
.dsc◂
Sectiondoc
Priorityoptional
Componentmain
Package-Listpython-petl-doc deb doc optional arch=all
python3-petl deb python optional arch=all
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: petl
Upstream-Contact: petl developers <python-etl@googlegroups.com>
Source: https://github.com/petl-developers/petl

Files: *
Copyright:
 2012-2024 Alistair Miles
License: Expat

Files: petl/io/xlutils_view.py
Copyright: 2013 Simplistix Ltd
License: Expat

Files: debian/*
Copyright: 2024-2026 Boyuan Yang <byang@debian.org>
	   2026 Lester Guerzon <lester@guerzon.net>
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

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 3 hours ago.

Report◂

DFSG NEW review for python-petl version 1.7.33-1

Summary

  • Licensing is DFSG-compliant and debian/copyright is accurate: No
  • Packaging is of good quality: Yes
  • Issues: 1 blocker, 0 important, 1 minor; 1 more from the model's own knowledge, under Not confirmed
  • debian/watch: version 5
  • debian/copyright: machine-readable
  • Scan before the review: 2 found

Licensing

All the code is under the Expat/MIT licence and there are no non-free terms, so the licensing is DFSG-compliant; the two test fixtures are ordinary data, not separate works. debian/copyright is DEP-5 and mostly accurate, but it does not record the csvkit copyright for petl/io/db_create.py, which its own docstring says is based on csvkit's csvsql and which ships in python3-petl. It also describes CODE_OF_CONDUCT.md, adapted from the Contributor Covenant, as Expat.

Packaging

The packaging is well made: compat 14 with pybuild and dh-sequence-python3, Sphinx documentation installed through dh_sphinxdoc, examples and a generated man page, a DEP-3 quilt patch, a non-trivial autopkgtest with a nocheck CI build, current Standards-Version and Vcs fields. Two small points: the man page is listed in the prefix-less debian/manpages (deprecated at compat 14), and the source tarball has no SCM metadata for setuptools-scm, which may make a clean-chroot build fail (see Not confirmed).

Issues

blocker licensing 1. debian/copyright does not name the csvkit copyright for petl/io/db_create.py, which is based on csvkit's csvsql ◂
  • Files: petl/io/db_create.py:7-8, debian/copyright:6-9
  • Basis: inferred from what was read, not seen directly
  • Evidence: Acknowledgments: much of the code of this module is based on the ``csvsql`` utility in the csvkit https://github.com/onyxfish/csvkit_ package. The only copyright given for the module is the catch-all Files: * / Copyright: 2012-2024 Alistair Miles / License: Expat.
  • Problem: The module is derived from csvkit's csvsql (csvkit is MIT-licensed, copyright Christopher Groskopf), and the Expat condition quoted in this same copyright file (The above copyright notice and this permission notice shall be included in all copies or substantial portions) requires that notice to be retained. Neither the module nor debian/copyright contains any csvkit notice or holder. petl/io/db_create.py is installed in python3-petl, so under Policy 2.3 the notice of a file whose licence requires it must be reproduced in debian/copyright; the file is therefore not accurately described.
  • Fix: Add a Files: petl/io/db_create.py stanza naming the csvkit authors (Christopher Groskopf) and License: Expat, and note the derivation from csvkit's csvsql; ask upstream to keep the csvkit notice in the module itself.
minor packaging 2. Man page is listed in prefix-less debian/manpages, which debhelper 14 deprecates and compat 15 rejects ◂
  • Files: debian/manpages:1
  • Basis: checked, in the package or with a reference tool
  • Evidence: debian/manpages contains only debian/petl.1; dh_installman's man page documents only debian/package.manpages, and Dh_Lib's pkgfile() warns The use of prefix-less debhelper config files is deprecated (and will error at compat 15) when such a file is found for the main package and there is more than one binary package.
  • Problem: The file is found for python3-petl only through debhelper's undocumented main-package fallback; every build emits deprecation warnings, and the man page would silently stop being installed if the package were later built at compat 15.
  • Fix: Rename debian/manpages to debian/python3-petl.manpages.
Verified ◂
  • Read all of debian/ in full: control, rules, changelog, copyright, source/format, clean, manpages, help2man.include, python-petl-doc.{docs,examples,doc-base}, gbp.conf, salsa-ci.yml, upstream/metadata, tests/control, tests/upstream-tests, patches/series and the single patch.
  • debian/copyright is DEP-5 1.0 with three Files stanzas and a stand-alone Expat License paragraph; petl/io/xlutils_view.py's Simplistix Ltd / MIT notice is matched by its own stanza; the full Expat text is included.
  • Grepped the whole tree (234 files, .pc/ excluded) for Copyright, (C), ©, SPDX-License-Identifier, MIT/BSD/GPL/LGPL/Apache/MPL, public domain and all rights reserved: only LICENSE.txt, docs/conf.py and petl/io/xlutils_view.py carry notices; no non-free wording and no additional vendored licence files.
  • petl/test/resources/test.xls (BIFF binary) and test.xlsx (OOXML zip) are read-only fixtures used by petl/test/io/test_xls.py and test_xlsx.py, and test.xml is the XML fixture; they carry no notice and are covered by Files: *.
  • docs/petl-architecture.png is the architecture diagram referenced from docs/index.rst; it is covered by Files: * and was not opened.
  • The quilt patch only edits petl/test/io/test_sources.py; it has a DEP-3 header (Description, Author, Forwarded, Last-Update) and its new fixture uses io, which the test file already imports.
  • python3-petl has no Depends field; at compat 14 dh_gencontrol adds the relationship substvars (python3:Depends) itself; python-petl-doc's libjs-sphinxdoc comes from dh_sphinxdoc the same way.
  • Standards-Version 4.7.4 against Policy 4.7.4.1 (current); Vcs-Git/Vcs-Browser present; changelog version 1.7.33-1 to unstable is consistent and the Topmost date is correct.
  • Build-Depends names all exist in apt-cache: python3-sphinx-issues 6.0.0, pybuild-plugin-pyproject 7.20261030, python3-setuptools-scm 9.2.2; python3-sphinx depends on sphinx-common, which supplies dh_sphinxdoc for --with sphinxdoc.
  • No <!nocheck> dependency is used outside the tests: petl imports numpy, pandas, lxml, openpyxl and SQLAlchemy lazily inside functions (heads of petl/io/{numpy,pandas,xml,xlsx,xls,db,remotes,pytables,bcolz,avro,whoosh,gsheet}.py checked), and docs/conf.py only imports petl, so the wheel and Sphinx steps run without them under nocheck.
  • help2man's PYTHONPATH points at pybuild's versioned install directory (/usr/lib/python3.X/dist-packages), which exists between dh_auto_install and dh_python3's move to /usr/lib/python3/dist-packages (checked in /usr/share/dh-python/pybuild); the later test-directory removal uses the post-dh_python3 path.
  • debian/tests/control declares the test and its dependencies, and upstream-tests copies petl/test into AUTOPKGTEST_TMP and symlinks it into the installed petl package so the tests import the installed library.
  • uscan found the packaged version as the newest upstream release (upstream 1.7.33, packaged 1.7.33).
Not confirmed ◂
  • A clean-chroot build may fail before setuptools-scm can determine a version: the orig tarball is a GitHub commit archive (top directory petl-developers-petl-d97749f) with no .git, PKG-INFO or petl/version.py, setup.py uses use_scm_version with no fallback_version, and debian/rules sets no SETUPTOOLS_SCM_PRETEND_VERSION. dh_auto_build would then fail, and the following Sphinx step would too, because docs/conf.py imports petl (petl/init.py imports petl.version). A maintainer's gbp build in the git checkout would not show this; a clean sbuild would.
  • petl/test/resources/test.xls and test.xlsx were not opened (binary), so any embedded creator/author metadata could not be checked.
  • docs/petl-architecture.png was not opened and no editable source for the diagram is in the tree, so whether a preferred form for modification exists could not be checked.
  • The Policy-shipped autopkgtest specification does not list needs-sudo among defined restrictions (and defines no Features at all, so it is not current); autopkgtest is not installed on this system, so I could not confirm that debci recognises the needs-sudo restriction used in debian/tests/control. If it does not, the test is skipped.
  • Whether this is a fault: Files: * describes CODE_OF_CONDUCT.md as Expat, but it is adapted from the Contributor Covenant (CC BY 4.0). The model reported it as an important licensing issue from its own knowledge of something outside the package, which it did not check with a tool, so it is not counted among the issues. Files: CODE_OF_CONDUCT.md:117, debian/copyright:6-9.
    Evidence: This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0; debian/copyright has Files: * / Copyright: 2012-2024 Alistair Miles / License: Expat.
    Problem: Contributor Covenant 2.0 is published under CC BY 4.0. The file reproduces and adapts that text, so its licence and the Contributor Covenant's copyright holder are not Expat/Alistair Miles. CC BY 4.0 is DFSG-free, so this does not make the package non-free, but debian/copyright states the wrong licence and omits the original holder. I did not verify the Contributor Covenant's licence from the package; a sponsor check should confirm it.
    Fix: Add a Files: CODE_OF_CONDUCT.md stanza with the Contributor Covenant copyright holder and License: CC-BY-4.0, and include the CC BY 4.0 text (it is not in /usr/share/common-licenses).
  • Why the model asked for what a review has no use for. During this review it asked once for something outside the package and the reviewing system (another file of the sandbox, or a URL), or was given part of the review tooling's own configuration, and that was refused or withheld. A model does this when something it has read tells it to, so look in the package for text addressed to a reviewing program, and treat this report with suspicion. Refused: read: "xd://read/sources" is not a file of the package or of the reviewing system.
Proposed changes ◂

None.

Uploader's response to the LLM review

Waiting for the uploader's response until , because the review found serious issues.

Back to Dashboard | View all reviews for this package