Control: severity -1 normal
Hello Santiago,
On Fri, 2025-02-21 at 23:26 +0000, Santiago Vila wrote:
> During a rebuild of all packages in unstable, your package failed to build:
>
> --------------------------------------------------------------------------------
> [...]
> debian/rules clean
> dh clean --with python3 --buildsystem=pybuild
> dh_auto_clean -O--buildsystem=pybuild
> I: pybuild base:311: python3.12 setup.py clean
> running clean
> removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_anymarkup/build' (and
> everything under it)
> 'build/bdist.linux-x86_64' does not exist -- can't clean it
> 'build/scripts-3.12' does not exist -- can't clean it
> I: pybuild base:311: python3.13 setup.py clean
> running clean
> removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_anymarkup/build' (and
> everything under it)
> 'build/bdist.linux-x86_64' does not exist -- can't clean it
> 'build/scripts-3.13' does not exist -- can't clean it
> dh_autoreconf_clean -O--buildsystem=pybuild
> dh_clean -O--buildsystem=pybuild
> debian/rules binary
> dh binary --with python3 --buildsystem=pybuild
> dh_update_autotools_config -O--buildsystem=pybuild
> dh_autoreconf -O--buildsystem=pybuild
> dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:311: python3.12 setup.py config
> running config
> I: pybuild base:311: python3.13 setup.py config
> running config
> dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:311: /usr/bin/python3.12 setup.py build
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_anymarkup/build/anymarkup
> copying anymarkup/cli.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_anymarkup/build/anymarkup
> copying anymarkup/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_anymarkup/build/anymarkup
> I: pybuild base:311: /usr/bin/python3 setup.py build
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_anymarkup/build/anymarkup
> copying anymarkup/cli.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_anymarkup/build/anymarkup
> copying anymarkup/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_anymarkup/build/anymarkup
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:311: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_anymarkup/build; python3.12 -m pytest
> test
> ============================= test session starts
> ==============================
> platform linux -- Python 3.12.9, pytest-8.3.4, pluggy-1.5.0
> rootdir: /<<PKGBUILDDIR>>
> plugins: typeguard-4.4.1
> collected 25 items
>
> test/test_cli.py F..... [
> 24%]
> test/test_cli_ini.py ..... [
> 44%]
> test/test_cli_json.py ... [
> 56%]
> test/test_cli_json5.py ... [
> 68%]
> test/test_cli_toml.py ... [
> 80%]
> test/test_cli_xml.py .. [
> 88%]
> test/test_cli_yaml.py .. [
> 96%]
> test/test_imports.py .
> [100%]
>
> =================================== FAILURES
> ===================================
> __________________________ TestCli.test_no_arguments
> ___________________________
>
> self = <test.test_cli.TestCli object at 0x7f38e55a6c90>
> runner = <click.testing.CliRunner object at 0x7f38e55e04d0>
>
> def test_no_arguments(self, runner):
> result = runner.invoke(cli)
> > assert result.exit_code == 0
> E assert 2 == 0
> E + where 2 = <Result SystemExit(2)>.exit_code
>
> test/test_cli.py:17: AssertionError
> =========================== short test summary info
> ============================
> FAILED test/test_cli.py::TestCli::test_no_arguments - assert 2 == 0
> ========================= 1 failed, 24 passed in 0.16s
> =========================
> E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_anymarkup/build; python3.12 -m pytest
> test
> I: pybuild base:311: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_anymarkup/build; python3.13 -m pytest
> test
> ============================= test session starts
> ==============================
> platform linux -- Python 3.13.2, pytest-8.3.4, pluggy-1.5.0
> rootdir: /<<PKGBUILDDIR>>
> plugins: typeguard-4.4.1
> collected 25 items
>
> test/test_cli.py F..... [
> 24%]
> test/test_cli_ini.py ..... [
> 44%]
> test/test_cli_json.py ... [
> 56%]
> test/test_cli_json5.py ... [
> 68%]
> test/test_cli_toml.py ... [
> 80%]
> test/test_cli_xml.py .. [
> 88%]
> test/test_cli_yaml.py .. [
> 96%]
> test/test_imports.py .
> [100%]
>
> =================================== FAILURES
> ===================================
> __________________________ TestCli.test_no_arguments
> ___________________________
>
> self = <test.test_cli.TestCli object at 0x7fcc4908ccd0>
> runner = <click.testing.CliRunner object at 0x7fcc490a9400>
>
> def test_no_arguments(self, runner):
> result = runner.invoke(cli)
> > assert result.exit_code == 0
> E assert 2 == 0
> E + where 2 = <Result SystemExit(2)>.exit_code
>
> test/test_cli.py:17: AssertionError
> =========================== short test summary info
> ============================
> FAILED test/test_cli.py::TestCli::test_no_arguments - assert 2 == 0
> ========================= 1 failed, 24 passed in 0.15s
> =========================
> E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_anymarkup/build; python3.13 -m pytest
> test
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12
> 3.13" returned exit code 13
> make: *** [debian/rules:6: binary] Error 25
> dpkg-buildpackage: error: debian/rules binary subprocess returned exit status
> 2
> --------------------------------------------------------------------------------
I cannot reproduce the bug in a freshly created unstable chroot, so I'm
lowering the
severity for the time being. Please let me know how to reproduce the issue.
FWIW, python-anymarkup also builds fine in openSUSE Tumbleweed with Python 3.13
where
it is regularly rebuild to check for build regressions [1].
Adrian
> [1]
> https://build.opensuse.org/package/show/devel:languages:python/python-anymarkup
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913