Repository: tox-dev/tox

Issue:
AttributeError: 'Parsed' object has no attribute 'list_dependencies' on `tox list`
## Issue

I get a traceback, when I try to do a `tox list` for a project, whos `tox.ini` contains a `requires`:

<details open>
<summary>Traceback of <code>tox list</code></summary>

```console
ROOT: will run in automatically provisioned tox, host /home/tha/.local/pipx/venvs/tox/bin/python is missing [requires (has)]: tox>=4.12 (4.11.4)
ROOT: install_deps> python -I -m pip install 'tox>=4.0' 'tox>=4.12'
Traceback (most recent call last):
  File "/home/tha/.local/bin/tox", line 8, in <module>
    sys.exit(run())
             ^^^^^
  File "/home/tha/.local/pipx/venvs/tox/lib/python3.11/site-packages/tox/run.py", line 19, in run
    result = main(sys.argv[1:] if args is None else args)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/tha/.local/pipx/venvs/tox/lib/python3.11/site-packages/tox/run.py", line 41, in main
    result = provision(state)
             ^^^^^^^^^^^^^^^^
  File "/home/tha/.local/pipx/venvs/tox/lib/python3.11/site-packages/tox/provision.py", line 122, in provision
    return run_provision(provision_tox_env, state)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/tha/.local/pipx/venvs/tox/lib/python3.11/site-packages/tox/provision.py", line 144, in run_provision
    tox_env.setup()
  File "/home/tha/.local/pipx/venvs/tox/lib/python3.11/site-packages/tox/tox_env/api.py", line 256, in setup
    self._done_with_setup()
  File "/home/tha/.local/pipx/venvs/tox/lib/python3.11/site-packages/tox/tox_env/python/api.py", line 232, in _done_with_setup
    if self.journal or self.options.list_dependencies:
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Parsed' object has no attribute 'list_dependencies'
```
</details>

<details open>
<summary>Output of <code>tox -rvv list</code></summary>

```console
ROOT: 138 W will run in automatically provisioned tox, host /home/tha/.local/pipx/venvs/tox/bin/python is missing [requires (has)]: tox>=4.12 (4.11.4) [tox/provision.py:121]
ROOT: 142 I find interpreter for spec PythonSpec(path=/home/tha/.local/pipx/venvs/tox/bin/python) [virtualenv/discovery/builtin.py:58]
ROOT: 143 D got python info of %s from (PosixPath('/home/tha/.pyenv/versions/3.11.6/bin/python3.11'), PosixPath('/home/tha/.local/share/virtualenv/py_info/1/c2025cc9f711cee73b7d38aa5b9f94801635333be9ad6a21bb9d4900b1ce3e8a.json')) [virtualenv/app_data/via_disk_folder.py:131]
ROOT: 143 I proposed PythonInfo(spec=CPython3.11.6.final.0-64, system=/home/tha/.pyenv/versions/3.11.6/bin/python3.11, exe=/home/tha/.local/pipx/venvs/tox/bin/python, platform=linux, version='3.11.6 (main, Nov 29 2023, 14:52:30) [GCC 13.2.1 20231011 (Red Hat 13.2.1-4)]', encoding_fs_io=utf-8-utf-8) [virtualenv/discovery/builtin.py:65]
ROOT: 143 D accepted PythonInfo(spec=CPython3.11.6.final.0-64, system=/home/tha/.pyenv/versions/3.11.6/bin/python3.11, exe=/home/tha/.local/pipx/venvs/tox/bin/python, platform=linux, version='3.11.6 (main, Nov 29 2023, 14:52:30) [GCC 13.2.1 20231011 (Red Hat 13.2.1-4)]', encoding_fs_io=utf-8-utf-8) [virtualenv/discovery/builtin.py:67]
ROOT: 144 D filesystem is case-sensitive [virtualenv/info.py:26]
ROOT: 163 I will run in a automatically provisioned python environment under /home/tha/temp/tox_test/.tox/.tox/bin/python [tox/provision.py:142]
ROOT: 163 W remove tox env folder /home/tha/temp/tox_test/.tox/.tox [tox/tox_env/api.py:322]
ROOT: 235 I create virtual environment via CPython3Posix(dest=/home/tha/temp/tox_test/.tox/.tox, clear=False, no_vcs_ignore=False, global=False) [virtualenv/run/session.py:50]
ROOT: 235 D create folder /home/tha/temp/tox_test/.tox/.tox/bin [virtualenv/util/path/_sync.py:12]
ROOT: 235 D create folder /home/tha/temp/tox_test/.tox/.tox/lib/python3.11/site-packages [virtualenv/util/path/_sync.py:12]
ROOT: 235 D write /home/tha/temp/tox_test/.tox/.tox/pyvenv.cfg [virtualenv/create/pyenv_cfg.py:32]
ROOT: 235 D 	home = /home/tha/.pyenv/versions/3.11.6/bin [virtualenv/create/pyenv_cfg.py:36]
ROOT: 235 D 	implementation = CPython [virtualenv/create/pyenv_cfg.py:36]
ROOT: 235 D 	version_info = 3.11.6.final.0 [virtualenv/create/pyenv_cfg.py:36]
ROOT: 235 D 	virtualenv = 20.24.7 [virtualenv/create/pyenv_cfg.py:36]
ROOT: 235 D 	include-system-site-packages = false [virtualenv/create/pyenv_cfg.py:36]
ROOT: 235 D 	base-prefix = /home/tha/.pyenv/versions/3.11.6 [virtualenv/create/pyenv_cfg.py:36]
ROOT: 235 D 	base-exec-prefix = /home/tha/.pyenv/versions/3.11.6 [virtualenv/create/pyenv_cfg.py:36]
ROOT: 235 D 	base-executable = /home/tha/.pyenv/versions/3.11.6/bin/python3.11 [virtualenv/create/pyenv_cfg.py:36]
ROOT: 236 D symlink /home/tha/.pyenv/versions/3.11.6/bin/python3.11 to /home/tha/temp/tox_test/.tox/.tox/bin/python [virtualenv/util/path/_sync.py:32]
ROOT: 236 D create virtualenv import hook file /home/tha/temp/tox_test/.tox/.tox/lib/python3.11/site-packages/_virtualenv.pth [virtualenv/create/via_global_ref/api.py:91]
ROOT: 236 D create /home/tha/temp/tox_test/.tox/.tox/lib/python3.11/site-packages/_virtualenv.py [virtualenv/create/via_global_ref/api.py:94]
ROOT: 236 D ============================== target debug ============================== [virtualenv/run/session.py:52]
ROOT: 236 D debug via /home/tha/temp/tox_test/.tox/.tox/bin/python /home/tha/.local/pipx/venvs/tox/lib/python3.11/site-packages/virtualenv/create/debug.py [virtualenv/create/creator.py:200]
ROOT: 236 D {
  "sys": {
    "executable": "/home/tha/temp/tox_test/.tox/.tox/bin/python",
    "_base_executable": "/home/tha/.pyenv/versions/3.11.6/bin/python3.11",
    "prefix": "/home/tha/temp/tox_test/.tox/.tox",
    "base_prefix": "/home/tha/.pyenv/versions/3.11.6",
    "real_prefix": null,
    "exec_prefix": "/home/tha/temp/tox_test/.tox/.tox",
    "base_exec_prefix": "/home/tha/.pyenv/versions/3.11.6",
    "path": [
      "/home/tha/.pyenv/versions/3.11.6/lib/python311.zip",
      "/home/tha/.pyenv/versions/3.11.6/lib/python3.11",
      "/home/tha/.pyenv/versions/3.11.6/lib/python3.11/lib-dynload",
      "/home/tha/temp/tox_test/.tox/.tox/lib/python3.11/site-packages"
    ],
    "meta_path": [
      "<class '_virtualenv._Finder'>",
      "<class '_frozen_importlib.BuiltinImporter'>",
      "<class '_frozen_importlib.FrozenImporter'>",
      "<class '_frozen_importlib_external.PathFinder'>"
    ],
    "fs_encoding": "utf-8",
    "io_encoding": "utf-8"
  },
  "version": "3.11.6 (main, Nov 29 2023, 14:52:30) [GCC 13.2.1 20231011 (Red Hat 13.2.1-4)]",
  "makefile_filename": "/home/tha/.pyenv/versions/3.11.6/lib/python3.11/config-3.11-x86_64-linux-gnu/Makefile",
  "os": "<module 'os' (frozen)>",
  "site": "<module 'site' (frozen)>",
  "datetime": "<module 'datetime' from '/home/tha/.pyenv/versions/3.11.6/lib/python3.11/datetime.py'>",
  "math": "<module 'math' from '/home/tha/.pyenv/versions/3.11.6/lib/python3.11/lib-dynload/math.cpython-311-x86_64-linux-gnu.so'>",
  "json": "<module 'json' from '/home/tha/.pyenv/versions/3.11.6/lib/python3.11/json/__init__.py'>"
} [virtualenv/run/session.py:53]
ROOT: 259 I add seed packages via FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/home/tha/.local/share/virtualenv) [virtualenv/run/session.py:57]
ROOT: 261 D got embed update of distribution %s from ('pip', PosixPath('/home/tha/.local/share/virtualenv/wheel/3.11/embed/3/pip.json')) [virtualenv/app_data/via_disk_folder.py:131]
ROOT: 262 D got embed update of distribution %s from ('setuptools', PosixPath('/home/tha/.local/share/virtualenv/wheel/3.11/embed/3/setuptools.json')) [virtualenv/app_data/via_disk_folder.py:131]
ROOT: 262 D got embed update of distribution %s from ('wheel', PosixPath('/home/tha/.local/share/virtualenv/wheel/3.11/embed/3/wheel.json')) [virtualenv/app_data/via_disk_folder.py:131]
ROOT: 263 D using periodically updated wheel /home/tha/.local/share/virtualenv/wheel/house/wheel-0.42.0-py3-none-any.whl [virtualenv/seed/wheels/periodic_update.py:49]
ROOT: 263 D using periodically updated wheel /home/tha/.local/share/virtualenv/wheel/house/pip-23.3.2-py3-none-any.whl [virtualenv/seed/wheels/periodic_update.py:49]
ROOT: 264 D using periodically updated wheel /home/tha/.local/share/virtualenv/wheel/house/setuptools-69.0.3-py3-none-any.whl [virtualenv/seed/wheels/periodic_update.py:49]
ROOT: 264 D install wheel from wheel /home/tha/.local/share/virtualenv/wheel/house/wheel-0.42.0-py3-none-any.whl via CopyPipInstall [virtualenv/seed/embed/via_app_data/via_app_data.py:49]
ROOT: 264 D install pip from wheel /home/tha/.local/share/virtualenv/wheel/house/pip-23.3.2-py3-none-any.whl via CopyPipInstall [virtualenv/seed/embed/via_app_data/via_app_data.py:49]
ROOT: 264 D install setuptools from wheel /home/tha/.local/share/virtualenv/wheel/house/setuptools-69.0.3-py3-none-any.whl via CopyPipInstall [virtualenv/seed/embed/via_app_data/via_app_data.py:49]
ROOT: 266 D copy directory /home/tha/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/pip-23.3.2-py3-none-any/pip to /home/tha/temp/tox_test/.tox/.tox/lib/python3.11/site-packages/pip [virtualenv/util/path/_sync.py:40]
ROOT: 266 D copy /home/tha/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/setuptools-69.0.3-py3-none-any/distutils-precedence.pth to /home/tha/temp/tox_test/.tox/.tox/lib/python3.11/site-packages/distutils-precedence.pth [virtualenv/util/path/_sync.py:40]
ROOT: 266 D copy directory /home/tha/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/wheel-0.42.0-py3-none-any/wheel to /home/tha/temp/tox_test/.tox/.tox/lib/python3.11/site-packages/wheel [virtualenv/util/path/_sync.py:40]
ROOT: 266 D copy directory /home/tha/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/setuptools-69.0.3-py3-none-any/_distutils_hack to /home/tha/temp/tox_test/.tox/.tox/lib/python3.11/site-packages/_distutils_hack [virtualenv/util/path/_sync.py:40]
ROOT: 267 D copy directory /home/tha/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/setuptools-69.0.3-py3-none-any/pkg_resources to /home/tha/temp/tox_test/.tox/.tox/lib/python3.11/site-packages/pkg_resources [virtualenv/util/path/_sync.py:40]
ROOT: 275 D copy directory /home/tha/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/wheel-0.42.0-py3-none-any/wheel-0.42.0.dist-info to /home/tha/temp/tox_test/.tox/.tox/lib/python3.11/site-packages/wheel-0.42.0.dist-info [virtualenv/util/path/_sync.py:40]
ROOT: 277 D copy /home/tha/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/wheel-0.42.0-py3-none-any/wheel-0.42.0.virtualenv to /home/tha/temp/tox_test/.tox/.tox/lib/python3.11/site-packages/wheel-0.42.0.virtualenv [virtualenv/util/path/_sync.py:40]
ROOT: 278 D generated console scripts wheel-3.11 wheel3.11 wheel3 wheel [virtualenv/seed/embed/via_app_data/pip_install/base.py:43]
ROOT: 282 D copy directory /home/tha/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/setuptools-69.0.3-py3-none-any/setuptools to /home/tha/temp/tox_test/.tox/.tox/lib/python3.11/site-packages/setuptools [virtualenv/util/path/_sync.py:40]
ROOT: 319 D copy directory /home/tha/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/setuptools-69.0.3-py3-none-any/setuptools-69.0.3.dist-info to /home/tha/temp/tox_test/.tox/.tox/lib/python3.11/site-packages/setuptools-69.0.3.dist-info [virtualenv/util/path/_sync.py:40]
ROOT: 320 D copy /home/tha/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/setuptools-69.0.3-py3-none-any/setuptools-69.0.3.virtualenv to /home/tha/temp/tox_test/.tox/.tox/lib/python3.11/site-packages/setuptools-69.0.3.virtualenv [virtualenv/util/path/_sync.py:40]
ROOT: 321 D generated console scripts  [virtualenv/seed/embed/via_app_data/pip_install/base.py:43]
ROOT: 357 D copy directory /home/tha/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/pip-23.3.2-py3-none-any/pip-23.3.2.dist-info to /home/tha/temp/tox_test/.tox/.tox/lib/python3.11/site-packages/pip-23.3.2.dist-info [virtualenv/util/path/_sync.py:40]
ROOT: 358 D copy /home/tha/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/pip-23.3.2-py3-none-any/pip-23.3.2.virtualenv to /home/tha/temp/tox_test/.tox/.tox/lib/python3.11/site-packages/pip-23.3.2.virtualenv [virtualenv/util/path/_sync.py:40]
ROOT: 359 D generated console scripts pip-3.11 pip3 pip pip3.11 [virtualenv/seed/embed/via_app_data/pip_install/base.py:43]
ROOT: 359 I add activators for Bash, CShell, Fish, Nushell, PowerShell, Python [virtualenv/run/session.py:63]
ROOT: 361 D write /home/tha/temp/tox_test/.tox/.tox/pyvenv.cfg [virtualenv/create/pyenv_cfg.py:32]
ROOT: 361 D 	home = /home/tha/.pyenv/versions/3.11.6/bin [virtualenv/create/pyenv_cfg.py:36]
ROOT: 361 D 	implementation = CPython [virtualenv/create/pyenv_cfg.py:36]
ROOT: 362 D 	version_info = 3.11.6.final.0 [virtualenv/create/pyenv_cfg.py:36]
ROOT: 362 D 	virtualenv = 20.24.7 [virtualenv/create/pyenv_cfg.py:36]
ROOT: 362 D 	include-system-site-packages = false [virtualenv/create/pyenv_cfg.py:36]
ROOT: 362 D 	base-prefix = /home/tha/.pyenv/versions/3.11.6 [virtualenv/create/pyenv_cfg.py:36]
ROOT: 362 D 	base-exec-prefix = /home/tha/.pyenv/versions/3.11.6 [virtualenv/create/pyenv_cfg.py:36]
ROOT: 362 D 	base-executable = /home/tha/.pyenv/versions/3.11.6/bin/python3.11 [virtualenv/create/pyenv_cfg.py:36]
ROOT: 364 W install_deps> python -I -m pip install 'tox>=4.0' 'tox>=4.12' [tox/tox_env/api.py:427]
Collecting tox>=4.0
  Using cached tox-4.12.1-py3-none-any.whl.metadata (5.0 kB)
Collecting cachetools>=5.3.2 (from tox>=4.0)
  Using cached cachetools-5.3.2-py3-none-any.whl.metadata (5.2 kB)
Collecting chardet>=5.2 (from tox>=4.0)
  Using cached chardet-5.2.0-py3-none-any.whl.metadata (3.4 kB)
Collecting colorama>=0.4.6 (from tox>=4.0)
  Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB)
Collecting filelock>=3.13.1 (from tox>=4.0)
  Using cached filelock-3.13.1-py3-none-any.whl.metadata (2.8 kB)
Collecting packaging>=23.2 (from tox>=4.0)
  Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB)
Collecting platformdirs>=4.1 (from tox>=4.0)
  Using cached platformdirs-4.1.0-py3-none-any.whl.metadata (11 kB)
Collecting pluggy>=1.3 (from tox>=4.0)
  Using cached pluggy-1.3.0-py3-none-any.whl.metadata (4.3 kB)
Collecting pyproject-api>=1.6.1 (from tox>=4.0)
  Using cached pyproject_api-1.6.1-py3-none-any.whl.metadata (2.8 kB)
Collecting virtualenv>=20.25 (from tox>=4.0)
  Using cached virtualenv-20.25.0-py3-none-any.whl.metadata (4.5 kB)
Collecting distlib<1,>=0.3.7 (from virtualenv>=20.25->tox>=4.0)
  Using cached distlib-0.3.8-py2.py3-none-any.whl.metadata (5.1 kB)
Using cached tox-4.12.1-py3-none-any.whl (154 kB)
Using cached cachetools-5.3.2-py3-none-any.whl (9.3 kB)
Using cached chardet-5.2.0-py3-none-any.whl (199 kB)
Using cached filelock-3.13.1-py3-none-any.whl (11 kB)
Using cached packaging-23.2-py3-none-any.whl (53 kB)
Using cached platformdirs-4.1.0-py3-none-any.whl (17 kB)
Using cached pluggy-1.3.0-py3-none-any.whl (18 kB)
Using cached pyproject_api-1.6.1-py3-none-any.whl (12 kB)
Using cached virtualenv-20.25.0-py3-none-any.whl (3.8 MB)
Using cached distlib-0.3.8-py2.py3-none-any.whl (468 kB)
Installing collected packages: distlib, pluggy, platformdirs, packaging, filelock, colorama, chardet, cachetools, virtualenv, pyproject-api, tox
Successfully installed cachetools-5.3.2 chardet-5.2.0 colorama-0.4.6 distlib-0.3.8 filelock-3.13.1 packaging-23.2 platformdirs-4.1.0 pluggy-1.3.0 pyproject-api-1.6.1 tox-4.12.1 virtualenv-20.25.0
ROOT: 3125 I exit 0 (2.76 seconds) /home/tha/temp/tox_test> python -I -m pip install 'tox>=4.0' 'tox>=4.12' pid=786874 [tox/execute/api.py:279]
Traceback (most recent call last):
  File "/home/tha/.local/bin/tox", line 8, in <module>
    sys.exit(run())
             ^^^^^
  File "/home/tha/.local/pipx/venvs/tox/lib/python3.11/site-packages/tox/run.py", line 19, in run
    result = main(sys.argv[1:] if args is None else args)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/tha/.local/pipx/venvs/tox/lib/python3.11/site-packages/tox/run.py", line 41, in main
    result = provision(state)
             ^^^^^^^^^^^^^^^^
  File "/home/tha/.local/pipx/venvs/tox/lib/python3.11/site-packages/tox/provision.py", line 122, in provision
    return run_provision(provision_tox_env, state)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/tha/.local/pipx/venvs/tox/lib/python3.11/site-packages/tox/provision.py", line 144, in run_provision
    tox_env.setup()
  File "/home/tha/.local/pipx/venvs/tox/lib/python3.11/site-packages/tox/tox_env/api.py", line 256, in setup
    self._done_with_setup()
  File "/home/tha/.local/pipx/venvs/tox/lib/python3.11/site-packages/tox/tox_env/python/api.py", line 232, in _done_with_setup
    if self.journal or self.options.list_dependencies:
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Parsed' object has no attribute 'list_dependencies'
```
</details>

This only happens, if the `tox.ini` contains a `requires`, which requires to provision a new tox environment. If the tox from the host is used, this error does not occur.

This had already been reported as https://github.com/tox-dev/tox/issues/3042, but had been closed, because the python version was EOL. In this case, the Python version used is 3.11.

## Environment

Provide at least:

- OS: Fedora 39

<details open>
<summary>Output of <code>pip list</code> of the host Python, where <code>tox</code> is installed</summary>

```console
Package       Version
------------- -------
cachetools    5.3.2
chardet       5.2.0
colorama      0.4.6
distlib       0.3.7
filelock      3.13.1
packaging     23.2
pip           23.3.2
platformdirs  4.0.0
pluggy        1.3.0
pyproject-api 1.6.1
setuptools    69.0.3
tox           4.11.4
virtualenv    20.24.7
wheel         0.42.0
```

</details>

## Output of running tox

<details open>
<summary>Output of <code>tox -rvv</code></summary>

```console
ROOT: 131 W will run in automatically provisioned tox, host /home/tha/.local/pipx/venvs/tox/bin/python is missing [requires (has)]: tox>=4.12 (4.11.4) [tox/provision.py:121]
ROOT: 136 I find interpreter for spec PythonSpec(path=/home/tha/.local/pipx/venvs/tox/bin/python) [virtualenv/discovery/builtin.py:58]
ROOT: 136 D got python info of %s from (PosixPath('/home/tha/.pyenv/versions/3.11.6/bin/python3.11'), PosixPath('/home/tha/.local/share/virtualenv/py_info/1/c2025cc9f711cee73b7d38aa5b9f94801635333be9ad6a21bb9d4900b1ce3e8a.json')) [virtualenv/app_data/via_disk_folder.py:131]
ROOT: 137 I proposed PythonInfo(spec=CPython3.11.6.final.0-64, system=/home/tha/.pyenv/versions/3.11.6/bin/python3.11, exe=/home/tha/.local/pipx/venvs/tox/bin/python, platform=linux, version='3.11.6 (main, Nov 29 2023, 14:52:30) [GCC 13.2.1 20231011 (Red Hat 13.2.1-4)]', encoding_fs_io=utf-8-utf-8) [virtualenv/discovery/builtin.py:65]
ROOT: 137 D accepted PythonInfo(spec=CPython3.11.6.final.0-64, system=/home/tha/.pyenv/versions/3.11.6/bin/python3.11, exe=/home/tha/.local/pipx/venvs/tox/bin/python, platform=linux, version='3.11.6 (main, Nov 29 2023, 14:52:30) [GCC 13.2.1 20231011 (Red Hat 13.2.1-4)]', encoding_fs_io=utf-8-utf-8) [virtualenv/discovery/builtin.py:67]
ROOT: 138 D filesystem is case-sensitive [virtualenv/info.py:26]
ROOT: 157 I will run in a automatically provisioned python environment under /home/tha/temp/tox_test/.tox/.tox/bin/python [tox/provision.py:142]
ROOT: 158 W remove tox env folder /home/tha/temp/tox_test/.tox/.tox [tox/tox_env/api.py:322]
ROOT: 232 I create virtual environment via CPython3Posix(dest=/home/tha/temp/tox_test/.tox/.tox, clear=False, no_vcs_ignore=False, global=False) [virtualenv/run/session.py:50]
ROOT: 232 D create folder /home/tha/temp/tox_test/.tox/.tox/bin [virtualenv/util/path/_sync.py:12]
ROOT: 232 D create folder /home/tha/temp/tox_test/.tox/.tox/lib/python3.11/site-packages [virtualenv/util/path/_sync.py:12]
ROOT: 233 D write /home/tha/temp/tox_test/.tox/.tox/pyvenv.cfg [virtualenv/create/pyenv_cfg.py:32]
ROOT: 233 D 	home = /home/tha/.pyenv/versions/3.11.6/bin [virtualenv/create/pyenv_cfg.py:36]
ROOT: 233 D 	implementation = CPython [virtualenv/create/pyenv_cfg.py:36]
ROOT: 233 D 	version_info = 3.11.6.final.0 [virtualenv/create/pyenv_cfg.py:36]
ROOT: 233 D 	virtualenv = 20.24.7 [virtualenv/create/pyenv_cfg.py:36]
ROOT: 233 D 	include-system-site-packages = false [virtualenv/create/pyenv_cfg.py:36]
ROOT: 233 D 	base-prefix = /home/tha/.pyenv/versions/3.11.6 [virtualenv/create/pyenv_cfg.py:36]
ROOT: 233 D 	base-exec-prefix = /home/tha/.pyenv/versions/3.11.6 [virtualenv/create/pyenv_cfg.py:36]
ROOT: 233 D 	base-executable = /home/tha/.pyenv/versions/3.11.6/bin/python3.11 [virtualenv/create/pyenv_cfg.py:36]
ROOT: 233 D symlink /home/tha/.pyenv/versions/3.11.6/bin/python3.11 to /home/tha/temp/tox_test/.tox/.tox/bin/python [virtualenv/util/path/_sync.py:32]
ROOT: 233 D create virtualenv import hook file /home/tha/temp/tox_test/.tox/.tox/lib/python3.11/site-packages/_virtualenv.pth [virtualenv/create/via_global_ref/api.py:91]
ROOT: 234 D create /home/tha/temp/tox_test/.tox/.tox/lib/python3.11/site-packages/_virtualenv.py [virtualenv/create/via_global_ref/api.py:94]
ROOT: 234 D ============================== target debug ============================== [virtualenv/run/session.py:52]
ROOT: 234 D debug via /home/tha/temp/tox_test/.tox/.tox/bin/python /home/tha/.local/pipx/venvs/tox/lib/python3.11/site-packages/virtualenv/create/debug.py [virtualenv/create/creator.py:200]
ROOT: 234 D {
  "sys": {
    "executable": "/home/tha/temp/tox_test/.tox/.tox/bin/python",
    "_base_executable": "/home/tha/.pyenv/versions/3.11.6/bin/python3.11",
    "prefix": "/home/tha/temp/tox_test/.tox/.tox",
    "base_prefix": "/home/tha/.pyenv/versions/3.11.6",
    "real_prefix": null,
    "exec_prefix": "/home/tha/temp/tox_test/.tox/.tox",
    "base_exec_prefix": "/home/tha/.pyenv/versions/3.11.6",
    "path": [
      "/home/tha/.pyenv/versions/3.11.6/lib/python311.zip",
      "/home/tha/.pyenv/versions/3.11.6/lib/python3.11",
      "/home/tha/.pyenv/versions/3.11.6/lib/python3.11/lib-dynload",
      "/home/tha/temp/tox_test/.tox/.tox/lib/python3.11/site-packages"
    ],
    "meta_path": [
      "<class '_virtualenv._Finder'>",
      "<class '_frozen_importlib.BuiltinImporter'>",
      "<class '_frozen_importlib.FrozenImporter'>",
      "<class '_frozen_importlib_external.PathFinder'>"
    ],
    "fs_encoding": "utf-8",
    "io_encoding": "utf-8"
  },
  "version": "3.11.6 (main, Nov 29 2023, 14:52:30) [GCC 13.2.1 20231011 (Red Hat 13.2.1-4)]",
  "makefile_filename": "/home/tha/.pyenv/versions/3.11.6/lib/python3.11/config-3.11-x86_64-linux-gnu/Makefile",
  "os": "<module 'os' (frozen)>",
  "site": "<module 'site' (frozen)>",
  "datetime": "<module 'datetime' from '/home/tha/.pyenv/versions/3.11.6/lib/python3.11/datetime.py'>",
  "math": "<module 'math' from '/home/tha/.pyenv/versions/3.11.6/lib/python3.11/lib-dynload/math.cpython-311-x86_64-linux-gnu.so'>",
  "json": "<module 'json' from '/home/tha/.pyenv/versions/3.11.6/lib/python3.11/json/__init__.py'>"
} [virtualenv/run/session.py:53]
ROOT: 259 I add seed packages via FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/home/tha/.local/share/virtualenv) [virtualenv/run/session.py:57]
ROOT: 260 D got embed update of distribution %s from ('pip', PosixPath('/home/tha/.local/share/virtualenv/wheel/3.11/embed/3/pip.json')) [virtualenv/app_data/via_disk_folder.py:131]
ROOT: 261 D got embed update of distribution %s from ('setuptools', PosixPath('/home/tha/.local/share/virtualenv/wheel/3.11/embed/3/setuptools.json')) [virtualenv/app_data/via_disk_folder.py:131]
ROOT: 261 D got embed update of distribution %s from ('wheel', PosixPath('/home/tha/.local/share/virtualenv/wheel/3.11/embed/3/wheel.json')) [virtualenv/app_data/via_disk_folder.py:131]
ROOT: 263 D using periodically updated wheel /home/tha/.local/share/virtualenv/wheel/house/wheel-0.42.0-py3-none-any.whl [virtualenv/seed/wheels/periodic_update.py:49]
ROOT: 263 D using periodically updated wheel /home/tha/.local/share/virtualenv/wheel/house/pip-23.3.2-py3-none-any.whl [virtualenv/seed/wheels/periodic_update.py:49]
ROOT: 263 D using periodically updated wheel /home/tha/.local/share/virtualenv/wheel/house/setuptools-69.0.3-py3-none-any.whl [virtualenv/seed/wheels/periodic_update.py:49]
ROOT: 264 D install wheel from wheel /home/tha/.local/share/virtualenv/wheel/house/wheel-0.42.0-py3-none-any.whl via CopyPipInstall [virtualenv/seed/embed/via_app_data/via_app_data.py:49]
ROOT: 264 D install pip from wheel /home/tha/.local/share/virtualenv/wheel/house/pip-23.3.2-py3-none-any.whl via CopyPipInstall [virtualenv/seed/embed/via_app_data/via_app_data.py:49]
ROOT: 264 D install setuptools from wheel /home/tha/.local/share/virtualenv/wheel/house/setuptools-69.0.3-py3-none-any.whl via CopyPipInstall [virtualenv/seed/embed/via_app_data/via_app_data.py:49]
ROOT: 265 D copy directory /home/tha/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/wheel-0.42.0-py3-none-any/wheel to /home/tha/temp/tox_test/.tox/.tox/lib/python3.11/site-packages/wheel [virtualenv/util/path/_sync.py:40]
ROOT: 266 D copy directory /home/tha/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/pip-23.3.2-py3-none-any/pip to /home/tha/temp/tox_test/.tox/.tox/lib/python3.11/site-packages/pip [virtualenv/util/path/_sync.py:40]
ROOT: 266 D copy /home/tha/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/setuptools-69.0.3-py3-none-any/distutils-precedence.pth to /home/tha/temp/tox_test/.tox/.tox/lib/python3.11/site-packages/distutils-precedence.pth [virtualenv/util/path/_sync.py:40]
ROOT: 267 D copy directory /home/tha/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/setuptools-69.0.3-py3-none-any/_distutils_hack to /home/tha/temp/tox_test/.tox/.tox/lib/python3.11/site-packages/_distutils_hack [virtualenv/util/path/_sync.py:40]
ROOT: 268 D copy directory /home/tha/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/setuptools-69.0.3-py3-none-any/pkg_resources to /home/tha/temp/tox_test/.tox/.tox/lib/python3.11/site-packages/pkg_resources [virtualenv/util/path/_sync.py:40]
ROOT: 276 D copy directory /home/tha/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/wheel-0.42.0-py3-none-any/wheel-0.42.0.dist-info to /home/tha/temp/tox_test/.tox/.tox/lib/python3.11/site-packages/wheel-0.42.0.dist-info [virtualenv/util/path/_sync.py:40]
ROOT: 278 D copy /home/tha/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/wheel-0.42.0-py3-none-any/wheel-0.42.0.virtualenv to /home/tha/temp/tox_test/.tox/.tox/lib/python3.11/site-packages/wheel-0.42.0.virtualenv [virtualenv/util/path/_sync.py:40]
ROOT: 280 D generated console scripts wheel wheel-3.11 wheel3.11 wheel3 [virtualenv/seed/embed/via_app_data/pip_install/base.py:43]
ROOT: 286 D copy directory /home/tha/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/setuptools-69.0.3-py3-none-any/setuptools to /home/tha/temp/tox_test/.tox/.tox/lib/python3.11/site-packages/setuptools [virtualenv/util/path/_sync.py:40]
ROOT: 330 D copy directory /home/tha/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/setuptools-69.0.3-py3-none-any/setuptools-69.0.3.dist-info to /home/tha/temp/tox_test/.tox/.tox/lib/python3.11/site-packages/setuptools-69.0.3.dist-info [virtualenv/util/path/_sync.py:40]
ROOT: 332 D copy /home/tha/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/setuptools-69.0.3-py3-none-any/setuptools-69.0.3.virtualenv to /home/tha/temp/tox_test/.tox/.tox/lib/python3.11/site-packages/setuptools-69.0.3.virtualenv [virtualenv/util/path/_sync.py:40]
ROOT: 333 D generated console scripts  [virtualenv/seed/embed/via_app_data/pip_install/base.py:43]
ROOT: 369 D copy directory /home/tha/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/pip-23.3.2-py3-none-any/pip-23.3.2.dist-info to /home/tha/temp/tox_test/.tox/.tox/lib/python3.11/site-packages/pip-23.3.2.dist-info [virtualenv/util/path/_sync.py:40]
ROOT: 371 D copy /home/tha/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/pip-23.3.2-py3-none-any/pip-23.3.2.virtualenv to /home/tha/temp/tox_test/.tox/.tox/lib/python3.11/site-packages/pip-23.3.2.virtualenv [virtualenv/util/path/_sync.py:40]
ROOT: 372 D generated console scripts pip3 pip3.11 pip-3.11 pip [virtualenv/seed/embed/via_app_data/pip_install/base.py:43]
ROOT: 372 I add activators for Bash, CShell, Fish, Nushell, PowerShell, Python [virtualenv/run/session.py:63]
ROOT: 374 D write /home/tha/temp/tox_test/.tox/.tox/pyvenv.cfg [virtualenv/create/pyenv_cfg.py:32]
ROOT: 374 D 	home = /home/tha/.pyenv/versions/3.11.6/bin [virtualenv/create/pyenv_cfg.py:36]
ROOT: 374 D 	implementation = CPython [virtualenv/create/pyenv_cfg.py:36]
ROOT: 374 D 	version_info = 3.11.6.final.0 [virtualenv/create/pyenv_cfg.py:36]
ROOT: 374 D 	virtualenv = 20.24.7 [virtualenv/create/pyenv_cfg.py:36]
ROOT: 374 D 	include-system-site-packages = false [virtualenv/create/pyenv_cfg.py:36]
ROOT: 374 D 	base-prefix = /home/tha/.pyenv/versions/3.11.6 [virtualenv/create/pyenv_cfg.py:36]
ROOT: 374 D 	base-exec-prefix = /home/tha/.pyenv/versions/3.11.6 [virtualenv/create/pyenv_cfg.py:36]
ROOT: 374 D 	base-executable = /home/tha/.pyenv/versions/3.11.6/bin/python3.11 [virtualenv/create/pyenv_cfg.py:36]
ROOT: 376 W install_deps> python -I -m pip install 'tox>=4.0' 'tox>=4.12' [tox/tox_env/api.py:427]
Looking in indexes: https://pypi.org/simple, https://code.contact.de/api/v4/projects/590/packages/pypi/simple, https://code.contact.de/api/v4/projects/1017/packages/pypi/simple
Collecting tox>=4.0
  Using cached tox-4.12.1-py3-none-any.whl.metadata (5.0 kB)
Collecting cachetools>=5.3.2 (from tox>=4.0)
  Using cached cachetools-5.3.2-py3-none-any.whl.metadata (5.2 kB)
Collecting chardet>=5.2 (from tox>=4.0)
  Using cached chardet-5.2.0-py3-none-any.whl.metadata (3.4 kB)
Collecting colorama>=0.4.6 (from tox>=4.0)
  Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB)
Collecting filelock>=3.13.1 (from tox>=4.0)
  Using cached filelock-3.13.1-py3-none-any.whl.metadata (2.8 kB)
Collecting packaging>=23.2 (from tox>=4.0)
  Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB)
Collecting platformdirs>=4.1 (from tox>=4.0)
  Using cached platformdirs-4.1.0-py3-none-any.whl.metadata (11 kB)
Collecting pluggy>=1.3 (from tox>=4.0)
  Using cached pluggy-1.3.0-py3-none-any.whl.metadata (4.3 kB)
Collecting pyproject-api>=1.6.1 (from tox>=4.0)
  Using cached pyproject_api-1.6.1-py3-none-any.whl.metadata (2.8 kB)
Collecting virtualenv>=20.25 (from tox>=4.0)
  Using cached virtualenv-20.25.0-py3-none-any.whl.metadata (4.5 kB)
Collecting distlib<1,>=0.3.7 (from virtualenv>=20.25->tox>=4.0)
  Using cached distlib-0.3.8-py2.py3-none-any.whl.metadata (5.1 kB)
Using cached tox-4.12.1-py3-none-any.whl (154 kB)
Using cached cachetools-5.3.2-py3-none-any.whl (9.3 kB)
Using cached chardet-5.2.0-py3-none-any.whl (199 kB)
Using cached filelock-3.13.1-py3-none-any.whl (11 kB)
Using cached packaging-23.2-py3-none-any.whl (53 kB)
Using cached platformdirs-4.1.0-py3-none-any.whl (17 kB)
Using cached pluggy-1.3.0-py3-none-any.whl (18 kB)
Using cached pyproject_api-1.6.1-py3-none-any.whl (12 kB)
Using cached virtualenv-20.25.0-py3-none-any.whl (3.8 MB)
Using cached distlib-0.3.8-py2.py3-none-any.whl (468 kB)
Installing collected packages: distlib, pluggy, platformdirs, packaging, filelock, colorama, chardet, cachetools, virtualenv, pyproject-api, tox
Successfully installed cachetools-5.3.2 chardet-5.2.0 colorama-0.4.6 distlib-0.3.8 filelock-3.13.1 packaging-23.2 platformdirs-4.1.0 pluggy-1.3.0 pyproject-api-1.6.1 tox-4.12.1 virtualenv-20.25.0
ROOT: 6561 I exit 0 (6.18 seconds) /home/tha/temp/tox_test> python -I -m pip install 'tox>=4.0' 'tox>=4.12' pid=775699 [tox/execute/api.py:279]
ROOT: 6561 W provision> .tox/.tox/bin/python -m tox -rvv [tox/tox_env/api.py:427]
py: 170 W remove tox env folder /home/tha/temp/tox_test/.tox/py [tox/tox_env/api.py:325]
py: 208 I find interpreter for spec PythonSpec(path=/home/tha/temp/tox_test/.tox/.tox/bin/python) [virtualenv/discovery/builtin.py:58]
py: 209 D got python info of %s from (PosixPath('/home/tha/.pyenv/versions/3.11.6/bin/python3.11'), PosixPath('/home/tha/.local/share/virtualenv/py_info/1/c2025cc9f711cee73b7d38aa5b9f94801635333be9ad6a21bb9d4900b1ce3e8a.json')) [virtualenv/app_data/via_disk_folder.py:131]
py: 209 I proposed PythonInfo(spec=CPython3.11.6.final.0-64, system=/home/tha/.pyenv/versions/3.11.6/bin/python3.11, exe=/home/tha/temp/tox_test/.tox/.tox/bin/python, platform=linux, version='3.11.6 (main, Nov 29 2023, 14:52:30) [GCC 13.2.1 20231011 (Red Hat 13.2.1-4)]', encoding_fs_io=utf-8-utf-8) [virtualenv/discovery/builtin.py:65]
py: 209 D accepted PythonInfo(spec=CPython3.11.6.final.0-64, system=/home/tha/.pyenv/versions/3.11.6/bin/python3.11, exe=/home/tha/temp/tox_test/.tox/.tox/bin/python, platform=linux, version='3.11.6 (main, Nov 29 2023, 14:52:30) [GCC 13.2.1 20231011 (Red Hat 13.2.1-4)]', encoding_fs_io=utf-8-utf-8) [virtualenv/discovery/builtin.py:67]
py: 211 D filesystem is case-sensitive [virtualenv/info.py:26]
py: 233 I create virtual environment via CPython3Posix(dest=/home/tha/temp/tox_test/.tox/py, clear=False, no_vcs_ignore=False, global=False) [virtualenv/run/session.py:50]
py: 233 D create folder /home/tha/temp/tox_test/.tox/py/bin [virtualenv/util/path/_sync.py:12]
py: 233 D create folder /home/tha/temp/tox_test/.tox/py/lib/python3.11/site-packages [virtualenv/util/path/_sync.py:12]
py: 234 D write /home/tha/temp/tox_test/.tox/py/pyvenv.cfg [virtualenv/create/pyenv_cfg.py:32]
py: 234 D 	home = /home/tha/.pyenv/versions/3.11.6/bin [virtualenv/create/pyenv_cfg.py:36]
py: 234 D 	implementation = CPython [virtualenv/create/pyenv_cfg.py:36]
py: 234 D 	version_info = 3.11.6.final.0 [virtualenv/create/pyenv_cfg.py:36]
py: 234 D 	virtualenv = 20.25.0 [virtualenv/create/pyenv_cfg.py:36]
py: 234 D 	include-system-site-packages = false [virtualenv/create/pyenv_cfg.py:36]
py: 234 D 	base-prefix = /home/tha/.pyenv/versions/3.11.6 [virtualenv/create/pyenv_cfg.py:36]
py: 234 D 	base-exec-prefix = /home/tha/.pyenv/versions/3.11.6 [virtualenv/create/pyenv_cfg.py:36]
py: 234 D 	base-executable = /home/tha/.pyenv/versions/3.11.6/bin/python3.11 [virtualenv/create/pyenv_cfg.py:36]
py: 234 D symlink /home/tha/.pyenv/versions/3.11.6/bin/python3.11 to /home/tha/temp/tox_test/.tox/py/bin/python [virtualenv/util/path/_sync.py:32]
py: 235 D create virtualenv import hook file /home/tha/temp/tox_test/.tox/py/lib/python3.11/site-packages/_virtualenv.pth [virtualenv/create/via_global_ref/api.py:91]
py: 235 D create /home/tha/temp/tox_test/.tox/py/lib/python3.11/site-packages/_virtualenv.py [virtualenv/create/via_global_ref/api.py:94]
py: 235 D ============================== target debug ============================== [virtualenv/run/session.py:52]
py: 235 D debug via /home/tha/temp/tox_test/.tox/py/bin/python /home/tha/temp/tox_test/.tox/.tox/lib/python3.11/site-packages/virtualenv/create/debug.py [virtualenv/create/creator.py:200]
py: 235 D {
  "sys": {
    "executable": "/home/tha/temp/tox_test/.tox/py/bin/python",
    "_base_executable": "/home/tha/.pyenv/versions/3.11.6/bin/python3.11",
    "prefix": "/home/tha/temp/tox_test/.tox/py",
    "base_prefix": "/home/tha/.pyenv/versions/3.11.6",
    "real_prefix": null,
    "exec_prefix": "/home/tha/temp/tox_test/.tox/py",
    "base_exec_prefix": "/home/tha/.pyenv/versions/3.11.6",
    "path": [
      "/home/tha/.pyenv/versions/3.11.6/lib/python311.zip",
      "/home/tha/.pyenv/versions/3.11.6/lib/python3.11",
      "/home/tha/.pyenv/versions/3.11.6/lib/python3.11/lib-dynload",
      "/home/tha/temp/tox_test/.tox/py/lib/python3.11/site-packages"
    ],
    "meta_path": [
      "<class '_virtualenv._Finder'>",
      "<class '_frozen_importlib.BuiltinImporter'>",
      "<class '_frozen_importlib.FrozenImporter'>",
      "<class '_frozen_importlib_external.PathFinder'>"
    ],
    "fs_encoding": "utf-8",
    "io_encoding": "utf-8"
  },
  "version": "3.11.6 (main, Nov 29 2023, 14:52:30) [GCC 13.2.1 20231011 (Red Hat 13.2.1-4)]",
  "makefile_filename": "/home/tha/.pyenv/versions/3.11.6/lib/python3.11/config-3.11-x86_64-linux-gnu/Makefile",
  "os": "<module 'os' (frozen)>",
  "site": "<module 'site' (frozen)>",
  "datetime": "<module 'datetime' from '/home/tha/.pyenv/versions/3.11.6/lib/python3.11/datetime.py'>",
  "math": "<module 'math' from '/home/tha/.pyenv/versions/3.11.6/lib/python3.11/lib-dynload/math.cpython-311-x86_64-linux-gnu.so'>",
  "json": "<module 'json' from '/home/tha/.pyenv/versions/3.11.6/lib/python3.11/json/__init__.py'>"
} [virtualenv/run/session.py:53]
py: 261 I add seed packages via FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/home/tha/.local/share/virtualenv) [virtualenv/run/session.py:57]
py: 263 D got embed update of distribution %s from ('pip', PosixPath('/home/tha/.local/share/virtualenv/wheel/3.11/embed/3/pip.json')) [virtualenv/app_data/via_disk_folder.py:131]
py: 265 D got embed update of distribution %s from ('setuptools', PosixPath('/home/tha/.local/share/virtualenv/wheel/3.11/embed/3/setuptools.json')) [virtualenv/app_data/via_disk_folder.py:131]
py: 266 D using periodically updated wheel /home/tha/.local/share/virtualenv/wheel/house/pip-23.3.2-py3-none-any.whl [virtualenv/seed/wheels/periodic_update.py:49]
py: 266 D got embed update of distribution %s from ('wheel', PosixPath('/home/tha/.local/share/virtualenv/wheel/3.11/embed/3/wheel.json')) [virtualenv/app_data/via_disk_folder.py:131]
py: 266 D using periodically updated wheel /home/tha/.local/share/virtualenv/wheel/house/setuptools-69.0.3-py3-none-any.whl [virtualenv/seed/wheels/periodic_update.py:49]
py: 267 D install pip from wheel /home/tha/.local/share/virtualenv/wheel/house/pip-23.3.2-py3-none-any.whl via CopyPipInstall [virtualenv/seed/embed/via_app_data/via_app_data.py:49]
py: 267 D install wheel from wheel /home/tha/temp/tox_test/.tox/.tox/lib/python3.11/site-packages/virtualenv/seed/wheels/embed/wheel-0.42.0-py3-none-any.whl via CopyPipInstall [virtualenv/seed/embed/via_app_data/via_app_data.py:49]
py: 267 D install setuptools from wheel /home/tha/.local/share/virtualenv/wheel/house/setuptools-69.0.3-py3-none-any.whl via CopyPipInstall [virtualenv/seed/embed/via_app_data/via_app_data.py:49]
py: 269 D copy directory /home/tha/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/pip-23.3.2-py3-none-any/pip to /home/tha/temp/tox_test/.tox/py/lib/python3.11/site-packages/pip [virtualenv/util/path/_sync.py:40]
py: 269 D copy /home/tha/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/setuptools-69.0.3-py3-none-any/distutils-precedence.pth to /home/tha/temp/tox_test/.tox/py/lib/python3.11/site-packages/distutils-precedence.pth [virtualenv/util/path/_sync.py:40]
py: 269 D copy directory /home/tha/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/wheel-0.42.0-py3-none-any/wheel to /home/tha/temp/tox_test/.tox/py/lib/python3.11/site-packages/wheel [virtualenv/util/path/_sync.py:40]
py: 270 D copy directory /home/tha/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/setuptools-69.0.3-py3-none-any/_distutils_hack to /home/tha/temp/tox_test/.tox/py/lib/python3.11/site-packages/_distutils_hack [virtualenv/util/path/_sync.py:40]
py: 271 D copy directory /home/tha/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/setuptools-69.0.3-py3-none-any/pkg_resources to /home/tha/temp/tox_test/.tox/py/lib/python3.11/site-packages/pkg_resources [virtualenv/util/path/_sync.py:40]
py: 280 D copy directory /home/tha/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/wheel-0.42.0-py3-none-any/wheel-0.42.0.dist-info to /home/tha/temp/tox_test/.tox/py/lib/python3.11/site-packages/wheel-0.42.0.dist-info [virtualenv/util/path/_sync.py:40]
py: 283 D copy /home/tha/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/wheel-0.42.0-py3-none-any/wheel-0.42.0.virtualenv to /home/tha/temp/tox_test/.tox/py/lib/python3.11/site-packages/wheel-0.42.0.virtualenv [virtualenv/util/path/_sync.py:40]
py: 285 D generated console scripts wheel3.11 wheel wheel-3.11 wheel3 [virtualenv/seed/embed/via_app_data/pip_install/base.py:43]
py: 291 D copy directory /home/tha/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/setuptools-69.0.3-py3-none-any/setuptools to /home/tha/temp/tox_test/.tox/py/lib/python3.11/site-packages/setuptools [virtualenv/util/path/_sync.py:40]
py: 345 D copy directory /home/tha/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/setuptools-69.0.3-py3-none-any/setuptools-69.0.3.dist-info to /home/tha/temp/tox_test/.tox/py/lib/python3.11/site-packages/setuptools-69.0.3.dist-info [virtualenv/util/path/_sync.py:40]
py: 347 D copy /home/tha/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/setuptools-69.0.3-py3-none-any/setuptools-69.0.3.virtualenv to /home/tha/temp/tox_test/.tox/py/lib/python3.11/site-packages/setuptools-69.0.3.virtualenv [virtualenv/util/path/_sync.py:40]
py: 348 D generated console scripts  [virtualenv/seed/embed/via_app_data/pip_install/base.py:43]
py: 386 D copy directory /home/tha/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/pip-23.3.2-py3-none-any/pip-23.3.2.dist-info to /home/tha/temp/tox_test/.tox/py/lib/python3.11/site-packages/pip-23.3.2.dist-info [virtualenv/util/path/_sync.py:40]
py: 387 D copy /home/tha/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/pip-23.3.2-py3-none-any/pip-23.3.2.virtualenv to /home/tha/temp/tox_test/.tox/py/lib/python3.11/site-packages/pip-23.3.2.virtualenv [virtualenv/util/path/_sync.py:40]
py: 388 D generated console scripts pip3 pip3.11 pip pip-3.11 [virtualenv/seed/embed/via_app_data/pip_install/base.py:43]
py: 388 I add activators for Bash, CShell, Fish, Nushell, PowerShell, Python [virtualenv/run/session.py:63]
py: 391 D write /home/tha/temp/tox_test/.tox/py/pyvenv.cfg [virtualenv/create/pyenv_cfg.py:32]
py: 391 D 	home = /home/tha/.pyenv/versions/3.11.6/bin [virtualenv/create/pyenv_cfg.py:36]
py: 391 D 	implementation = CPython [virtualenv/create/pyenv_cfg.py:36]
py: 391 D 	version_info = 3.11.6.final.0 [virtualenv/create/pyenv_cfg.py:36]
py: 391 D 	virtualenv = 20.25.0 [virtualenv/create/pyenv_cfg.py:36]
py: 391 D 	include-system-site-packages = false [virtualenv/create/pyenv_cfg.py:36]
py: 391 D 	base-prefix = /home/tha/.pyenv/versions/3.11.6 [virtualenv/create/pyenv_cfg.py:36]
py: 391 D 	base-exec-prefix = /home/tha/.pyenv/versions/3.11.6 [virtualenv/create/pyenv_cfg.py:36]
py: 391 D 	base-executable = /home/tha/.pyenv/versions/3.11.6/bin/python3.11 [virtualenv/create/pyenv_cfg.py:36]
  py: OK (0.23 seconds)
  congratulations :) (0.28 seconds)
```

</details>

## Minimal example

<!--  If possible, provide a minimal reproducer for the issue. -->

tox.ini:
```ini
[tox]
min_version=4.0
requires = tox>=4.12
```

The `requires` here is set to `tox>=4.12` to demonstrate the issue. In my real example, there is another tox-plugin required, of course.


Discussion:
PR welcome.



Patch:
diff --git a/docs/changelog/3190.bugfix.rst b/docs/changelog/3190.bugfix.rst
new file mode 100644
index 000000000..1415fa365
--- /dev/null
+++ b/docs/changelog/3190.bugfix.rst
@@ -0,0 +1,1 @@
+Add provision arguments to ToxParser to fix crash when provisioning new tox environment without list-dependencies by :user:`seyidaniels`
diff --git a/src/tox/config/cli/parser.py b/src/tox/config/cli/parser.py
index 55cdfb4f8..7afe87753 100644
--- a/src/tox/config/cli/parser.py
+++ b/src/tox/config/cli/parser.py
@@ -5,13 +5,15 @@
 import argparse
 import logging
 import os
+import random
 import sys
-from argparse import SUPPRESS, Action, ArgumentDefaultsHelpFormatter, ArgumentParser, Namespace
+from argparse import SUPPRESS, Action, ArgumentDefaultsHelpFormatter, ArgumentError, ArgumentParser, Namespace
 from pathlib import Path
 from typing import TYPE_CHECKING, Any, Callable, Dict, List, Literal, Optional, Sequence, Tuple, Type, TypeVar, cast
 
 from tox.config.loader.str_convert import StrConvert
 from tox.plugin import NAME
+from tox.util.ci import is_ci
 
 from .env_var import get_env_var
 from .ini import IniConfig
@@ -178,8 +180,75 @@ def add_command(
                 excl_group = group.add_mutually_exclusive_group(**e_kwargs)
                 for a_args, _, a_kwargs in arguments:
                     excl_group.add_argument(*a_args, **a_kwargs)
+        self._add_provision_arguments(sub_parser)
         return sub_parser
 
+    def _add_provision_arguments(self, sub_parser: ToxParser) -> None:  # noqa: PLR6301
+        sub_parser.add_argument(
+            "--result-json",
+            dest="result_json",
+            metavar="path",
+            of_type=Path,
+            default=None,
+            help="write a JSON file with detailed information about all commands and results involved",
+        )
+
+        class SeedAction(Action):
+            def __call__(
+                self,
+                parser: ArgumentParser,  # noqa: ARG002
+                namespace: Namespace,
+                values: str | Sequence[Any] | None,
+                option_string: str | None = None,  # noqa: ARG002
+            ) -> None:
+                if values == "notset":
+                    result = None
+                else:
+                    try:
+                        result = int(cast(str, values))
+                        if result <= 0:
+                            msg = "must be greater than zero"
+                            raise ValueError(msg)  # noqa: TRY301
+                    except ValueError as exc:
+                        raise ArgumentError(self, str(exc)) from exc
+                setattr(namespace, self.dest, result)
+
+        if os.environ.get("PYTHONHASHSEED", "random") != "random":
+            hashseed_default = int(os.environ["PYTHONHASHSEED"])
+        else:
+            hashseed_default = random.randint(1, 1024 if sys.platform == "win32" else 4294967295)  # noqa: S311
+        sub_parser.add_argument(
+            "--hashseed",
+            metavar="SEED",
+            help="set PYTHONHASHSEED to SEED before running commands. Defaults to a random integer in the range "
+            "[1, 4294967295] ([1, 1024] on Windows). Passing 'notset' suppresses this behavior.",
+            action=SeedAction,
+            of_type=Optional[int],  # type: ignore[arg-type]
+            default=hashseed_default,
+            dest="hash_seed",
+        )
+        sub_parser.add_argument(
+            "--discover",
+            dest="discover",
+            nargs="+",
+            metavar="path",
+            help="for Python discovery first try the Python executables under these paths",
+            default=[],
+        )
+        list_deps = sub_parser.add_mutually_exclusive_group()
+        list_deps.add_argument(
+            "--list-dependencies",
+            action="store_true",
+            default=is_ci(),
+            help="list the dependencies installed during environment setup",
+        )
+        list_deps.add_argument(
+            "--no-list-dependencies",
+            action="store_false",
+            dest="list_dependencies",
+            help="never list the dependencies installed during environment setup",
+        )
+
     def add_argument_group(self, *args: Any, **kwargs: Any) -> Any:
         result = super().add_argument_group(*args, **kwargs)
         if self.of_cmd is None and args not in {("positional arguments",), ("optional arguments",)}:
diff --git a/src/tox/plugin/__init__.py b/src/tox/plugin/__init__.py
index 7ec350875..c8bff4b03 100644
--- a/src/tox/plugin/__init__.py
+++ b/src/tox/plugin/__init__.py
@@ -1,6 +1,6 @@
 """
 tox uses `pluggy <https://pluggy.readthedocs.io/en/stable/>`_ to customize the default behavior. It provides an
-extension mechanism for plugin management an calling hooks.
+extension mechanism for plugin management by calling hooks.
 
 Pluggy discovers a plugin by looking up for entry-points named ``tox``, for example in a pyproject.toml:
 
diff --git a/src/tox/session/cmd/run/common.py b/src/tox/session/cmd/run/common.py
index fbddbcce9..07731dab6 100644
--- a/src/tox/session/cmd/run/common.py
+++ b/src/tox/session/cmd/run/common.py
@@ -4,8 +4,6 @@
 
 import logging
 import os
-import random
-import sys
 import time
 from argparse import Action, ArgumentError, ArgumentParser, Namespace
 from concurrent.futures import CancelledError, Future, ThreadPoolExecutor, as_completed
@@ -21,7 +19,6 @@
 from tox.journal import write_journal
 from tox.session.cmd.run.single import ToxEnvRunResult, run_one
 from tox.tox_env.runner import RunToxEnv
-from tox.util.ci import is_ci
 from tox.util.graph import stable_topological_sort
 from tox.util.spinner import MISS_DURATION, Spinner
 
@@ -62,17 +59,8 @@ def __call__(
         setattr(namespace, self.dest, path)
 
 
-def env_run_create_flags(parser: ArgumentParser, mode: str) -> None:  # noqa: C901
+def env_run_create_flags(parser: ArgumentParser, mode: str) -> None:
     # mode can be one of: run, run-parallel, legacy, devenv, config
-    if mode not in {"config", "depends"}:
-        parser.add_argument(
-            "--result-json",
-            dest="result_json",
-            metavar="path",
-            of_type=Path,
-            default=None,
-            help="write a JSON file with detailed information about all commands and results involved",
-        )
     if mode not in {"devenv", "depends"}:
         parser.add_argument(
             "-s",
@@ -114,51 +102,6 @@ def env_run_create_flags(parser: ArgumentParser, mode: str) -> None:  # noqa: C9
             help="install package in development mode",
             dest="develop",
         )
-    if mode != "depends":
-
-        class SeedAction(Action):
-            def __call__(
-                self,
-                parser: ArgumentParser,  # noqa: ARG002
-                namespace: Namespace,
-                values: str | Sequence[Any] | None,
-                option_string: str | None = None,  # noqa: ARG002
-            ) -> None:
-                if values == "notset":
-                    result = None
-                else:
-                    try:
-                        result = int(cast(str, values))
-                        if result <= 0:
-                            msg = "must be greater than zero"
-                            raise ValueError(msg)  # noqa: TRY301
-                    except ValueError as exc:
-                        raise ArgumentError(self, str(exc)) from exc
-                setattr(namespace, self.dest, result)
-
-        if os.environ.get("PYTHONHASHSEED", "random") != "random":
-            hashseed_default = int(os.environ["PYTHONHASHSEED"])
-        else:
-            hashseed_default = random.randint(1, 1024 if sys.platform == "win32" else 4294967295)  # noqa: S311
-
-        parser.add_argument(
-            "--hashseed",
-            metavar="SEED",
-            help="set PYTHONHASHSEED to SEED before running commands. Defaults to a random integer in the range "
-            "[1, 4294967295] ([1, 1024] on Windows). Passing 'notset' suppresses this behavior.",
-            action=SeedAction,
-            of_type=Optional[int],
-            default=hashseed_default,
-            dest="hash_seed",
-        )
-    parser.add_argument(
-        "--discover",
-        dest="discover",
-        nargs="+",
-        metavar="path",
-        help="for Python discovery first try the Python executables under these paths",
-        default=[],
-    )
     if mode != "depends":
         parser.add_argument(
             "--no-recreate-pkg",
@@ -166,19 +109,6 @@ def __call__(
             help="if recreate is set do not recreate packaging tox environment(s)",
             action="store_true",
         )
-        list_deps = parser.add_mutually_exclusive_group()
-        list_deps.add_argument(
-            "--list-dependencies",
-            action="store_true",
-            default=is_ci(),
-            help="list the dependencies installed during environment setup",
-        )
-        list_deps.add_argument(
-            "--no-list-dependencies",
-            action="store_false",
-            dest="list_dependencies",
-            help="never list the dependencies installed during environment setup",
-        )
     if mode not in {"devenv", "config", "depends"}:
         parser.add_argument(
             "--skip-pkg-install",


Test patch:
diff --git a/tests/test_provision.py b/tests/test_provision.py
index 3b5bd197e..41eb630e0 100644
--- a/tests/test_provision.py
+++ b/tests/test_provision.py
@@ -229,3 +229,19 @@ def test_provision_conf_file(tox_project: ToxProjectCreator, tmp_path: Path, rel
     conf_path = str(Path(project.path.name) / "tox.ini") if relative_path else str(project.path / "tox.ini")
     result = project.run("c", "--conf", conf_path, "-e", "py", from_cwd=tmp_path)
     result.assert_success()
+
+
+@pytest.mark.parametrize("subcommand", ["r", "p", "de", "l", "d", "c", "q", "e", "le"])
+def test_provision_default_arguments_exists(tox_project: ToxProjectCreator, subcommand: str) -> None:
+    ini = r"""
+    [tox]
+    requires =
+        tox<4.14
+    [testenv]
+    package = skip
+    """
+    project = tox_project({"tox.ini": ini})
+    project.patch_execute(lambda r: 0 if "install" in r.run_id else None)
+    outcome = project.run(subcommand)
+    for argument in ["result_json", "hash_seed", "discover", "list_dependencies"]:
+        assert hasattr(outcome.state.conf.options, argument)
diff --git a/tests/tox_env/python/test_python_api.py b/tests/tox_env/python/test_python_api.py
index ed4801a93..4489d5f45 100644
--- a/tests/tox_env/python/test_python_api.py
+++ b/tests/tox_env/python/test_python_api.py
@@ -255,7 +255,7 @@ def test_python_hash_seed_from_env_and_disable(tox_project: ToxProjectCreator) -
 
 @pytest.mark.parametrize("in_ci", [True, False])
 def test_list_installed_deps(in_ci: bool, tox_project: ToxProjectCreator, mocker: MockerFixture) -> None:
-    mocker.patch("tox.session.cmd.run.common.is_ci", return_value=in_ci)
+    mocker.patch("tox.config.cli.parser.is_ci", return_value=in_ci)
     result = tox_project({"tox.ini": "[testenv]\nskip_install = true"}).run("r", "-e", "py")
     if in_ci:
         assert "pip==" in result.out
@@ -271,7 +271,7 @@ def test_list_installed_deps_explicit_cli(
     tox_project: ToxProjectCreator,
     mocker: MockerFixture,
 ) -> None:
-    mocker.patch("tox.session.cmd.run.common.is_ci", return_value=in_ci)
+    mocker.patch("tox.config.cli.parser.is_ci", return_value=in_ci)
     result = tox_project({"tox.ini": "[testenv]\nskip_install = true"}).run(list_deps, "r", "-e", "py")
     if list_deps == "--list-dependencies":
         assert "pip==" in result.out