#1131691 tox-current-env: FTBFS: ValueError: duplicate configuration definition for py313

Package:
src:tox-current-env
Source:
src:tox-current-env
Submitter:
Santiago Vila
Date:
2026-10-24 07:51:02 UTC
Severity:
normal
Tags:
#1131691#5
Date:
2026-03-23 11:55:49 UTC
From:
To:
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:
/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())

            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

/<<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:
/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
--------------------------------------------------------------------------------

#1131691#16
Date:
2026-09-28 20:44:02 UTC
From:
To:
user debian-python@lists.debian.org
usertags 1131691 python3.15
thanks

Hi!

While rebuilding the python related packages against the Python 3.15rc2
version we ran into this FTBFS:
https://debusine.debian.net/debian/r-python-python3.15/artifact/4858104/

The error is very similar, but now it's related to Python 3.14 (and also
3.15 in a different part of the log):

                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

/build/reproducible-path/tox-current-env-0.0.16/tests/test_integration_tox4.py:128:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _
/build/reproducible-path/tox-current-env-0.0.16/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.14', '-m', 'tox', '-q', '-e', 'py311',
...),)
kwargs = {'encoding': 'utf-8', 'stdout': -1, 'stderr': -1, 'cwd':
'/tmp/pytest-of-sbuild/pytest-1/popen-gw2/test_print_extras___print_extr0/projdir',
...}

     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:
'--print-extras-to-file=-')' returned non-zero exit status 1.

/usr/lib/python3.14/subprocess.py:578: CalledProcessError
----------------------------- Captured stdout call 
-----------------------------
current
/tmp/pytest-of-sbuild/pytest-1/popen-gw2/test_print_extras___print_extr0/projdir
running in
/tmp/pytest-of-sbuild/pytest-1/popen-gw2/test_print_extras___print_extr0/projdir
----------------------------- Captured stderr call 
-----------------------------
Traceback (most recent call last):
   File "<frozen runpy>", line 203, 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
610, 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
384, in _defined_envs
     run_env = self._build_run_env(name)
   File "/usr/lib/python3/dist-packages/tox/session/env_select.py", line
474, 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 py311:
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_print_extras_with_commands_pre_post[--print-extras-to-file=--post-py39]
_
[gw0] linux -- Python 3.14.7 /usr/bin/python3.14

projdir =
PosixPath('/tmp/pytest-of-sbuild/pytest-1/popen-gw0/test_print_extras_with_command0/projdir')
toxenv = 'py39', pre_post = 'post'
print_extras_stdout_arg = '--print-extras-to-file=-'

     @pytest.mark.parametrize("toxenv", envs_from_tox_ini())
     @pytest.mark.parametrize("pre_post", ["pre", "post", "both"])
     def test_print_extras_with_commands_pre_post(projdir, toxenv,
pre_post, print_extras_stdout_arg):
         with modify_config(projdir / 'tox.ini') as config:
             if pre_post == "both":
                 config["testenv"]["commands_pre"] = "echo unexpected"
                 config["testenv"]["commands_post"] = "echo unexpected"
             else:
                 config["testenv"][f"commands_{pre_post}"] = "echo
unexpected"
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

/build/reproducible-path/tox-current-env-0.0.16/tests/test_integration_tox4.py:174:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _
/build/reproducible-path/tox-current-env-0.0.16/tests/utils.py:45: in
tox
     cp = subprocess.run((sys.executable, "-m", "tox") + q + args,
**kwargs)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _

Please consider investigating the root cause to get this package back in
a healthy state.

#1131691#21
Date:
2026-10-24 07:49:08 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
tox-current-env, 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 1131691@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stuart Prescott <stuart@debian.org> (supplier of updated tox-current-env 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: Sat, 24 Oct 2026 18:23:16 +1100
Source: tox-current-env
Architecture: source
Version: 0.0.17-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Stuart Prescott <stuart@debian.org>
Closes: 1131691
Changes:
 tox-current-env (0.0.17-1) unstable; urgency=medium
 .
   * Team upload.
   * New upstream release
     - provides compatibility with tox > 0.4.44 (Closes: #1131691).
   * Update Standards-Version to 4.7.4 (no changes required).
Checksums-Sha1:
 c54343a72513b839615e53480750dbcd21652870 2556 tox-current-env_0.0.17-1.dsc
 0dc53c2fa2a4fe1870db3fbbb0b822877253d86f 18805 tox-current-env_0.0.17.orig.tar.gz
 62b08f29ab164d2b5b3fb2c481e43c42f535d423 4184 tox-current-env_0.0.17-1.debian.tar.xz
 be611acab28bcc836e96e0116d998bde707a04db 47920 tox-current-env_0.0.17-1.git.tar.xz
 0d9e3fc344644e5d25480cbea41c16dea2510a7f 17768 tox-current-env_0.0.17-1_source.buildinfo
Checksums-Sha256:
 8aa50734c5bed862a72e582606f64812ad39156e4729a7e1d1fd92a51a8919bc 2556 tox-current-env_0.0.17-1.dsc
 6620803eaef77f0a41899b77f7f22d2b5947f5965201fa2bf0d45c5f835585b2 18805 tox-current-env_0.0.17.orig.tar.gz
 17d35b2e356bc743d70c0bdd32071a116c334eff5701de1205f79d0a5d5748fa 4184 tox-current-env_0.0.17-1.debian.tar.xz
 b5c36dcaede062e6ed300ab6e37db8e4ba29745d0752a41aa3f4c2ab11152ba2 47920 tox-current-env_0.0.17-1.git.tar.xz
 3a55b6276e44cd6aaa1405fc6b1dbf1896bbebd86b4b8c490ec9b2c4f3cb0ba3 17768 tox-current-env_0.0.17-1_source.buildinfo
Files:
 8e994ab9ef046f90d0ed6cb965949ce0 2556 python optional tox-current-env_0.0.17-1.dsc
 715715d8105e7752e5f15ff2317c4833 18805 python optional tox-current-env_0.0.17.orig.tar.gz
 3b174b4e08d0d69527e0a932ebf71b20 4184 python optional tox-current-env_0.0.17-1.debian.tar.xz
 954e2bb31dd640e570fd1782ff5b8b10 47920 python None tox-current-env_0.0.17-1.git.tar.xz
 0606ae602d68abfad60edda9a7e52ab8 17768 python optional tox-current-env_0.0.17-1_source.buildinfo
Git-Tag-Info: tag=d2974b300a2cc0d86a465f0d6ffcf3077c747e10 fp=90e2d2c1ad146a1b7ebb891dbbc17ebb1396f2f7
Git-Tag-Tagger: Stuart Prescott <stuart@debian.org>
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmrcXaMACgkQYG0ITkaD
wHkCOQ//SWWRUVuMBlBJOTtBcrMtZ3ypVh6SVkT9Uq792MbVDzKLa/S+Pgs7F1MW
ub9Bo9DwKxyT7dKxk+vsHO6I0oNfJBbpGiQcVLk4eMdQA1gabiBD91XqobMlt1r9
ThbskoAoZwj3CSBIOLhXZg5pjuIAqgGXn9Ir58hAa9OHlasqTohGnYMlBB5Y2hPQ
xr7j9wUF8klLQZhaFIRqgQe5ev+tuzlOGaRNf8QVL0xq5sYtjGDkee5bj8VUOlXR
nboEaYeoleOZp9Y8pT3DudtHTvS7s6N+p9kaUhQY0GjQWw0aKGl5S5zINfVlDt6r
Kdg/ReIZBpxaYpEj70XUw6OwNYoycSqGC4nxYaoF+JQhoZN6gPYMWi8h03C13fKl
7M5QWDJ9qhZMhkxvqX94/rBcAdt3QSVplWwqyMUCNp9Jt4pjrH/tJz0NA7hyn6rk
y3g/wCpn/nB5VknzsQj2Vkq5X8Bmt6EGv5uKdVqMN7/MemE7VsyjxZ2W/xzVKXfA
e/1h1ISZIuocjyR7Wjvlrz3ARdJim3qgXEF+Nn/h/3IZHNCgs0NEu2dfzZT6xRCj
z4B3nHCSkmSGotWpuJNLsxlI8jEbwsc7ECHPvkkbuwFfcb7D1CFJcbYFnCIedE7i
JHE+dJrz2xYVvY/knA+9uGIzBgLBBrJlHlpZ4O/7x5TeBLO6vuI=
=pQGw
-----END PGP SIGNATURE-----