#1140868 pytest-codeblocks: autopkgtest regression with pytest 9.1

#1140868#5
Date:
2026-06-27 21:23:15 UTC
From:
To:
Dear maintainer,

According to https://ci.debian.net data, your package pytest-codeblocks has an
autopkgtest regression with pytest.

The following architectures failed: amd64, arm64, i386, loong64,
ppc64el, riscv64, s390x.

Hopefully relevant excerpt from
https://ci.debian.net/packages/p/pytest-codeblocks/testing/amd64/72542057/
follows:

 63s pluggy._manager.PluginValidationError: Plugin 'codeblocks' for hook 'pytest_collect_file'
 63s E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /tmp/autopkgtest-lxc.0jhpti4v/downtmp/autopkgtest_tmp/build; python3.14 -m pytest -k ' not test_comment_styles and not test_cont and not test_hidden_cont and not test_nocont and not test_unclosed and not test_expect_error and not test_expect_error_runtimeerror and not test_expect_error_indexerror and not test_expect_error_fail and not test_expected_output and not test_expected_output_fail and not test_expected_output_ignore_whitespace and not test_expected_output_ignore_whitespace_fail and not test_basic and not test_skip and not test_shell and not test_shell_fail and not test_shell_expect_fail and not test_shell_expect_fail_passed and not test_shell_expect_output and not test_shell_expect_output_fail and not test_bash and not test_skip_expected_output and not test_skipif and not test_skipif2 and not test_skipif_expected_output and not test_skipif_expected_output2 and not test_importorskip and not test_importorskip2 and not test_unicode'
 63s pluggy._manager.PluginValidationError: Plugin 'codeblocks' for hook 'pytest_collect_file'
 63s E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /tmp/autopkgtest-lxc.0jhpti4v/downtmp/autopkgtest_tmp/build; python3.13 -m pytest -k ' not test_comment_styles and not test_cont and not test_hidden_cont and not test_nocont and not test_unclosed and not test_expect_error and not test_expect_error_runtimeerror and not test_expect_error_indexerror and not test_expect_error_fail and not test_expected_output and not test_expected_output_fail and not test_expected_output_ignore_whitespace and not test_expected_output_ignore_whitespace_fail and not test_basic and not test_skip and not test_shell and not test_shell_fail and not test_shell_expect_fail and not test_shell_expect_fail_passed and not test_shell_expect_output and not test_shell_expect_output_fail and not test_bash and not test_skip_expected_output and not test_skipif and not test_skipif2 and not test_skipif_expected_output and not test_skipif_expected_output2 and not test_importorskip and not test_importorskip2 and not test_unicode'
 63s pybuild-autopkgtest: error: pybuild --autopkgtest --test-pytest -i python{version} -p "3.14 3.13" --parallel= returned exit code 13
 63s pybuild-autopkgtest: error: /tmp/Z2CNuKVdGi/run pybuild-autopkgtest returned exit code 2
 63s pybuild-autopkgtest  FAIL non-zero exit status 25
 63s pybuild-autopkgtest  FAIL non-zero exit status 25

#1140868#14
Date:
2026-06-28 16:41:02 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
pytest-codeblocks, 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 1140868@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Colin Watson <cjwatson@debian.org> (supplier of updated pytest-codeblocks 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 ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sun, 28 Jun 2026 17:06:23 +0100
Source: pytest-codeblocks
Architecture: source
Version: 0.17.0-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Colin Watson <cjwatson@debian.org>
Closes: 1140868
Changes:
 pytest-codeblocks (0.17.0-3) unstable; urgency=medium
 .
   * Team upload.
   * Fix test failures with pytest >= 9 (closes: #1140868).
   * Drop "Rules-Requires-Root: no", default as of dpkg-dev 1.22.13.
   * Drop "Priority: optional", default as of dpkg-dev 1.22.13.
   * Standards-Version: 4.7.4.
Checksums-Sha1:
 8dce85de6f0fca33839cf61ed017919bd8faf7d1 2496 pytest-codeblocks_0.17.0-3.dsc
 ebbe3289a6e0094bafc1857117a2b03bafe7cf4e 2964 pytest-codeblocks_0.17.0-3.debian.tar.xz
 be36cc0d1a2099b4c741b01dec3d4bc90d58af22 34012 pytest-codeblocks_0.17.0-3.git.tar.xz
 7a3220e53587f64c8087cb42bea4343807760fd6 17540 pytest-codeblocks_0.17.0-3_source.buildinfo
Checksums-Sha256:
 5302fde77a06c9ed603be9f104cf04c57e075b2bfb2fc1f5ddfaefcd8c55884d 2496 pytest-codeblocks_0.17.0-3.dsc
 c0348ed0dbf844d32133949566c48c624bb66affc439962e913c63e6abcc5f3a 2964 pytest-codeblocks_0.17.0-3.debian.tar.xz
 4cdb7d79fb2700702b01cf517c8ee5209675cb98ab8ece97869cc85f17cdff3c 34012 pytest-codeblocks_0.17.0-3.git.tar.xz
 b8e93b6febf06f0456f5423ed8acbb8bca0e6a7b1ce21852214160883dde70f1 17540 pytest-codeblocks_0.17.0-3_source.buildinfo
Files:
 d912d54cd9ad2eca832002c78d54f38c 2496 python optional pytest-codeblocks_0.17.0-3.dsc
 900b0e6ed95a5d23735072f77669b9b4 2964 python optional pytest-codeblocks_0.17.0-3.debian.tar.xz
 e663b5719a5f3468cc0c59a755179ae3 34012 python None pytest-codeblocks_0.17.0-3.git.tar.xz
 68231381aaa6a33ec64734141ca4c039 17540 python optional pytest-codeblocks_0.17.0-3_source.buildinfo
Git-Tag-Info: tag=88e20617945398fe2105e6215cef9e346160df2b fp=ac0a4ff12611b6fccf01c111393587d97d86500b
Git-Tag-Tagger: Colin Watson <cjwatson@debian.org>
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmpBRwcACgkQYG0ITkaD
wHl/mQ//bo5ujGmv4XXb4IBALsPm7Z6jT9AsFm6xcomtO4arfC/nsiBDJPBdAhWJ
AE7fVeBDHsL8iKpRMvxHjAKoeeEAB2tv6kNAGaDxP0h0hiet8deMazJKikUcUmQF
y7VcL9aVEagytztrwEDzicAtshammz5PUMHVBTJzhQqKCwpZifVewwj12a00vIt4
bIE07b8DHobJJs3mxoCQMPn4ehPpbLNldPiPtJb3kx47fBd9bWrG6q4DRvEqN9wL
qiEeUmLDmCK8fQ4WmE7ChlyXRJmiLa+v+IZYX0RdeGdpsnP8n7V/cwFxe8h2yvn2
/dpI4Ke8kqaqwCtSUhl5W9dmJpuUMboKbJlBpwf6AZLQmN8mre2FksyNsRWZl/7y
R3FnzIDlLXuVIws31/ByDN7ImTgtKCYf4fz2V6OpDHf1zhvGJOq98l/O/mTojxFz
ZDG1TxzWzpJ55DZY1DCHVbzGlTu/4upqoyS/YZf/1oLFHzdRlt8VsegWCXKbK3As
M04aJCUGz1C24rOCPlR8g230nFhB3XUDpdc1jjxyUh0aAW+HJA247PwjDc/lC5vp
fezKGhEHam1L8Ki7ETrl/M7r4YFJjtY3mFSRCAjPYgvaC8NOR3RvzcMEXdIO7Bxo
XD0OlVXMpB5Z1l0zC8k+8tdUGcff5Ra3KWvy/bM9sb/APdLH8R0=
=oOtB
-----END PGP SIGNATURE-----