Source: python-semantic-release
Version: 7.32.2-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20231212 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> for dir in /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_semantic-release/build 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_semantic-release/build; do \
>       cp -r tests $dir ; \
> done
> dh_auto_test
> I: pybuild base:310: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_semantic-release/build; python3.12 -m 
> pytest -x -k "not test_vcs_helpers.py and not 
> test_current_release_version_should_return_correct_version and not test_cli 
> and not test_config and not 
> test_current_version_should_return_correct_version"
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.12.1, pytest-7.4.3, pluggy-1.3.0
> rootdir: /<<PKGBUILDDIR>>
> plugins: mock-3.12.0
> collected 13 items / 1 error
> 
> ==================================== ERRORS 
> ====================================
> _ ERROR collecting 
> .pybuild/cpython3_3.12_semantic-release/build/tests/test_cli.py _
> ImportError while importing test module 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_semantic-release/build/tests/test_cli.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.12/importlib/__init__.py:90: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> tests/test_cli.py:3: in <module>
>     from semantic_release.cli import changelog, main, print_version, publish, 
> version
> semantic_release/cli.py:15: in <module>
>     from .dist import build_dists, remove_dists, should_build, 
> should_remove_dist
> semantic_release/dist.py:6: in <module>
>     from invoke import run
> /usr/lib/python3/dist-packages/invoke/__init__.py:23: in <module>
>     from .loader import FilesystemLoader  # noqa
> /usr/lib/python3/dist-packages/invoke/loader.py:3: in <module>
>     import imp
> E   ModuleNotFoundError: No module named 'imp'
> =========================== short test summary info 
> ============================
> ERROR tests/test_cli.py
> !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures 
> !!!!!!!!!!!!!!!!!!!!!!!!!!!
> =============================== 1 error in 0.44s 
> ===============================
> E: pybuild pybuild:395: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_semantic-release/build; python3.12 -m 
> pytest -x -k "not test_vcs_helpers.py and not 
> test_current_release_version_should_return_correct_version and not test_cli 
> and not test_config and not 
> test_current_version_should_return_correct_version"
> I: pybuild base:310: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_semantic-release/build; python3.11 -m 
> pytest -x -k "not test_vcs_helpers.py and not 
> test_current_release_version_should_return_correct_version and not test_cli 
> and not test_config and not 
> test_current_version_should_return_correct_version"
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.11.7, pytest-7.4.3, pluggy-1.3.0
> rootdir: /<<PKGBUILDDIR>>
> plugins: mock-3.12.0
> collected 929 items / 112 deselected / 817 selected
> 
> tests/test_changelog.py .............                                    [  
> 1%]
> tests/test_dist.py .....................                                 [  
> 4%]
> tests/test_hvcs.py .................................................     [ 
> 10%]
> tests/test_pre_commit.py ......                                          [ 
> 10%]
> tests/test_repository.py ....................                            [ 
> 13%]
> tests/test_settings.py .......                                           [ 
> 14%]
> tests/test_setup_py_hook.py ..                                           [ 
> 14%]
> tests/ci_checks/test_bitbucket.py ....                                   [ 
> 14%]
> tests/ci_checks/test_checker.py ......                                   [ 
> 15%]
> tests/ci_checks/test_circle.py ....                                      [ 
> 16%]
> tests/ci_checks/test_frigg.py ....                                       [ 
> 16%]
> tests/ci_checks/test_gitlab.py ...                                       [ 
> 17%]
> tests/ci_checks/test_jenkins.py ....                                     [ 
> 17%]
> tests/ci_checks/test_semaphore.py ....                                   [ 
> 17%]
> tests/ci_checks/test_travis.py ....                                      [ 
> 18%]
> tests/history/test_changelog.py ....................                     [ 
> 20%]
> tests/history/test_version.py .......................................... [ 
> 26%]
> .............................                                            [ 
> 29%]
> tests/history/test_version_bump.py ................                      [ 
> 31%]
> tests/parsers/test_angular.py ............                               [ 
> 33%]
> tests/parsers/test_emoji.py .........                                    [ 
> 34%]
> tests/parsers/test_helpers.py ...                                        [ 
> 34%]
> tests/parsers/test_scipy.py ............................................ [ 
> 39%]
> ........................................................................ [ 
> 48%]
> ........................................................................ [ 
> 57%]
> ........................................................................ [ 
> 66%]
> ........................................................................ [ 
> 75%]
> ........................................................................ [ 
> 83%]
> ........................................................................ [ 
> 92%]
> .................................................                        [ 
> 98%]
> tests/parsers/test_tag.py ..........                                     
> [100%]
> 
> =============================== warnings summary 
> ===============================
> ../../../../../../usr/lib/python3/dist-packages/invoke/loader.py:3
>   /usr/lib/python3/dist-packages/invoke/loader.py:3: DeprecationWarning: the 
> imp module is deprecated in favour of importlib and slated for removal in 
> Python 3.12; see the module's documentation for alternative uses
>     import imp
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> ================ 817 passed, 112 deselected, 1 warning in 1.86s 
> ================
> dh_auto_test: error: pybuild --test -i python{version} -p "3.12 3.11" 
> returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2023/12/12/python-semantic-release_7.32.2-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to