Package: src:python-semantic-release Version: 10.4.1-1 Severity: serious Tags: ftbfs forky sid
Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202512/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you cannot reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and add an affects on src:python-semantic-release, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild debian/rules binary dh binary --buildsystem=pybuild dh_update_autotools_config -O--buildsystem=pybuild dh_autoreconf -O--buildsystem=pybuild dh_auto_configure -O--buildsystem=pybuild dh_auto_build -O--buildsystem=pybuild I: pybuild plugin_pyproject:131: Building wheel for python3.14 with "build" module I: pybuild base:317: python3.14 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14 * Building wheel... /usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated [... snipped ...] # Whitespace padded footer (" Resolves: #555\n", ["#555"]), ] ], ( # Only grabs the issue reference when there is a GitHub PR reference in the subject "ENH: parser: add magic parser (#123)\n\nCloses: #555", ["#555"], ), # Does not grab an issue when there is only a GitHub PR reference in the subject ("ENH: parser: add magic parser (#123)", []), # Does not grab an issue when there is only a Bitbucket PR reference in the subject ("ENH: parser: add magic parser (pull request #123)", []), ], ) def test_parser_return_linked_issues_from_commit_message( default_scipy_parser: ScipyCommitParser, message: str, linked_issues: Sequence[str], make_commit_obj: MakeCommitObjFn, ): > parsed_results = default_scipy_parser.parse(make_commit_obj(message)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/unit/semantic_release/commit_parser/test_scipy.py:1247: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ semantic_release/commit_parser/scipy.py:401: in parse self.unsquash_commit(commit) semantic_release/commit_parser/scipy.py:485: in unsquash_commit **deep_copy_commit(commit), ^^^^^^^^^^^^^^^^^^^^^^^^ semantic_release/commit_parser/util.py:121: in deep_copy_commit if hasattr(commit, key) and (value := getattr(commit, key)) is not None: ^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/gitdb/util.py:253: in __getattr__ self._set_cache_(attr) /usr/lib/python3/dist-packages/git/objects/commit.py:244: in _set_cache_ _binsha, _typename, self.size, stream = self.repo.odb.stream(self.binsha) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/git/db.py:46: in stream hexsha, typename, size, stream = self._git.stream_object_data(bin_to_hex(binsha)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/git/cmd.py:1722: in stream_object_data cmd = self._get_persistent_cmd("cat_file_all", "cat_file", batch=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/git/cmd.py:1671: in _get_persistent_cmd cmd = self._call_process(cmd_name, *args, **options) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/git/cmd.py:1616: in _call_process return self.execute(call, **exec_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/git/cmd.py:1279: in execute proc = safer_popen( /usr/lib/python3.14/subprocess.py:1004: in __init__ errread, errwrite) = self._get_handles(stdin, stdout, stderr) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <Popen: returncode: None args: ['git', 'cat-file', '--batch']> stdin = -1, stdout = -1, stderr = -1 def _get_handles(self, stdin, stdout, stderr): """Construct and return tuple with IO objects: p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite """ p2cread, p2cwrite = -1, -1 c2pread, c2pwrite = -1, -1 errread, errwrite = -1, -1 with self._on_error_fd_closer() as err_close_fds: if stdin is None: pass elif stdin == PIPE: p2cread, p2cwrite = os.pipe() err_close_fds.extend((p2cread, p2cwrite)) if self.pipesize > 0 and hasattr(fcntl, "F_SETPIPE_SZ"): fcntl.fcntl(p2cwrite, fcntl.F_SETPIPE_SZ, self.pipesize) elif stdin == DEVNULL: p2cread = self._get_devnull() elif isinstance(stdin, int): p2cread = stdin else: # Assuming file-like object p2cread = stdin.fileno() if stdout is None: pass elif stdout == PIPE: c2pread, c2pwrite = os.pipe() err_close_fds.extend((c2pread, c2pwrite)) if self.pipesize > 0 and hasattr(fcntl, "F_SETPIPE_SZ"): fcntl.fcntl(c2pwrite, fcntl.F_SETPIPE_SZ, self.pipesize) elif stdout == DEVNULL: c2pwrite = self._get_devnull() elif isinstance(stdout, int): c2pwrite = stdout else: # Assuming file-like object c2pwrite = stdout.fileno() if stderr is None: pass elif stderr == PIPE: > errread, errwrite = os.pipe() ^^^^^^^^^ E OSError: [Errno 24] Too many open files /usr/lib/python3.14/subprocess.py:1763: OSError ------------------------------ Captured log call ------------------------------- DEBUG git.util:util.py:494 sys.platform='linux', git_executable='git' DEBUG git.cmd:cmd.py:1270 Popen(['git', 'cat-file', '--batch'], cwd=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build, stdin=<valid stream>, shell=False, universal_newlines=False) =========================== short test summary info ============================ FAILED tests/unit/semantic_release/commit_parser/test_conventional.py::test_parser_return_linked_issues_from_commit_message[feat(parser): add magic parser\n\nResolves: #555Ƽ-linked_issues292] FAILED tests/unit/semantic_release/commit_parser/test_conventional.py::test_parser_return_linked_issues_from_commit_message[feat(parser): add magic parser\n\nResolves: #555& #444-linked_issues293] FAILED tests/unit/semantic_release/commit_parser/test_conventional.py::test_parser_return_linked_issues_from_commit_message[feat(parser): add magic parser\n\nResolves: #555 & #444-linked_issues294] FAILED tests/unit/semantic_release/commit_parser/test_conventional.py::test_parser_return_linked_issues_from_commit_message[feat(parser): add magic parser\n\nImplement: ABC-666, Implement: ABC-777-linked_issues891] FAILED tests/unit/semantic_release/commit_parser/test_conventional.py::test_parser_return_linked_issues_from_commit_message[feat(parser): add magic parser\n\nImplement: ABC-555\nSigned-off-by: johndoe <[email protected]>\nImplement: ABC-444-linked_issues892] FAILED tests/unit/semantic_release/commit_parser/test_conventional.py::test_parser_return_linked_issues_from_commit_message[feat(parser): add magic parser\n\nImplement ABC-666-linked_issues893] FAILED tests/unit/semantic_release/commit_parser/test_conventional.py::test_parser_return_linked_issues_from_commit_message[feat(parser): add magic parser\n\nImplement ABC-666, ABC-777-linked_issues894] FAILED tests/unit/semantic_release/commit_parser/test_conventional.py::test_parser_return_linked_issues_from_commit_message[feat(parser): add magic parser\n\nImplement ABC-666, Implement ABC-777-linked_issues895] FAILED tests/unit/semantic_release/commit_parser/test_conventional.py::test_parser_return_linked_issues_from_commit_message[feat(parser): add magic parser\n\nImplement: ABC-666andABC-777-linked_issues896] FAILED tests/unit/semantic_release/commit_parser/test_conventional.py::test_parser_return_linked_issues_from_commit_message[feat(parser): add magic parser\n\nref: ABC-666-linked_issues897] FAILED tests/unit/semantic_release/commit_parser/test_conventional.py::test_parser_return_linked_issues_from_commit_message[feat(parser): add magic parser\n\nIn ABC-666, the devils in the details...\n\nSigned-off-by: johndoe <[email protected]>-linked_issues898] FAILED tests/unit/semantic_release/commit_parser/test_emoji.py::test_parser_return_linked_issues_from_commit_message[:sparkles: (parser) add magic parser\n\nCloses: ABC-555\nSigned-off-by: johndoe <[email protected]>\nCloses: ABC-444-linked_issues551] FAILED tests/unit/semantic_release/commit_parser/test_emoji.py::test_parser_return_linked_issues_from_commit_message[:sparkles: (parser) add magic parser\n\nCloses ABC-666-linked_issues552] FAILED tests/unit/semantic_release/commit_parser/test_emoji.py::test_parser_return_linked_issues_from_commit_message[:sparkles: (parser) add magic parser\n\nCloses ABC-666, ABC-777-linked_issues553] FAILED tests/unit/semantic_release/commit_parser/test_emoji.py::test_parser_return_linked_issues_from_commit_message[:sparkles: (parser) add magic parser\n\nCloses ABC-666, Closes ABC-777-linked_issues554] FAILED tests/unit/semantic_release/commit_parser/test_emoji.py::test_parser_return_linked_issues_from_commit_message[:sparkles: (parser) add magic parser\n\nCloses: ABC-666andABC-777-linked_issues555] FAILED tests/unit/semantic_release/commit_parser/test_emoji.py::test_parser_return_linked_issues_from_commit_message[:sparkles: (parser) add magic parser\n\nref: ABC-666-linked_issues556] FAILED tests/unit/semantic_release/commit_parser/test_emoji.py::test_parser_return_linked_issues_from_commit_message[:sparkles: (parser) add magic parser\n\nIn ABC-666, the devils in the details...\n\nSigned-off-by: johndoe <[email protected]>-linked_issues557] FAILED tests/unit/semantic_release/commit_parser/test_emoji.py::test_parser_return_linked_issues_from_commit_message[:sparkles: (parser) add magic parser\n\nClosed: ABC-555-linked_issues558] FAILED tests/unit/semantic_release/commit_parser/test_scipy.py::test_parser_return_linked_issues_from_commit_message[ENH: add magic parser\n\nImplementing: #555, #444, #333-linked_issues484] FAILED tests/unit/semantic_release/commit_parser/test_scipy.py::test_parser_return_linked_issues_from_commit_message[ENH: add magic parser\n\nImplementing: #555, #3333, #444-linked_issues485] FAILED tests/unit/semantic_release/commit_parser/test_scipy.py::test_parser_return_linked_issues_from_commit_message[ENH: add magic parser\n\nImplementing: #555, #555-linked_issues486] FAILED tests/unit/semantic_release/commit_parser/test_scipy.py::test_parser_return_linked_issues_from_commit_message[ENH: add magic parser\n\nImplementing: #555\nImplementing: #555-linked_issues487] FAILED tests/unit/semantic_release/commit_parser/test_scipy.py::test_parser_return_linked_issues_from_commit_message[ENH: add magic parser\n\nImplementing: #555, Implementing: #444-linked_issues488] FAILED tests/unit/semantic_release/commit_parser/test_scipy.py::test_parser_return_linked_issues_from_commit_message[ENH: add magic parser\n\nImplementing: #555\nSigned-off-by: johndoe <[email protected]>\nImplementing: #444-linked_issues489] FAILED tests/unit/semantic_release/commit_parser/test_scipy.py::test_parser_return_linked_issues_from_commit_message[ENH: add magic parser\n\nImplementing #666-linked_issues490] FAILED tests/unit/semantic_release/commit_parser/test_scipy.py::test_parser_return_linked_issues_from_commit_message[ENH: add magic parser\n\nImplementing #666, #777-linked_issues491] ERROR tests/unit/semantic_release/hvcs/test_gitlab.py::test_gitlab_get_repository_owner_and_name[patched_os_environ0-None-None] ERROR tests/unit/semantic_release/hvcs/test_gitlab.py::test_gitlab_get_repository_owner_and_name[patched_os_environ1-path/to/repo-foo] ERROR tests/unit/semantic_release/hvcs/test_gitlab.py::test_compare_url - Att... ERROR tests/unit/semantic_release/hvcs/test_gitlab.py::test_commit_hash_url ERROR tests/unit/semantic_release/hvcs/test_gitlab.py::test_issue_url[666_0] ERROR tests/unit/semantic_release/hvcs/test_gitlab.py::test_issue_url[666_1] ERROR tests/unit/semantic_release/hvcs/test_gitlab.py::test_issue_url[#666] ERROR tests/unit/semantic_release/hvcs/test_gitlab.py::test_pull_request_url[666_0] ERROR tests/unit/semantic_release/hvcs/test_gitlab.py::test_pull_request_url[666_1] ERROR tests/unit/semantic_release/hvcs/test_gitlab.py::test_pull_request_url[!666] ERROR tests/unit/semantic_release/hvcs/test_gitlab.py::test_create_release_succeeds[v1.2.3] ERROR tests/unit/semantic_release/hvcs/test_gitlab.py::test_create_release_succeeds[v0.9.0] ERROR tests/unit/semantic_release/hvcs/test_gitlab.py::test_create_release_fails_with_bad_tag ERROR tests/unit/semantic_release/hvcs/test_gitlab.py::test_update_release_succeeds[v1.2.3] ERROR tests/unit/semantic_release/hvcs/test_gitlab.py::test_update_release_succeeds[v0.9.0] ERROR tests/unit/semantic_release/hvcs/test_gitlab.py::test_update_release_fails_with_missing_tag ERROR tests/unit/semantic_release/hvcs/test_gitlab.py::test_create_or_update_release_when_create_succeeds[True] ERROR tests/unit/semantic_release/hvcs/test_gitlab.py::test_create_or_update_release_when_create_succeeds[False] ERROR tests/unit/semantic_release/hvcs/test_gitlab.py::test_get_release_id_by_tag ERROR tests/unit/semantic_release/hvcs/test_gitlab.py::test_get_release_id_by_tag_fails ERROR tests/unit/semantic_release/hvcs/test_gitlab.py::test_get_release_id_by_tag_not_found ERROR tests/unit/semantic_release/hvcs/test_gitlab.py::test_create_or_update_release_when_create_fails_and_update_succeeds[True] ERROR tests/unit/semantic_release/hvcs/test_gitlab.py::test_create_or_update_release_when_create_fails_and_update_succeeds[False] ERROR tests/unit/semantic_release/hvcs/test_gitlab.py::test_create_or_update_release_when_create_fails_and_update_fails[True] ERROR tests/unit/semantic_release/hvcs/test_gitlab.py::test_create_or_update_release_when_create_fails_and_update_fails[False] === 27 failed, 4168 passed, 15 skipped, 931 deselected, 25 errors in 15.45s ==== E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; python3.14 -m pytest -o addopts= I: pybuild pybuild:308: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; git -c init.defaultBranch=master init Initialized empty Git repository in /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/.git/ I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; python3.13 -m pytest -o addopts= ============================= test session starts ============================== platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0 rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build configfile: pyproject.toml testpaths: tests plugins: lazy-fixtures-0.0.0, typeguard-4.4.4, mock-3.15.1, order-1.3.0, requests_mock-1.12.1, xdist-3.8.0, env-1.2.0 collected 5166 items / 931 deselected / 4235 selected tests/unit/semantic_release/changelog/test_changelog_context.py ........ [ 0%] ............ [ 0%] tests/unit/semantic_release/changelog/test_default_changelog.py ........ [ 0%] ........................ [ 1%] tests/unit/semantic_release/changelog/test_release_notes.py ............ [ 1%] ....................................................................... [ 3%] tests/unit/semantic_release/changelog/test_template.py .... [ 3%] tests/unit/semantic_release/changelog/test_template_render.py .. [ 3%] tests/unit/semantic_release/cli/test_config.py ......................... [ 3%] ..................... [ 4%] tests/unit/semantic_release/cli/test_github_actions_output.py .......... [ 4%] [ 4%] tests/unit/semantic_release/cli/test_masking_filter.py ................. [ 5%] ........... [ 5%] tests/unit/semantic_release/cli/test_util.py .......... [ 5%] tests/unit/semantic_release/cli/test_version.py ................ [ 5%] tests/unit/semantic_release/commit_parser/test_conventional.py ......... [ 6%] ........................................................................ [ 7%] ........................................................................ [ 9%] ........................................................................ [ 11%] ........................................................................ [ 12%] ........................................................................ [ 14%] ........................................................................ [ 16%] ........................................................................ [ 18%] ........................................................................ [ 19%] ........................................................................ [ 21%] ........................................................................ [ 23%] ........................................................................ [ 24%] ........................................................................ [ 26%] ........................................................................ [ 28%] ........................................................................ [ 29%] ................................... [ 30%] tests/unit/semantic_release/commit_parser/test_emoji.py ................ [ 31%] ........................................................................ [ 32%] ........................................................................ [ 34%] ........................................................................ [ 36%] ........................................................................ [ 37%] ........................................................................ [ 39%] ........................................................................ [ 41%] ........................................................................ [ 43%] ........................................................................ [ 44%] ........................................................................ [ 46%] ........................................................................ [ 48%] ........................................................................ [ 49%] ........................................................................ [ 51%] ........................................................................ [ 53%] .................................................................... [ 54%] tests/unit/semantic_release/commit_parser/test_parsed_commit.py . [ 54%] tests/unit/semantic_release/commit_parser/test_scipy.py ................ [ 55%] ........................................................................ [ 56%] ........................................................................ [ 58%] ........................................................................ [ 60%] ........................................................................ [ 62%] ........................................................................ [ 63%] ........................................................................ [ 65%] ........................................................................ [ 67%] ........................................................................ [ 68%] ........................................................................ [ 70%] ........................................................................ [ 72%] ........................................................................ [ 73%] ........................................................................ [ 75%] ........................................................................ [ 77%] ........................................................................ [ 79%] ...... [ 79%] tests/unit/semantic_release/commit_parser/test_util.py ....... [ 79%] tests/unit/semantic_release/hvcs/test__base.py .......... [ 79%] tests/unit/semantic_release/hvcs/test_bitbucket.py ..................... [ 80%] ...................................... [ 80%] tests/unit/semantic_release/hvcs/test_gitea.py ......................... [ 81%] ........................................................................ [ 83%] ..................... [ 83%] tests/unit/semantic_release/hvcs/test_github.py ........................ [ 84%] ........................................................................ [ 86%] ........................................................................ [ 87%] ..................... [ 88%] tests/unit/semantic_release/hvcs/test_gitlab.py ........................ [ 88%] ................................. [ 89%] tests/unit/semantic_release/hvcs/test_token_auth.py ... [ 89%] tests/unit/semantic_release/test_helpers.py ............................ [ 90%] .......... [ 90%] tests/unit/semantic_release/version/declarations/test_pattern_declaration.py . [ 90%] ........................ [ 91%] tests/unit/semantic_release/version/declarations/test_toml_declaration.py . [ 91%] ............ [ 91%] tests/unit/semantic_release/version/test_algorithm.py .................. [ 91%] ............... [ 92%] tests/unit/semantic_release/version/test_translator.py ................. [ 92%] ... [ 92%] tests/unit/semantic_release/version/test_version.py .................... [ 93%] ........................................................................ [ 94%] ........................................................................ [ 96%] ........................................................................ [ 98%] ....................................................... [ 99%] tests/unit/semantic_release/changelog/test_release_history.py .sssss.sss [ 99%] ss.sssss [100%] ============== 4220 passed, 15 skipped, 931 deselected in 12.84s =============== I: pybuild pybuild:334: rm -rf /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/.git/ dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 3.13" returned exit code 13 make: *** [debian/rules:8: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

