Package: src:tox-current-env Version: 0.0.16-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/202603/ 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:tox-current-env, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --with python3 --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild 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 dh_auto_build -O--buildsystem=pybuild I: pybuild plugin_pyproject:142: Building wheel for python3.14 with "build" module I: pybuild base:385: python3.14 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14 * Building wheel... /usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. [... snipped ...] # POSIX _communicate already populated the output so # far into the TimeoutExpired exception. process.wait() raise except: # Including KeyboardInterrupt, communicate handled that. process.kill() # We don't call process.wait() as .__exit__ does that for us. raise retcode = process.poll() if check and retcode: > raise CalledProcessError(retcode, process.args, output=stdout, stderr=stderr) E subprocess.CalledProcessError: Command '('/usr/bin/python3.13', '-m', 'tox', '-e', 'py313', '--print-extras-to=-')' returned non-zero exit status 1. /usr/lib/python3.13/subprocess.py:577: CalledProcessError ----------------------------- Captured stdout call ----------------------------- current /tmp/pytest-of-sbuild/pytest-1/popen-gw1/test_self_is_not_installed_Tru0/projdir running in /tmp/pytest-of-sbuild/pytest-1/popen-gw1/test_self_is_not_installed_Tru0/projdir ----------------------------- Captured stderr call ----------------------------- Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "/usr/lib/python3/dist-packages/tox/__main__.py", line 6, in <module> run() ~~~^^ File "/usr/lib/python3/dist-packages/tox/run.py", line 23, in run result = main(sys.argv[1:] if args is None else args) File "/usr/lib/python3/dist-packages/tox/run.py", line 49, in main return handler(state) File "/usr/lib/python3/dist-packages/tox/session/cmd/legacy.py", line 117, in legacy return run_sequential(state) File "/usr/lib/python3/dist-packages/tox/session/cmd/run/sequential.py", line 25, in run_sequential return execute(state, max_workers=1, has_spinner=False, live=True) File "/usr/lib/python3/dist-packages/tox/session/cmd/run/common.py", line 217, in execute state.envs.ensure_only_run_env_is_active() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/usr/lib/python3/dist-packages/tox/session/env_select.py", line 581, in ensure_only_run_env_is_active envs, active = self._defined_envs, self._env_name_to_active() ^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/tox/session/env_select.py", line 365, in _defined_envs run_env = self._build_run_env(name) File "/usr/lib/python3/dist-packages/tox/session/env_select.py", line 455, in _build_run_env run_env.register_config() ~~~~~~~~~~~~~~~~~~~~~~~^^ File "/usr/lib/python3/dist-packages/tox/tox_env/python/runner.py", line 57, in register_config self.conf.add_config( ~~~~~~~~~~~~~~~~~~~~^ keys=["extras"], ^^^^^^^^^^^^^^^^ ...<3 lines>... post_process=_normalize_extras, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/usr/lib/python3/dist-packages/tox/config/sets.py", line 101, in add_config result = self._add_conf(keys_, definition) File "/usr/lib/python3/dist-packages/tox/config/sets.py", line 129, in _add_conf self._on_duplicate_conf(key, definition) ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/tox/config/sets.py", line 140, in _on_duplicate_conf raise ValueError(msg) ValueError: duplicate configuration definition for py313: has: ConfigDynamicDefinition(keys=['extras'], desc=extras to install of the target package, of_type=typing.Set[str], default=set()) new: ConfigDynamicDefinition(keys=['extras'], desc=extras to install of the target package, of_type=set[str], default=set()) ____________ test_self_is_not_installed[False---print-extras-to=-] _____________ [gw1] linux -- Python 3.13.12 /usr/bin/python3.13 projdir = PosixPath('/tmp/pytest-of-sbuild/pytest-1/popen-gw1/test_self_is_not_installed_Fal1/projdir') flag = '--print-extras-to=-', usedevelop = False @pytest.mark.parametrize( "flag", ["--print-deps-to=-", "--print-extras-to=-", "--current-env"] ) @pytest.mark.parametrize("usedevelop", [True, False]) def test_self_is_not_installed(projdir, flag, usedevelop): with modify_config(projdir / "tox.ini") as config: config["testenv"]["usedevelop"] = str(usedevelop) > _ = tox("-e", NATIVE_TOXENV, flag, quiet=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /<<PKGBUILDDIR>>/tests/test_integration_tox4.py:542: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /<<PKGBUILDDIR>>/tests/utils.py:45: in tox cp = subprocess.run((sys.executable, "-m", "tox") + q + args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ input = None, capture_output = False, timeout = None, check = True popenargs = (('/usr/bin/python3.13', '-m', 'tox', '-e', 'py313', '--print-extras-to=-'),) kwargs = {'cwd': '/tmp/pytest-of-sbuild/pytest-1/popen-gw1/test_self_is_not_installed_Fal1/projdir', 'encoding': 'utf-8', 'env'...LD': '', 'CCACHE_DIR': '/<<PKGBUILDDIR>>/.pybuild/ccache', ...}, 'stderr': -1, ...} process = <Popen: returncode: 1 args: ('/usr/bin/python3.13', '-m', 'tox', '-e', 'py31...> stdout = '' stderr = 'Traceback (most recent call last):\n File "<frozen runpy>", line 198, in _run_module_as_main\n File "<frozen runpy>...gDynamicDefinition(keys=[\'extras\'], desc=extras to install of the target package, of_type=set[str], default=set())\n' retcode = 1 def run(*popenargs, input=None, capture_output=False, timeout=None, check=False, **kwargs): """Run command with arguments and return a CompletedProcess instance. The returned instance will have attributes args, returncode, stdout and stderr. By default, stdout and stderr are not captured, and those attributes will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them, or pass capture_output=True to capture both. If check is True and the exit code was non-zero, it raises a CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute, and output & stderr attributes if those streams were captured. If timeout (seconds) is given and the process takes too long, a TimeoutExpired exception will be raised. There is an optional argument "input", allowing you to pass bytes or a string to the subprocess's stdin. If you use this argument you may not also use the Popen constructor's "stdin" argument, as it will be used internally. By default, all communication is in bytes, and therefore any "input" should be bytes, and the stdout and stderr will be bytes. If in text mode, any "input" should be a string, and stdout and stderr will be strings decoded according to locale encoding, or by "encoding" if set. Text mode is triggered by setting any of text, encoding, errors or universal_newlines. The other arguments are the same as for the Popen constructor. """ if input is not None: if kwargs.get('stdin') is not None: raise ValueError('stdin and input arguments may not both be used.') kwargs['stdin'] = PIPE if capture_output: if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None: raise ValueError('stdout and stderr arguments may not be used ' 'with capture_output.') kwargs['stdout'] = PIPE kwargs['stderr'] = PIPE with Popen(*popenargs, **kwargs) as process: try: stdout, stderr = process.communicate(input, timeout=timeout) except TimeoutExpired as exc: process.kill() if _mswindows: # Windows accumulates the output in a single blocking # read() call run on child threads, with the timeout # being done in a join() on those threads. communicate() # _after_ kill() is required to collect that and add it # to the exception. exc.stdout, exc.stderr = process.communicate() else: # POSIX _communicate already populated the output so # far into the TimeoutExpired exception. process.wait() raise except: # Including KeyboardInterrupt, communicate handled that. process.kill() # We don't call process.wait() as .__exit__ does that for us. raise retcode = process.poll() if check and retcode: > raise CalledProcessError(retcode, process.args, output=stdout, stderr=stderr) E subprocess.CalledProcessError: Command '('/usr/bin/python3.13', '-m', 'tox', '-e', 'py313', '--print-extras-to=-')' returned non-zero exit status 1. /usr/lib/python3.13/subprocess.py:577: CalledProcessError ----------------------------- Captured stdout call ----------------------------- current /tmp/pytest-of-sbuild/pytest-1/popen-gw1/test_self_is_not_installed_Fal1/projdir running in /tmp/pytest-of-sbuild/pytest-1/popen-gw1/test_self_is_not_installed_Fal1/projdir ----------------------------- Captured stderr call ----------------------------- Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "/usr/lib/python3/dist-packages/tox/__main__.py", line 6, in <module> run() ~~~^^ File "/usr/lib/python3/dist-packages/tox/run.py", line 23, in run result = main(sys.argv[1:] if args is None else args) File "/usr/lib/python3/dist-packages/tox/run.py", line 49, in main return handler(state) File "/usr/lib/python3/dist-packages/tox/session/cmd/legacy.py", line 117, in legacy return run_sequential(state) File "/usr/lib/python3/dist-packages/tox/session/cmd/run/sequential.py", line 25, in run_sequential return execute(state, max_workers=1, has_spinner=False, live=True) File "/usr/lib/python3/dist-packages/tox/session/cmd/run/common.py", line 217, in execute state.envs.ensure_only_run_env_is_active() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/usr/lib/python3/dist-packages/tox/session/env_select.py", line 581, in ensure_only_run_env_is_active envs, active = self._defined_envs, self._env_name_to_active() ^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/tox/session/env_select.py", line 365, in _defined_envs run_env = self._build_run_env(name) File "/usr/lib/python3/dist-packages/tox/session/env_select.py", line 455, in _build_run_env run_env.register_config() ~~~~~~~~~~~~~~~~~~~~~~~^^ File "/usr/lib/python3/dist-packages/tox/tox_env/python/runner.py", line 57, in register_config self.conf.add_config( ~~~~~~~~~~~~~~~~~~~~^ keys=["extras"], ^^^^^^^^^^^^^^^^ ...<3 lines>... post_process=_normalize_extras, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/usr/lib/python3/dist-packages/tox/config/sets.py", line 101, in add_config result = self._add_conf(keys_, definition) File "/usr/lib/python3/dist-packages/tox/config/sets.py", line 129, in _add_conf self._on_duplicate_conf(key, definition) ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/tox/config/sets.py", line 140, in _on_duplicate_conf raise ValueError(msg) ValueError: duplicate configuration definition for py313: has: ConfigDynamicDefinition(keys=['extras'], desc=extras to install of the target package, of_type=typing.Set[str], default=set()) new: ConfigDynamicDefinition(keys=['extras'], desc=extras to install of the target package, of_type=set[str], default=set()) current /<<PKGBUILDDIR>> running in /<<PKGBUILDDIR>> 4.49.1 from /usr/lib/python3/dist-packages/tox/__init__.py registered plugins: tox-current-env-0.0.16 at /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tox_current_env/hooks.py =========================== short test summary info ============================ FAILED tests/test_integration_tox4.py::test_print_extras_with_commands_pre_post[--print-extras-to-file=--pre-py38] FAILED tests/test_integration_tox4.py::test_print_extras_with_commands_pre_post[--print-extras-to-file=--pre-py39] FAILED tests/test_integration_tox4.py::test_print_extras_with_commands_pre_post[--print-extras-to-file=--pre-py310] FAILED tests/test_integration_tox4.py::test_print_extras_with_commands_pre_post[--print-extras-to-file=--pre-py311] FAILED tests/test_integration_tox4.py::test_print_extras_with_commands_pre_post[--print-extras-to-file=--post-py38] FAILED tests/test_integration_tox4.py::test_print_extras_with_commands_pre_post[--print-extras-to-file=--post-py39] FAILED tests/test_integration_tox4.py::test_print_extras_with_commands_pre_post[--print-extras-to-file=--post-py310] FAILED tests/test_integration_tox4.py::test_print_extras_with_commands_pre_post[--print-extras-to-file=--post-py311] FAILED tests/test_integration_tox4.py::test_print_extras_with_commands_pre_post[--print-extras-to-file=--both-py38] FAILED tests/test_integration_tox4.py::test_print_extras[--print-extras-to-file=--py38] FAILED tests/test_integration_tox4.py::test_print_extras_with_commands_pre_post[--print-extras-to-file=--both-py39] FAILED tests/test_integration_tox4.py::test_print_extras[--print-extras-to-file=--py39] FAILED tests/test_integration_tox4.py::test_print_extras_with_commands_pre_post[--print-extras-to-file=--both-py310] FAILED tests/test_integration_tox4.py::test_print_extras[--print-extras-to-file=--py310] FAILED tests/test_integration_tox4.py::test_print_extras_with_commands_pre_post[--print-extras-to-file=--both-py311] FAILED tests/test_integration_tox4.py::test_print_extras[--print-extras-to-file=--py311] FAILED tests/test_integration_tox4.py::test_print_extras_with_commands_pre_post[--print-extras-to=--pre-py38] FAILED tests/test_integration_tox4.py::test_print_extras[--print-extras-to=--py38] FAILED tests/test_integration_tox4.py::test_print_extras_with_commands_pre_post[--print-extras-to=--pre-py39] FAILED tests/test_integration_tox4.py::test_print_extras[--print-extras-to=--py39] FAILED tests/test_integration_tox4.py::test_print_extras_with_commands_pre_post[--print-extras-to=--pre-py310] FAILED tests/test_integration_tox4.py::test_print_extras[--print-extras-to=--py310] FAILED tests/test_integration_tox4.py::test_print_extras_with_commands_pre_post[--print-extras-to=--pre-py311] FAILED tests/test_integration_tox4.py::test_print_extras[--print-extras-to=--py311] FAILED tests/test_integration_tox4.py::test_print_extras_with_commands_pre_post[--print-extras-to=--post-py38] FAILED tests/test_integration_tox4.py::test_print_extras_with_commands_pre_post[--print-extras-to=--post-py39] FAILED tests/test_integration_tox4.py::test_print_extras_with_commands_pre_post[--print-extras-to=--post-py310] FAILED tests/test_integration_tox4.py::test_print_extras_with_commands_pre_post[--print-extras-to=--post-py311] FAILED tests/test_integration_tox4.py::test_print_extras_with_commands_pre_post[--print-extras-to=--both-py38] FAILED tests/test_integration_tox4.py::test_print_extras_with_commands_pre_post[--print-extras-to=--both-py39] FAILED tests/test_integration_tox4.py::test_print_extras_with_commands_pre_post[--print-extras-to=--both-py310] FAILED tests/test_integration_tox4.py::test_print_extras_with_commands_pre_post[--print-extras-to=--both-py311] FAILED tests/test_integration_tox4.py::test_print_extras_to_file[py38] - subp... FAILED tests/test_integration_tox4.py::test_allenvs_print_extras_to_file[--print-extras-to] FAILED tests/test_integration_tox4.py::test_print_extras_to_file[py39] - subp... FAILED tests/test_integration_tox4.py::test_allenvs_print_extras_to_file[--print-extras-to-file] FAILED tests/test_integration_tox4.py::test_print_extras_to_file[py310] - sub... FAILED tests/test_integration_tox4.py::test_print_extras_to_file[py311] - sub... FAILED tests/test_integration_tox4.py::test_allenvs_print_extras_to_existing_file FAILED tests/test_integration_tox4.py::test_allenvs_print_deps_to_file_print_extras_to_other_file[False-False] FAILED tests/test_integration_tox4.py::test_allenvs_print_deps_to_file_print_extras_to_other_file_print_dependency_groups_to_other_file[True-False-False] FAILED tests/test_integration_tox4.py::test_allenvs_print_deps_to_file_print_extras_to_other_file[True-False] FAILED tests/test_integration_tox4.py::test_allenvs_print_deps_to_file_print_extras_to_other_file_print_dependency_groups_to_other_file[False-True-False] FAILED tests/test_integration_tox4.py::test_allenvs_print_deps_to_file_print_extras_to_other_file[False-True] FAILED tests/test_integration_tox4.py::test_allenvs_print_deps_to_file_print_extras_to_other_file_print_dependency_groups_to_other_file[False-False-True] FAILED tests/test_integration_tox4.py::test_allenvs_print_deps_to_file_print_extras_to_other_file_print_dependency_groups_to_other_file[False-False-False] FAILED tests/test_integration_tox4.py::test_self_is_not_installed[True---print-extras-to=-] FAILED tests/test_integration_tox4.py::test_self_is_not_installed[False---print-extras-to=-] ================== 48 failed, 128 passed, 8 skipped in 35.65s ================== E: pybuild pybuild:485: test: plugin custom failed with: exit code=1: python3.13 -m pytest -k 'not regular and not noquiet_installed_packages[None]' -v dh_auto_test: error: pybuild --test --test-tox -i python{version} -p "3.14 3.13" --parallel=2 returned exit code 13 make[1]: *** [debian/rules:8: override_dh_auto_test] Error 25 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:4: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------

