Your message dated Thu, 26 Dec 2024 05:34:39 +0000
with message-id <e1tqgw7-00flkq...@fasolo.debian.org>
and subject line Bug#1031674: fixed in python-debian 0.1.50
has caused the Debian Bug report #1031674,
regarding python3-debian: DebFile().debcontrol() fails to get control file when
not starting with ./
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
1031674: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1031674
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python3-debian
Version: 0.1.49
Severity: normal
Dear Maintainer,
Thanks for developing python-debian.
When control file is named 'control' instead of './control' in control
archive, debcontrol() in DefFile fails to open it raising :
KeyError: "filename './control' not found"
dpkg-deb --info do not complain on the same .deb file.
(cargo-deb produce such .deb files)
Steps to reproduce :
cd /tmp
sudo apt install cargo python3-debian
cargo new testdeb
sed -i '/^version/aauthors = ["f...@example.org"]' testdeb/Cargo.toml
cd testdeb
cargo install cargo-deb
cargo deb
dpkg-deb --info target/debian/*.deb
python3 -c 'import sys; from debian import debfile;
debfile.DebFile(sys.argv[1]).debcontrol()' target/debian/*.deb
Thanks,
--
Léa Raya DÉCORNOD
-- System Information:
Debian Release: bookworm/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.1.0-3-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages python3-debian depends on:
ii python3 3.11.1-3
ii python3-chardet 5.1.0+dfsg-2
Versions of packages python3-debian recommends:
ii python3-apt 2.5.2+b1
ii zstd 1.5.2+dfsg2-3
Versions of packages python3-debian suggests:
ii gpgv 2.2.40-1
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: python-debian
Source-Version: 0.1.50
Done: Stuart Prescott <stu...@debian.org>
We believe that the bug you reported is fixed in the latest version of
python-debian, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1031...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Stuart Prescott <stu...@debian.org> (supplier of updated python-debian package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Thu, 26 Dec 2024 16:12:37 +1100
Source: python-debian
Architecture: source
Version: 0.1.50
Distribution: experimental
Urgency: medium
Maintainer: Debian python-debian Maintainers
<pkg-python-debian-ma...@lists.alioth.debian.org>
Changed-By: Stuart Prescott <stu...@debian.org>
Closes: 1029727 1031674 1052154 1062437 1082838
Changes:
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.
Checksums-Sha1:
b34be70c475181ca37f65eea7ccada06c5e49612 2335 python-debian_0.1.50.dsc
a4793695c2b50a6bc61abe0d6dd17793cd84d7ca 197784 python-debian_0.1.50.tar.xz
9cd0c77eff511a61f80f27e9409731728df734ef 7985
python-debian_0.1.50_amd64.buildinfo
Checksums-Sha256:
ac1968025922c15fc78c52202129d1a60fbd15f6466a5218d60bf03e61ed5127 2335
python-debian_0.1.50.dsc
68e810544cfb0a727dcf22cf210cabaa1655bbbae75e47dcf532b4a8c392d59a 197784
python-debian_0.1.50.tar.xz
2b90a96d97a9950fc7c80cdbc86557718655d107254ba58f0825eda407a51b7e 7985
python-debian_0.1.50_amd64.buildinfo
Files:
4b66d9d096bb030de8d5b40ee2c7e1a1 2335 python optional python-debian_0.1.50.dsc
8552f95b35127bad4d124982a46a3693 197784 python optional
python-debian_0.1.50.tar.xz
1cce0d1e1c0a52a50375b14dc75052c5 7985 python optional
python-debian_0.1.50_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEkOLSwa0Uaht+u4kdu8F+uxOW8vcFAmds6SEACgkQu8F+uxOW
8vd6fg//a4dlWUL9kMpsL1ySliSzUqxsgl4tLVLSA6NrxyjmnTZdFNO5o4u78GNT
aCUXoP/Vbzvmc1iUaIbhqvITPps+3xX70W7slhvHULy+w3gCL5OSiGkOBtJ9NvYs
NBldllakyVuu/YRgAMapdhpnGC38ML2OeU9iIR6OrNcMeJHL3GdeGCn0RtHGQgdV
T/X41POjj28hti4zU3I1Y0aclLmoqofMWeuvjKbqBPgUMp73P4x++OR0oR26ERZk
V2VREEvtGtM8477coYKGDWzVV6sjDeSfytcERSs9RdFF6ENcgunfZS3KncJi2W+B
hHBbPeVugwVYW/CuflSoEIP9ldgZq5v4wvanDFhLKO7BAUSXKQ6ozMLSXceAtzT9
ZYwsVi/FOWy0X4g1m4JtcZIyZ3iYkmglwq4W5vmRdD7qvk4/6M2R0m2mHeweUSYI
Epa1x4SqkuzLT5PUdp/uwqQCcpB5It9GeoYRvCORywwoOgmtLTvGHn3OJZM4fna8
e3kpVnfOUKGYDOFuaO6turouxjLoTknKhA7QUCQKlaT06DHPMtE86zj52kCLNv5C
PBDJ9xEaiI4dA4Dmf+f5O6VZIKnsdqXxVF0kVbvDlyb4pbjg8fvhpjGFKHeh9BWH
tLRYJtAiDUv8/O/jDyzarWR6Ut+EKjmKzngAebAvc9sLwNO+jzI=
=722n
-----END PGP SIGNATURE-----
pgptPxT4EqWbd.pgp
Description: PGP signature
--- End Message ---
--
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-python-debian-maint