Your message dated Thu, 26 Dec 2024 05:34:39 +0000
with message-id <e1tqgw7-00flkl...@fasolo.debian.org>
and subject line Bug#1029727: fixed in python-debian 0.1.50
has caused the Debian Bug report #1029727,
regarding python-debian: please depend on zstd
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.)


-- 
1029727: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1029727
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-debian
Version: 0.1.49


Hello, I see dh-cmake FTBFS in Ubuntu due to this:

test_run_debian_rules 
(dhcmake.tests.cmake.DHCMakeTestCase.test_run_debian_rules) ... ok
test_autopep8 (dhcmake.tests.source_check.SourceCheckTestCase.test_autopep8) 
... ok
test_pyflakes (dhcmake.tests.source_check.SourceCheckTestCase.test_pyflakes) 
... ok

======================================================================
ERROR: test_run_debian_rules 
(dhcmake.tests.cpack.DHCPackTestCase.test_run_debian_rules)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/debian/debfile.py", line 121, in 
_custom_decompress
    proc = subprocess.Popen(
           ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/subprocess.py", line 1024, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.11/subprocess.py", line 1901, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'unzstd'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/dhcmake/tests/cpack.py", line 200, in 
test_run_debian_rules
    packages = deb822.Packages(f.debcontrol())
                               ^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/debian/debfile.py", line 493, in 
debcontrol
    return self.control.debcontrol()
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/debian/debfile.py", line 367, in 
debcontrol
    return Deb822(self.get_content(CONTROL_FILE))
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/debian/debfile.py", line 308, in 
get_content
    f = self.get_file(
        ^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/debian/debfile.py", line 260, in get_file
    fobj = self.tgz().extractfile(fname)
           ^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/debian/debfile.py", line 146, in tgz
    buffer = _custom_decompress(['unzstd', '--stdout'])
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/debian/debfile.py", line 129, in 
_custom_decompress
    raise DebError("error while running command '%s' as subprocess: '%s'" %
debian.debfile.DebError: error while running command 'unzstd --stdout' as 
subprocess: '[Errno 2] No such file or directory: 'unzstd''

----------------------------------------------------------------------
Ran 106 tests in 53.421s

FAILED (errors=1)
Test failed: <unittest.runner.TextTestResult run=106 errors=1 failures=0>
error: Test failed: <unittest.runner.TextTestResult run=106 errors=1 failures=0>
E: pybuild pybuild:388: test: plugin distutils failed with: exit code=1: 
python3.11 setup.py test
dh_auto_test: error: pybuild --test -i python{version} -p "3.10 3.11" returned 
exit code 13
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------


I think this can be fixed by depending instead of recommending zstd.

What do you think?

thanks,

Gianfranco

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


--- 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 1029...@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-----

Attachment: pgpsIy9ln1uCR.pgp
Description: PGP signature


--- End Message ---
-- 
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-python-debian-maint

Reply via email to