Review: python-frictionless 5.21.0-1
Package Information
| Description | data management framework for Python Data management framework for Python that provides functionality to describe, extract, validate, and transform tabular data (DEVT Framework). It supports a great deal of data sources and formats, as well as provides popular platforms integrations. The framework is powered by the lightweight yet comprehensive Frictionless Standards. |
|---|---|
| Maintainer | Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org> |
| Changed By | Andreas Tille <tille@debian.org> |
| Sponsor | tille@debian.org |
| Distribution | unstable |
| Architecture | all |
| VCS | git: https://salsa.debian.org/med-team/python-frictionless.git (browse) |
| Closes | #1155568 |
| Tracker | https://tracker.debian.org/pkg/python-frictionless |
| Uploaded | 5 days ago |
New Package Report
.changes
| Version | 5.21.0-1 |
|---|---|
| Changed-By | Andreas Tille <tille@debian.org> |
| Architecture | source all |
| Distribution | unstable |
| Date | Sat, 28 Nov 2026 07:49:48 +0100 |
| Source | python-frictionless |
Changelog
python-frictionless (5.21.0-1) unstable; urgency=medium . * Initial release (Closes: #1155568)
.dsc
| Section | python |
|---|---|
| Priority | optional |
| Component | main |
| Package-List | python3-frictionless deb python optional arch=all |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: python-frictionless
Upstream-Contact: Frictionless Data
Source: https://github.com/frictionlessdata/frictionless-py
Files: *
Copyright: 1998 Adobe Acrobat 6.0
1998 Delphine Defforey
1998 Evgeny Karev
1998 Hewlett-Packard Company
1998 Jesper Zedlitz
1998 Microsoft Office User
2020 Open Knowledge Foundation <info@okfn.org>
License: Expat
Files: frictionless/vendors/stringcase.py
Copyright: 2015 Taka Okunishi
License: Expat
Files: debian/*
Copyright: 2026 Andreas Tille <tille@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 1 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 5 days ago.
Report
DFSG NEW review for python-frictionless version 5.21.0-1
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: No - Packaging is of good quality: Yes
- Issues: 1 blocker, 0 important, 3 minor
- debian/watch: version 5
- debian/copyright: machine-readable
- Scan before the review: 54 found (2 not listed by the scan, so not checked)
Licensing
The licensing itself is DFSG-free: the tree is Expat/MIT throughout (LICENSE.md, plus the vendored stringcase.py, whose own MIT notice for Taka Okunishi is recorded), and the licence text is included in debian/copyright. debian/copyright is nevertheless not accurate: the Files: * Copyright field asserts six parties with the year 1998, entries that are plainly harvested from test-document metadata ("Adobe Acrobat 6.0" is the producer string of data/document.pdf, created in 2009; "Microsoft Office User" is an Excel placeholder), so it misstates who holds copyright in the source, whose real notice is Copyright © 2020 Open Knowledge Foundation.
Packaging
Competent initial packaging: debhelper compat 14 (the recommended level) with pybuild/hatchling and one arch:all binary, runtime Depends complete against pyproject's dependency list, test-only Build-Depends correctly marked <!nocheck> (dh skips override_dh_auto_test under nocheck at this level), a DEP-3 patch, salsa CI, matching version in settings.py, and Standards-Version 4.7.4 against Policy 4.7.4.1. Only minor points remain: a vendored copy of stringcase although python3-stringcase is in Debian (Policy 4.13), the marko removal leaving description_html/description_text silently empty with their tests deselected, and python3-tatsu suggested for a WKT feature upstream documents as not working on Python 3.10+.
Issues
blocker licensing 1. Files: * copyright lists document metadata ('1998 Adobe Acrobat 6.0', '1998 Microsoft Office User') as copyright holders ◂
- Files:
debian/copyright:7-13,data/document.pdf - Basis: checked, in the package or with a reference tool
- Evidence:
Copyright: 1998 Adobe Acrobat 6.0 / 1998 Delphine Defforey / 1998 Evgeny Karev / 1998 Hewlett-Packard Company / 1998 Jesper Zedlitz / 1998 Microsoft Office User / 2020 Open Knowledge Foundation <info@okfn.org>;LICENSE.md:Copyright ©2020Open Knowledge Foundation``;data/document.pdfcontains/Creator(Adobe Acrobat 6.0)/Producer(Adobe Acrobat 6.0 Image Conversion Plug-in)and/CreationDate(D:20090311205241+03'00'). - Problem: The Copyright field of the catch-all stanza was evidently generated from metadata inside the test documents: "Adobe Acrobat 6.0" is the PDF producer string of
data/document.pdf(created 2009, not 1998), "Microsoft Office User" is a default Excel creator name, and the six 1998 entries name entities that are not authors of this source. The result states a false copyright holder and date for every file, while the actual upstream notice is the Open Knowledge Foundation's 2020 one. Policy 12.5 requires the package's copyright information; a Copyright field that misattributes the source is inaccurate. - Fix: Delete the six metadata-derived entries and keep only
2020 Open Knowledge Foundation <info@okfn.org>(plus the existingTaka Okunishianddebian/*stanzas). If a particular test document really has a third-party author, credit it under its ownFiles: data/...stanza with the licence that applies.
minor packaging 2. Vendored copy of stringcase is used although python3-stringcase is in the archive (Policy 4.13) ◂
- Files:
frictionless/vendors/stringcase.py:24-31,frictionless/helpers/general.py:20,frictionless/metadata/metadata.py:32 - Basis: checked, in the package or with a reference tool
- Evidence:
# The "stringcase" package appears to unmaintained…# Code here was copied from the 1.2.0 version uploaded to PyPI;python3-stringcase 1.2.0~git20230617.57aae96-2is in the reviewing system's package lists (apt-cache). - Problem: The vendored module is a convenience copy of code Debian already ships as
python3-stringcase(samesnakecase/camelcase/lowercase/uppercaseAPI, same MIT notice). Policy 4.13 says the binary package should reference the library already in Debian instead of using the copy; the copy is also reformatted/typed, so the two will drift. - Fix: Depend on
python3-stringcaseand import the packagedstringcasemodule (from stringcase import snakecase, camelcaseinfrictionless/helpers/general.pyandfrictionless/metadata/metadata.py), then dropfrictionless/vendors/stringcase.py; if a behavioural difference is really required, keep a minimal patch to the packaged module and say why.
minor packaging 3. Removing the marko dependency silently disables description_html/description_text and 15 covering tests are deselected ◂
- Files:
debian/patches/marko-not-packaged-for-debian.patch:1-12,debian/rules:10-17,frictionless/metadata/metadata.py:126-135 - Basis: checked, in the package or with a reference tool
- Evidence: The patch removes
"marko>=1.0"fromdependencies;metadata.py:try: html = platform.marko.convert(description) ... except Exception: return "";debian/rules:-k '... and not test_html_parser and not description_html and not description_text ...'. The tests infrictionless/package/__spec__/test_general.py:222-243,resource/__spec__/test_general.py:148-175andschema/__spec__/field/test_general.py:68-97therefore never run at build time. - Problem: marko is a declared upstream runtime dependency, not an optional extra. With the patch applied,
description_htmlanddescription_textalways return an empty string (the ImportError is swallowed byexcept Exception), and the tests that would reveal this are excluded from the build's test run, so the shipped package has a broken public API with nothing recording it. (The dependency itself is not in Debian, so the patch is understandable.) - Fix: Either package marko (ITP) or patch
metadata.pyto a packaged Markdown renderer (e.g.python3-markdown), and keep the description tests running; if the feature is to be shipped disabled, document it in adebian/README.Debianinstead of only deselecting its tests.
minor packaging 4. Suggests python3-tatsu and a test Build-Depends for a WKT feature upstream documents as broken on Python 3.10+ ◂
- Files:
debian/control:84-86,debian/rules:12,docs/fields/string.md:11,pyproject.toml:102 - Basis: checked, in the package or with a reference tool
- Evidence:
docs/fields/string.md:- wkt (doesn't work in Python3.10+);pyproject.toml:wkt = ["TatSu>=5.8.3,<5.15"]while the archive haspython3-tatsu 5.24.0;debian/rulesdeselects everywkttest (and not wkt), so no test exercisesfrictionless/vendors/wkt/parser.py. - Problem: The package suggests
python3-tatsuas the way to enable the WKT string format, but upstream says that format does not work on Python 3.10+ — the only Pythons Debian ships now — and the generated parser is built for TatSu below 5.15, not the 5.24 in the archive. The suggestion therefore advertises a feature that is neither working nor tested, and the<!nocheck>Build-Depends onpython3-tatsuserves no test that runs. - Fix: Drop
python3-tatsufrom Suggests (and from Build-Depends if no test uses it), or verify the generated parser against Debian's TatSu version and re-enable thewkttests; if WKT is retained, state its limitation in the package description or README.Debian.
Verified ◂
- Read
debian/in full:control,rules,changelog,copyright,source/format,salsa-ci.yml,patches/seriesandpatches/marko-not-packaged-for-debian.patch; nodebian/tests/,debian/upstream/metadataorgbp.confexist. - Licence evidence:
LICENSE.mdis the Expat/MIT text withCopyright © 2020 Open Knowledge Foundation;frictionless/vendors/stringcase.pycarries its own MIT notice (Copyright (c) 2015 Taka Okunishi), whichdebian/copyrightrecords; a tree-wide grep forCopyright,SPDX-License-Identifier, GPL/LGPL/Apache/MPL/CC and "public domain" wording found no other notices or licence terms. frictionless/vendors/wkt/parser.pysays it is TatSu-generated and its generator inputfrictionless/vendors/wkt/grammar.txtis shipped in the same directory, so the preferred form for modification is present.- Prescan archives are all test fixtures under
data/, not built files:data/adjust-floating-point-error.xlsx,data/cast-int-to-string-issue-1251.xlsx,data/chunk1.csv.zip,data/chunk2.csv.zip,data/compression/explicit.csv.gz,data/compression/explicit.csv.zip,data/compression/implicit-gz.csv,data/compression/implicit-zip.csv,data/doublequote.csv.zip,data/fixtures/template.xlsx,data/innerpath.package.zip,data/issue-1024.xlsx,data/issue-312.xlsx,data/issue-313.xlsx,data/issue-320.xlsx,data/issue-870.xlsx,data/merged-cells.xlsx,data/multiline-headers.xlsx,data/number-format-multicode.xlsx,data/package-invalid.zip,data/package.zip,data/preserve-formatting-percentage.xlsx,data/preserve-formatting.xlsx,data/resource.zip,data/sheet2.xlsx,data/sheets.xlsx,data/skip-rows.xlsx,data/table-infer-boolean.xlsx,data/table-multiple-files.zip,data/table-output.ods,data/table-output.xlsx,data/table-with-booleans.ods,data/table-with-ints-floats-dates.ods,data/table-with-two-sheets.ods,data/table.csv.bz2,data/table.csv.gz,data/table.csv.xz,data/table.csv.zip,data/table.ods,data/table.xlsx, plus the two the scan did not list,data/without-rows.csv.zipanddata/zipped-resources/ogd10_catalogs.zip. The.xlsx/.odsfiles are Excel/ODS calendar-table inputs, the.csv.*files anddata/compression/implicit-*compression-detection inputs, and the*.package.zipfiles Frictionless Data Package fixtures;data/is not installed —debian/rulesonly copies it into the build tree viaPYBUILD_BEFORE_TESTso the tests find it. - Prescan binary data are test fixtures, not built files:
data/cast-int-to-string-issue-1251.xls,data/merged-cells-boolean.xls,data/merged-cells.xls,data/sheet2.xls,data/table-with-booleans.xls,data/table-with-ints-floats-dates.xlsanddata/table.xlsare legacy Excel inputs for the xlrd tests,data/sqlite.dbis a SQLite fixture anddata/table.parq,data/table.parquet,data/table-output.parqare PyArrow test data; none is installed. data/document.pdfis a test fixture forResource.describe(..., stats=True)(frictionless/resource/__spec__/test_describe.py:214) and is referenced byfrictionless/resource/__spec__/test_datatype.py:12; it is not documentation built from missing sources. Its/Creator(Adobe Acrobat 6.0)metadata is the origin of one of the bogus copyright entries.debian/controlruntime Depends match pyproject's dependency list (petl, attrs, jinja2, pyyaml, isodate, rfc3986, chardet, pydantic, requests, humanize, tabulate, jsonschema, referencing, simpleeval, typer, validators, python-slugify, python-dateutil, typing-extensions); only marko is deliberately dropped (patch).- Test-only Build-Depends are
<!nocheck>and compat 14 is correct for that: the debhelper tool (14.5) says dh skipsoverride_dh_auto_testundernocheckfrom compat 13, so thePYBUILD_TEST_ARGSoverride and its dependencies are consistently guarded. - Standards-Version 4.7.4 matches the reviewing system's Policy 4.7.4.1 (first two components);
debhelper-compat (= 14)is the recommended level;dh-sequence-single-binaryis provided by debhelper 14.5;python3-markois absent from the archive, which explains the patch. - Version consistency:
frictionless/settings.pyhasVERSION = "5.21.0", matching the upstream directory and the changelog;debian/changelogis a single5.21.0-1 unstableinitial release closing the ITP. - uscan found the packaged version as the newest upstream release (upstream
5.21.0, packaged5.21.0).
Not confirmed ◂
frictionless/assets/profiles/geojson.jsoncarries"id": "https://raw.githubusercontent.com/fge/sample-json-schemas/master/geojson/geojson.json#"andtopojson.jsonis in the same style; both are installed via the Python package butdebian/copyrightnames only the Open Knowledge Foundation. Whether a notice is required could not be determined: the fge/sample-json-schemas repository's licence is not recorded anywhere readable on the reviewing system and there is no network access.- Eight text files larger than 4 MiB (
data/construction.html,data/issue-1066.csv,data/table-5MB.csv,data/table-10MB.csv,data/table-5x100k.csv,data/table-10x100k.csv,data/table-10x10k.csvand a cassette) were scanned only for their first 4 MiB; no licence wording was found there, but they were not read in full. - Whether the TatSu-generated
frictionless/vendors/wkt/parser.pyactually works with Debian's tatsu 5.24.0 (upstream pins TatSu < 5.15) could not be tested; allwkttests are deselected and the package cannot be run in this review.
Proposed changes ◂
None.
Uploader's response to the LLM review
The uploader rejected this upload in response to the review.
Review Information
rejected — allocated to dfsg-uploader 5 days ago, started 5 days ago, completed 5 days ago.
Final Comment
The uploader rejected this upload in response to the automated (LLM) review of it, so that they can fix the problems it found and upload again.
The uploader said:
Argh
Other Reviews of this Package
| Version | Hash | Allocated | Completed | Reviewer | Status | Details |
|---|---|---|---|---|---|---|
| 5.21.0-1 | c59b9b9d… | 2026-11-28 15:35 | 2026-11-28 15:35 | dfsg-uploader | rejected | VIEW |
| 5.21.0-1 | 49f1fa48… | 2026-11-28 18:09 | 2026-11-28 18:09 | dfsg-uploader | rejected | VIEW |
| 5.21.0-1 | 25b28cf3… | 2026-11-30 01:08 | 2026-11-30 01:16 | eamanu | rejected | VIEW |
| 5.21.0-1 | d1f5bc02… | 2026-12-01 18:04 | 2026-12-01 18:05 | eamanu | accepted | VIEW |