python-debian (1.0.1) unstable; urgency=medium
* Fix handling of empty string data given to Deb822.iter_paragraphs.
-- Stuart Prescott <stuart@debian.org> Tue, 11 Mar 2025 23:17:33 +1100
python-debian (1.0.0) unstable; urgency=medium
* The 1.0.0 release of python-debian :)
* Upload to unstable (and release to pypi).
* Update typing imports to keep new mypy happy.
* Handle non-UTF-8 data in gpgv output from sequoia-generated data
(Closes: #1095835, #1087991).
* Permit filenames and Path objects in Deb822.iter_paragraphs()
(Closes: #1086512).
-- Stuart Prescott <stuart@debian.org> Mon, 10 Mar 2025 01:05:59 +1100
python-debian (0.1.52) experimental; urgency=medium
* Ensure that gpgv is not gpgv-from-sq for now.
-- Stuart Prescott <stuart@debian.org> Fri, 27 Dec 2024 00:38:26 +1100
python-debian (0.1.51) experimental; urgency=medium
* Add build-dependency on gpgv.
-- Stuart Prescott <stuart@debian.org> Thu, 26 Dec 2024 17:11:02 +1100
python-debian (0.1.50) experimental; urgency=medium
[ Stuart Prescott ]
* 1.0.0 release candidate.
* Tweaks to match changes in Python-land tooling:
- Fix some stylistic things that the newly uploaded pylint 2.16 complains
about.
- Fix testing with wine to adapt to changes in wine packaging.
- Fix tests to work with recent changes to pip that prevent installation
outside of a venv.
- Change version generation to be PEP440 compatible to satisfy new
requirements from setuptools, python-packaging etc. This change is
needed for any uploads outside of Debian sid (derivatives, Debian
backports, Debian security/stable-updates, etc).
* Fix file extraction from DebFile for cases where the .deb is generated
from control or data tarballs without the optional entry for "." and the
"./" prefix on all members; this isn't needed for dpkg-generated packages,
but is needed for other tools such as 'cargo deb' (Closes: #1031674).
* Demote Recommends to Suggests; it is up to the calling code to know what
optional features of python-debian it is using rather than dragging in an
ever-increasing list of optional extra packages (Closes: #1029727).
* Drop shims for pre-PEP8 API after 14 years of deprecation.
* Replace setup.py and config for pylint, mypy, pytest with pyproject.toml.
* Switch package build system to use pyproject.toml.
* Relocate tests and test data out of module; they are no longer included
in the binary package or in the wheel.
* Relocate module source from 'lib' to 'src' in line with current practice.
* Change handling of package version to use setuptools_scm during
development (but not at run time).
* Update code to build pypi uploads (sdist and wheel).
* Update copyright statements throughout.
* Tweak pytest configuration for pytest 8.1.1 changes.
* Fix test suite harness that runs tests under wine.
* Update Standards-Version to 4.7.0 (no changes required).
* Fix handling of whitespace-separated file lists in Copyright files with
thanks to Lasse Collin for the suggested fix (Closes: #1062437).
* Parse source field to extract source version in .deb packages from
binNMUs (Closes: #1082838).
* Switch to from chardet to charset-normalizer and make it in the code
(demoted to Suggests), with thanks to Michal Čihař for the initial work.
* Update Standards-Version to 4.7.0 (no changes required).
* Make 'Package-List' a multiline field for Dsc objects, thanks to Philipp
Hahn for the patch (Closes: #1052154).
[ Max Mehl ]
* Use valid SPDX identified in python package metadata.
[ Benjamin Drung ]
* Fix version number to be PEP440 compliant.
[ Jelmer Vernooij ]
* Drop debian_bundle and top-level deb822 modules after 13 years of
deprecation.
[ Niels Thykier ]
* Fix typing errors from newer mypy in deb822.PkgRelation.
* Changelog parsing speed improvements.
* Add support for file location finding (line, col) in Deb822 files.
[ Alexandre Detiste ]
* Change some type annotations from Python 2 to Python 3 format.
* Clean up some old Python 2 methods.
* Fixes for pylint 3.1.
-- Stuart Prescott <stuart@debian.org> Thu, 26 Dec 2024 16:12:37 +1100
python-debian (0.1.49) unstable; urgency=medium
[ Debian Janitor ]
* Update lintian override info to new format on line 1.
[ Niels Thykier ]
* Fix whitespace handling of Copyright files (Closes: #960278)
[ Stuart Prescott ]
* Make python-debian (more) portable (Closes: #1011937)
- Tweak tests to be portable to other platforms
- Adapt tests so that skipping optional tests can be prevented if needed
- Add other platforms to CI to test portability
* Switch tests to use more pytest features.
* Updates for newer mypy and pylint.
* Add Debian 14 'forky' to the list of known releases.
-- Stuart Prescott <stuart@debian.org> Sun, 20 Nov 2022 11:30:33 +1100
python-debian (0.1.48) unstable; urgency=medium
[ Anders Kaseorg ]
* Fix version bound for subscripting abc.Iterator, abc.MutableMapping.
Closes: #1018822
[ Jelmer Vernooij ]
* Don't raise AmbiguousDeb822FieldKeyError in __contains__.
-- Jelmer Vernooij <jelmer@debian.org> Mon, 03 Oct 2022 05:19:42 +0100
python-debian (0.1.47) unstable; urgency=medium
* copyright: Allow duplicate fields when strict=False.
* copyright: Fix regression, raise NotMachineReadableError for files
that clearly don't use DEP5. Closes: #1017836
-- Jelmer Vernooij <jelmer@debian.org> Sat, 27 Aug 2022 14:23:48 +0100
python-debian (0.1.46) unstable; urgency=medium
* Copyright.add_files_paragraph(): Append after the last existing
files paragraph.
* RTS parser: Fix removing and then re-adding a paragraph.
-- Jelmer Vernooij <jelmer@debian.org> Fri, 08 Jul 2022 17:51:18 +0100
python-debian (0.1.45) unstable; urgency=medium
[ Jelmer Vernooij ]
* Add Deb822FileElement.remove method.
* RTS parser: don't add trailing whitespace when setting field values
that start with a newline. Closes: #1013485
* RTS parser: Add Deb822FileElement.remove().
[ Niels Thykier ]
* RTS parser: minor performance improvements (~5%).
* RTS parser: Stop preserving lack of newlines at EOF. Closes: #998715
* Add substvars module for handling substvars.
* copyright: Use RTS parser.
* Provide `DpkgArchTable` class as a subset of `Dpkg::Arch`. Closes: #771058
-- Jelmer Vernooij <jelmer@debian.org> Tue, 05 Jul 2022 16:35:04 +0100
python-debian (0.1.44) unstable; urgency=medium
[ Simon Chopin ]
* Add support for zstd compression in .deb files (LP: #1923845) with thanks
also to Athos Ribeiro and Quirin Pamp for contributions to this feature.
[ Jelmer Vernooij ]
* Use logging.warning rather than warnings for data problems.
[ Stuart Prescott ]
* Support for finding files (including changelog.Debian.gz) that are beyond
a symlink within the package (Closes: #875305).
* Update packaging for zstd compressed .deb code.
* Annotate binutils build-dep with <!nocheck>.
* Update Standards-Version to 4.6.1 (no changes required).
[ Niels Thykier ]
* Various improvements to the round-trip-safe deb822 parser.
-- Stuart Prescott <stuart@debian.org> Sun, 29 May 2022 12:06:57 +1000
python-debian (0.1.43) unstable; urgency=medium
[ Jelmer Vernooij ]
* Support the Files-Included field in debian/copyright.
[ Stuart Prescott ]
* Always run both mypy and pylint on CI.
* Fix URL for API documentation in README.rst (Closes: #995442).
* RTS parser: minor documentation fixes.
* Declare minimum Python version of 3.5 for most modules except the
RTS parser. Add CI testing with Python 3.5 (Closes: #997857).
[ Niels Thykier ]
* RTS parser: Handle leading tabs for setting values (Closes: #996785).
* RTS parser: Preserve original field case (Closes: #996784).
* RTS parser: Expose str type for keys in paragraphs (Closes: #996783).
-- Stuart Prescott <stuart@debian.org> Sun, 16 Jan 2022 13:03:02 +1100
python-debian (0.1.42) unstable; urgency=medium
"The Hitchhiker's Guide to the Galaxy" release.
[ Jelmer Vernooij ]
* Use logging for warnings about data that's being read, rather than
the warnings module.
[ Stuart Prescott ]
* Fix type checks for mypy 0.910
* Refactor CI code to be less repetitive.
* Fix autopkgtest invocation of py.test.
* Silence lintian complaint about touching the dpkg database in the
examples.
* Update Standards-Version to 4.6.0 (no changes required).
* Add RTS parser to setup.py so that it is installed.
* Add copyright attribution for RTS parser.
[ Niels Thykier ]
* RTS parser: Accept tabs as continuation line marker. Closes: #994854
* Interpretation: Preserve tab as continuation line if used
* CI: Always build docs; only publish it for master
* RTS parser: Make value interpretation tokenization consistent
* RTS parser: Add interpretation for Uploaders field
-- Stuart Prescott <stuart@debian.org> Mon, 18 Oct 2021 17:12:47 +1100
python-debian (0.1.41) experimental; urgency=medium
[ Stuart Prescott ]
* Drop some old python version checks (Closes: #986550)
* Skip tests that use apt_pkg if unavailable
* Run tests in absense of recommended packages
* Drop use of six.
* Drop old version constraints in autopkgtest tests
* Generate .deb packages for tests on-demand
* Add contextmanager to DebFile
* Fix sphinx _static config
[ Niels Thykier ]
* Added format/comment preserving deb822 parser as debian._deb822_repro.
* CI: Add coverage reports
* Use py.test for running tests
[ Jelmer Vernooij ]
* Add Build-Depends-Arch, Build-Conflicts-Arch to list of relationship
fields. Closes: #985492
-- Jelmer Vernooij <jelmer@debian.org> Sat, 18 Sep 2021 22:36:23 +0100
python-debian (0.1.40) experimental; urgency=medium
[ Jelmer Vernooij ]
* In debian.changelog.get_maintainer, cope with unknown UIDs. Closes:
#980385
[ Niels Thykier ]
* Add some doctest SKIP markers to the code (MR!45).
* Fix examples in code (MR!41, MR!43).
[ Frédéric Pierret ]
* Numerous enhancements to the deb822.BuildInfo class (MR!40).
[ Stuart Prescott ]
* Update annotations for mypy 0.8.00.
* Include portability patch for pwd module on Windows from MR!38, with
thanks to Ryan Pavlik for the report and Carmen Bianca Bakker for the
implementation.
* Drop the deb822.BuildInfo.get_debian_suite function.
* Stop testing with Python 2.7.
[ Debian Janitor ]
* Remove constraints unnecessary since stretch:
+ Build-Depends: Drop versioned constraint on binutils.
-- Stuart Prescott <stuart@debian.org> Mon, 28 Jun 2021 18:09:46 +1000
python-debian (0.1.39) unstable; urgency=medium
[ Stuart Prescott ]
* Move re.compile calls out of functions (Closes: #971960).
* Revert unintended renaming of Changelog.get_version/set_version
(Closes: #975910).
* Add a type for .buildinfo files (deb822.BuildInfo) (Closes: #875306).
* Add support for SHA1-Download and SHA256-* variants in PdiffIndex class
for .diff/Index files (Closes: #970824).
* Permit single-character package names in dependency relationship
specifications (Closes: #977355).
* Silence deprecation warnings in the test suite.
* Test that UserWarning is emitted in tests where it should be.
* Update Standards-Version to 4.5.1 (no changes required).
* Update to debhelper-compat (= 13).
* Update examples to use #!/usr/bin/python3.
* Fix tabs vs spaces in examples.
* Provide accessor for source package version for binary packages
(Closes: #934273).
[ Jose Luis Rivero ]
* Allow debian_support.PackageFile to accept StringIO as well as BytesIO.
[ Ansgar ]
* Change handling of case-insensitive field names to allow Deb822 objects
to be serialised (Closes: #975915).
[ Jelmer Vernooij ]
* Add myself to uploaders.
[ Johannes 'josch' Schauer ]
* Add SHA265 support to handling of pdiffs.
* Add support for additional headers for merged pdiffs to PDiffIndex.
* Allow debian_support.patches_from_ed_script to consume both bytes and str.
-- Stuart Prescott <stuart@debian.org> Sat, 19 Dec 2020 11:59:40 +1100
python-debian (0.1.38) unstable; urgency=medium
[ Jelmer Vernooij ]
* Add a debian.watch module for parsing watch files.
* Prevent stripping of last newline in initial lines before changelog files.
* Add a Copyright.files_excluded field.
* Allow specifying allow_missing_author when reserializing changelog
entries.
[ Stuart Prescott ]
* Fix CI error from typeshed.
* Add lots more type annotations to the code.
* Enable mypy and pylint in the CI pipeline for merge requests.
[ Dato Simó ]
* Remove myself from Uploaders.
-- Stuart Prescott <stuart@debian.org> Sun, 04 Oct 2020 15:09:46 +1100
python-debian (0.1.37) unstable; urgency=medium
[ Sandro Tosi ]
* Drop python2 support; Closes: #937691
* lib/debian/doc-debtags
- run using python3
[ Stuart Prescott ]
* Update Standards-Version to 4.5.0 (no changes required).
* Add Rules-Requires-Root: no.
* Test with all supported Python 3 interpreters at build time, not only
in the autopkgtest tests.
* Include the version of the interpreter in the test output.
* Update from pylint3 to pylint.
* Fix some pylint warnings.
* Include pylint and mypy checks for merge requests on salsa.
* Add additional metadata to setup.py, with thanks to Konrad Weihmann for
the suggestion.
[ Colin Watson ]
* Parse Built-Using relationship fields.
[ Michael Hudson-Doyle ]
* Run tests with 'supported' not 'installed' Python 3 interpreters.
-- Stuart Prescott <stuart@debian.org> Sat, 11 Apr 2020 17:54:43 +1000
python-debian (0.1.36) unstable; urgency=medium
* Support streams without a filename in ArMember, with thanks to Matthias
Dellweg for the patch.
* Update autopkgtest variables in tests.
* Update Standards-Version to 4.4.0 (no changes required).
* Update to debhelper-compat 12.
* Update type annotations for newer mpypy.
-- Stuart Prescott <stuart@debian.org> Sun, 01 Sep 2019 23:50:42 +1000
# Older entries have been removed from this changelog.
# To read the complete changelog use `apt changelog python3-debian`.
Generated by dwww version 1.16 on Tue Dec 16 05:30:30 CET 2025.