DFSG NEW Queue

DFSG, Licensing & New Packages Team

Review: python-frictionless 5.21.0-1

Package Information

Descriptiondata 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.

MaintainerDebian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
Changed ByAndreas Tille <tille@debian.org>
Sponsortille@debian.org
Distributionunstable
Architectureall
VCSgit: https://salsa.debian.org/med-team/python-frictionless.git (browse)
Closes#1155568
Trackerhttps://tracker.debian.org/pkg/python-frictionless
Uploaded7 days ago

New Package Report

.changes◂
Distributionunstable
DateSat, 28 Nov 2026 07:49:48 +0100
Sourcepython-frictionless
Version5.21.0-1
Changed-ByAndreas Tille <tille@debian.org>
Architecturesource all
Changelog◂
python-frictionless (5.21.0-1) unstable; urgency=medium
 .
   * Initial release (Closes: #1155568)
.dsc◂
Sectionpython
Priorityoptional
Componentmain
Package-Listpython3-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
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, 3 important, 4 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 7 days ago.

Report◂

DFSG NEW review for python-frictionless version 5.21.0-1

Summary

  • Licensing is DFSG-compliant and debian/copyright is accurate: No
  • Packaging is of good quality: No
  • Issues: 1 blocker, 3 important, 4 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

Upstream is MIT (LICENSE.md, © 2020 Open Knowledge Foundation), and the single vendored file (frictionless/vendors/stringcase.py, © 2015 Taka Okunishi) has its own correctly written stanza and the Expat text is included; no non-free terms exist in the tree. But debian/copyright's Files: * Copyright field is inaccurate: it lists document/spreadsheet metadata (Adobe Acrobat 6.0, Microsoft Office User, Hewlett-Packard Company) as copyright holders, dates every entry 1998, and asserts MIT for the third-party data/document.pdf whose attribution appears nowhere else. The file therefore does not accurately record the copyright of the source.

Packaging

The packaging (pybuild/hatchling, arch: all, one binary, DEP-3 patch, current Standards-Version) is structurally sound, but the dependency fields are wrong: Depends installs the pytest stack, moto, requests-mock and hatchling, omits the directly imported python3-jinja2 and python3-chardet (only present transitively), and hard-depends every upstream optional extra. WKT tests are disabled against a python3-tatsu outside upstream's declared range, the marko patch is ineffective while description_html silently returns empty, and there is no autopkgtest.

Issues

blocker licensing 1. debian/copyright names Adobe Acrobat 6.0, Microsoft Office User and Hewlett-Packard Company as copyright holders ◂
  • Files: debian/copyright:6-14
  • 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
  • Problem: These are document-metadata values, not copyright notices: Adobe Acrobat 6.0 is the Producer recorded in data/document.pdf (whose CreationDate is D:2009...), Microsoft Office User is the default author stored in the .xls fixtures, and Hewlett-Packard Company is a spreadsheet Company field; none of them appears in any copyright notice in the tree (Delphine Defforey, Hewlett-Packard Company, Microsoft Office User occur only in debian/copyright). Every entry is also dated 1998 although the PDF dates from 2009 and the upstream project from 2020. Policy 12.5 requires the copyright file to record the actual copyright information, so the file is inaccurate.
  • Fix: Replace the Files: * Copyright with 2020 Open Knowledge Foundation; if individual fixture authors are to be credited, give them separate Files: stanzas with the author and year taken from the file itself, not from its document metadata.
important licensing 2. data/document.pdf is a third-party PDF with no licence statement and a mis-dated attribution ◂
  • Files: data/document.pdf, debian/copyright:6-14
  • Basis: inferred from what was read, not seen directly
  • Evidence: PDF Producer Adobe Acrobat 6.0, CreationDate D:20090311205241+03'00'; debian/copyright credits it as 1998 Delphine Defforey
  • Problem: The only document fixture is used by frictionless/resource/spec/test_datatype.py:12 and test_describe.py:214 and is not installed into the binary package, but the source package distributes it. Its producer/date show it was not generated by the project, it carries no licence, and the name debian/copyright gives for it appears nowhere else in the tree, so the Expat claim for this file is unsupported. Policy 2.3 notes that a work with no permission notice may not be redistributed.
  • Fix: Obtain upstream confirmation of the PDF's provenance and licence and record it in debian/copyright, or remove the file from the source package (Files-Excluded/repack) and adjust the two tests.
important packaging 3. Runtime Depends pulls in pytest, moto, requests-mock and hatchling ◂
  • Files: debian/control:56-95
  • Basis: checked, in the package or with a reference tool
  • Evidence: Depends includes python3-pytest, python3-pytest-mock, python3-pytest-lazy-fixtures, python3-pytest-recording, python3-requests-mock, python3-moto, python3-hatchling
  • Problem: These are upstream dev-extras or the build backend: pyproject.toml lists moto, pytest, pytest-mock, requests-mock and pytest-lazy-fixtures under [project.optional-dependencies] dev and hatchling under [build-system]. Installing python3-frictionless therefore installs a test framework, the AWS mock library (21 MB) and a build backend on every user system. They are already in Build-Depends (most with <!nocheck>), which is where they belong.
  • Fix: Remove all seven from the binary Depends; keep them in Build-Depends with <!nocheck> as now (hatchling stays without it).
important packaging 4. Depends omits python3-jinja2 and python3-chardet, which the package imports ◂
  • Files: debian/control:56-95, frictionless/platform.py:48-51, frictionless/platform.py:132-135, pyproject.toml
  • Basis: checked, in the package or with a reference tool
  • Evidence: pyproject dependencies contain jinja2>=3.0 and chardet>=...; frictionless/formats/markdown/mapper.py:32 calls platform.jinja2.Environment(...), frictionless/resource/detector.py:215 calls platform.chardet.UniversalDetector(); neither package is in Depends
  • Problem: jinja2 is required for Metadata.to_markdown() and Package.to_er_diagram(), and chardet for encoding detection. Both are only present transitively today (jinja2 via python3-moto -> python3-flask, chardet via python3-requests), so deleting the wrongly-added test dependencies or any change in those packages breaks to_markdown()/to_er_diagram() and detection. Debian packages must declare what they import.
  • Fix: Add python3-jinja2 and python3-chardet to the binary Depends.
minor packaging 5. All upstream optional format/cloud extras are hard runtime Depends ◂
  • Files: debian/control:56-95
  • Basis: checked, in the package or with a reference tool
  • Evidence: Depends includes python3-ijson, python3-jsonlines, python3-openpyxl, python3-xlwt, python3-xlrd, python3-pyquery, python3-sqlalchemy, python3-tatsu, python3-pandas, python3-numpy, python3-boto3, python3-yattag
  • Problem: pyproject.toml declares these under extras (aws, excel, json, html, sql, pandas, wkt, ...). Making them hard Depends means every CSV-only user installs pandas, numpy, SQLAlchemy, boto3 and the rest; the package should not force optional backends on its users.
  • Fix: Move the format/cloud extras to Recommends or Suggests (or split them into separate binary packages), keeping only the modules imported by the core code path in Depends.
minor packaging 6. python3-tatsu 5.24 is outside upstream's WKT range (<5.15) and the WKT tests are disabled ◂
  • Files: debian/control:88, debian/rules:12, pyproject.toml
  • Basis: inferred from what was read, not seen directly
  • Evidence: pyproject wkt = ["TatSu>=5.8.3,<5.15"]; archive python3-tatsu is 5.24.0; debian/rules test filter has and not wkt
  • Problem: The binary package hard-depends python3-tatsu and ships the WKT field format, yet every WKT test is excluded, against a tatsu version upstream explicitly excludes. The generated parser (frictionless/vendors/wkt/parser.py) is therefore shipped untested against the version Depended on and may be incompatible.
  • Fix: Run the WKT tests against the archive python3-tatsu; if the generated parser is incompatible, patch it/relax the constraint, or drop the wkt dependency and the format if it cannot be supported.
minor packaging 7. marko patch only edits pyproject, leaving description_html silently empty ◂
  • Files: debian/patches/marko-not-packaged-for-debian.patch, frictionless/metadata/metadata.py:129-136, debian/rules:15-16
  • Basis: checked, in the package or with a reference tool
  • Evidence: Patch removes "marko>=1.0", from pyproject.toml dependencies; description_html does try: platform.marko.convert(description) ... except Exception: return ""; rules excludes description_html and description_text
  • Problem: Debian does not derive runtime dependencies from pyproject, so the patch changes nothing in the binary package; marko is still absent, and because of the broad except Exception, any resource with a description gets description_html == "" with no error. The related tests are disabled rather than the feature being addressed.
  • Fix: Package marko, or drop the no-op patch and make the degradation explicit/documented (e.g. README.Debian) instead of hiding it behind a blanket except; enable the description tests if marko is packaged.
minor packaging 8. No debian/tests: the large upstream test suite is only run at build time ◂
  • Files: debian/
  • Basis: checked, in the package or with a reference tool
  • Evidence: No debian/tests/control exists; debian/rules runs pytest with a long -k 'not ...' exclusion list
  • Problem: There is no autopkgtest, so the only testing happens in the build chroot with the maintainer's exclusion list; regressions in dependencies that the archive updates independently will not be caught.
  • Fix: Add a debian/tests/control with a pytest run (reusing the same exclusions) so the suite is exercised in autopkgtest.
Verified ◂
  • Read all of debian/: control, rules, changelog, copyright, source/format, salsa-ci.yml, patches/series and the single patch.
  • Upstream licence is MIT/Expat: LICENSE.md (Copyright © 2020 Open Knowledge Foundation), pyproject.toml license = "MIT", CITATION.cff license: MIT; the full Expat text is in debian/copyright.
  • frictionless/vendors/stringcase.py is MIT, Copyright (c) 2015 Taka Okunishi, and is correctly given its own Files stanza.
  • A grep for Copyright/(C)/©/SPDX/Licensed under/Permission is hereby granted/GNU/Apache/MPL/public domain/All rights reserved over the whole tree found no other licence or copyright notices in code, docs, assets or blog.
  • frictionless/vendors/wkt/parser.py is a TatSu-generated file and its generator input, frictionless/vendors/wkt/grammar.txt, is present in the same directory.
  • No built artifacts in the tree: no .pyc/.so/.egg-info/minified files.
  • docs/*.md are livemark source files (livemark.yaml), not generated HTML; no generated documentation without sources.
  • The 42 archives under data/ are test fixtures, referenced by the pytest suite, copied into the build dir by PYBUILD_BEFORE_TEST (debian/rules:5) and not installed (hatchling packages only frictionless/): 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, data/without-rows.csv.zip, data/zipped-resources/ogd10_catalogs.zip.
  • The 11 binary data fixtures are the same kind of test-only data, not installed: data/cast-int-to-string-issue-1251.xls, data/merged-cells-boolean.xls, data/merged-cells.xls, data/sheet2.xls, data/sqlite.db, data/table-output.parq, data/table-with-booleans.xls, data/table-with-ints-floats-dates.xls, data/table.parq, data/table.parquet, data/table.xls.
  • data/document.pdf is a test input only (frictionless/resource/spec/test_datatype.py:12 and test_describe.py:214), not built output and not installed; its licensing is reported separately.
  • The CC-BY-4.0 / ODC-PDDL strings found in data/.package.json, data/cassettes/.yaml, data/profiles/fiscal.json and data/number/datapackage.json are dataset licence metadata inside fixtures, not licences of those files.
  • dfsg-author-check reports every holder it found is named in debian/copyright; I confirmed the two real notices (Open Knowledge Foundation, Taka Okunishi) are present.
  • All Build-Depends and Depends names exist in the archive (checked python3-jinja2, python3-chardet, python3-moto, python3-requests, python3-tatsu, python3-petl, python3-attr, python3-hatchling, python3-validators, python3-simpleeval, python3-yattag, python3-xlwt, python3-humanize, python3-pydantic, python3-pyquery, python3-referencing, python3-pytest-lazy-fixtures, python3-pytest-recording, python3-jsonlines, python3-ijson); dh-sequence-single-binary is provided by debhelper 14.5.
  • Standards-Version 4.7.4 matches the reviewing system's Policy 4.7.4.1 in its first two components, so it is current.
  • Depends cross-checked against pyproject.toml dependencies and [project.optional-dependencies]; the rules test exclusions (not wkt, not description_html, etc.) were read.
  • uscan found the packaged version as the newest upstream release (upstream 5.21.0, packaged 5.21.0).
Not confirmed ◂
  • data/document.pdf was not opened as a document; only its filename, use in tests and the Producer/CreationDate metadata were consulted, so its content and licence remain unconfirmed.
  • The contents of the 42 archives and 11 binary fixtures were not opened; whether any embeds third-party copyrighted material is unconfirmed.
  • The prescan licence-scanned only the first 4 MiB of 8 text files larger than 4 MiB; I did not locate or read the remainder.
  • Whether the excluded tests (not wkt, not test_fields_match, not table-output, etc.) fail for reasons other than the stated unpackaged modules was not verified; no build or test run was possible.
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 7 days ago, started 7 days ago, completed 7 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:

I fix some more technical issues. The "Blocker" contradicts the solution suggested in the first review. So I remove
2020 Open Knowledge Foundation
again since its only mentioned in citation file.

Other Reviews of this Package

VersionHashAllocatedCompletedReviewerStatusDetails
5.21.0-1 c59b9b9d… 2026-11-28 15:35 2026-11-28 15:35 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 40a870e5… 2026-11-30 09:57 2026-11-30 09:57 dfsg-uploader rejected VIEW
5.21.0-1 d1f5bc02… 2026-12-01 18:04 2026-12-01 18:05 eamanu accepted VIEW

Back to Dashboard | View all reviews for this package