Skip to content

v2.9.1 — Hardening and provenance

Choose a tag to compare

@devlprkhan devlprkhan released this 11 Nov 16:50
· 13 commits to main since this release
aab2070

2.9.1 — Hardening release and provenance proof

This release publishes the hardening already merged to main and is the first
release built with the PEP 740 and GitHub build-provenance workflow.

Added

  • CI tests the minimum supported dependency versions on Python 3.10, the latest
    stable dependency set, and pandas 3.x.
  • CI installs the built wheel in a clean environment and checks imports, public
    exports, the CLI, and a small end-to-end cleaning workflow.
  • Release builds generate PEP 740 attestations for PyPI and GitHub
    build-provenance attestations, so published artifacts can be verified against
    the workflow that built them.

Changed

  • iter_csv_safe() infers the schema from the first chunk and reuses it for every
    later chunk. A later value that does not fit the inferred type is reported as
    unparseable_values instead of silently changing the column dtype. Pass an
    explicit contract when the first chunk may not be representative.
  • Safe ingestion enforces ColumnSpec(unique=True) and reports
    duplicate_values. Duplicates are detected within a frame and, for
    iter_csv_safe(), across chunks. Missing values are ignored.
  • DataContract.check() ignores missing values for unique=True, matching the
    documented "non-null values must be unique" behavior and the validation helper.
  • DataCleaner.transform() documents that a missing fitted input column is always
    fatal, regardless of on_drift, because the cleaner cannot safely reconstruct
    it.

Provenance

2.9.0 predates the attestation workflow and correctly shows no PyPI provenance.
2.9.1 is the first attested release. Verify a downloaded artifact with:

uvx "pypi-attestations==0.0.31" verify pypi \
  --repository https://github.com/devlprkhan/universal-data-cleaner \
  pypi:universal_data_cleaner-2.9.1-py3-none-any.whl

gh attestation verify universal_data_cleaner-2.9.1-py3-none-any.whl \
  --repo devlprkhan/universal-data-cleaner

Full changelog: https://github.com/devlprkhan/universal-data-cleaner/blob/main/CHANGELOG.md