text: Title: Tox v4.14.1 is no longer expanding {envtmpdir} (and potentially other variables)
  Body: ## Issue
  
  We are using `package = external` and `package_env = build-metatensor-core` in our tox setup, and build the wheels with `pip wheel python/metatensor-core {[testenv]build_single_wheel_flags} --wheel-dir {envtmpdir}/dist`
  
  On tox 4.14.0, everything is fine, on 4.14.1 tox creates a directory literally named `{envtmpdir}/dist` (instead of expanding this to `.tox/build-metatensor-core/tmp/dist`.
  
  ```console
  $ ls \{envtmpdir\}/dist
  metatensor_core-0.2.0.dev7-py3-none-macosx_14_0_arm64.whl
  ```
  
  ## Environment
  
  Provide at least:
  
  - OS: macOS 14.3.1
  
  <details open>
  <summary>Output of <code>pip list</code> of the host Python, where <code>tox</code> is installed</summary>
  
  ```console
  $ pip list
  Package                 Version
  ----------------------- --------
  archspec                0.2.3
  boltons                 23.1.1
  Brotli                  1.1.0
  build                   1.0.3
  cachetools              5.3.3
  certifi                 2024.2.2
  cffi                    1.16.0
  chardet                 5.2.0
  charset-normalizer      3.3.2
  colorama                0.4.6
  conda                   24.1.2
  conda-libmamba-solver   24.1.0
  conda-package-handling  2.2.0
  conda_package_streaming 0.9.0
  distlib                 0.3.8
  distro                  1.9.0
  filelock                3.13.1
  fsspec                  2024.2.0
  idna                    3.6
  importlib-metadata      7.0.1
  Jinja2                  3.1.3
  jsonpatch               1.33
  jsonpointer             2.4
  libmambapy              1.5.7
  mamba                   1.5.7
  MarkupSafe              2.1.5
  menuinst                2.0.2
  mpmath                  1.3.0
  networkx                3.2.1
  numpy                   1.26.4
  packaging               23.2
  pip                     24.0
  platformdirs            4.2.0
  pluggy                  1.4.0
  pycosat                 0.6.6
  pycparser               2.21
  pyproject-api           1.6.1
  pyproject_hooks         1.0.0
  PySocks                 1.7.1
  requests                2.31.0
  ruamel.yaml             0.18.6
  ruamel.yaml.clib        0.2.8
  setuptools              69.1.1
  sympy                   1.12
  tomli                   2.0.1
  torch                   2.2.1
  tox                     4.14.1
  tqdm                    4.66.2
  truststore              0.8.0
  typing_extensions       4.10.0
  urllib3                 2.2.1
  virtualenv              20.25.1
  wheel                   0.42.0
  zipp                    3.17.0
  zstandard               0.22.0
  ```
  
  </details>
  
  ## Output of running tox
  
  <details open>
  <summary>Output of <code>tox -rvv</code></summary>
  
  ```console
  $ tox -rvv -e core-tests
  build-metatensor-core: 111 W remove tox env folder /Users/guillaume/code/metatensor/.tox/build-metatensor-core [tox/tox_env/api.py:323]
  build-metatensor-core_sdist_meta: 111 W remove tox env folder /Users/guillaume/code/metatensor/.tox/build-metatensor-core_sdist_meta [tox/tox_env/api.py:323]
  core-tests: 115 I find interpreter for spec PythonSpec(path=/opt/miniforge3/bin/python3.11) [virtualenv/discovery/builtin.py:58]
  core-tests: 115 I proposed PythonInfo(spec=CPython3.11.7.final.0-64, exe=/opt/miniforge3/bin/python3.11, platform=darwin, version='3.11.7 | packaged by conda-forge | (main, Dec 23 2023, 14:38:07) [Clang 16.0.6 ]', encoding_fs_io=utf-8-utf-8) [virtualenv/discovery/builtin.py:65]
  core-tests: 115 D accepted PythonInfo(spec=CPython3.11.7.final.0-64, exe=/opt/miniforge3/bin/python3.11, platform=darwin, version='3.11.7 | packaged by conda-forge | (main, Dec 23 2023, 14:38:07) [Clang 16.0.6 ]', encoding_fs_io=utf-8-utf-8) [virtualenv/discovery/builtin.py:67]
  core-tests: 116 D filesystem is not case-sensitive [virtualenv/info.py:25]
  core-tests: 130 I create virtual environment via CPython3Posix(dest=/Users/guillaume/code/metatensor/.tox/core-tests, clear=False, no_vcs_ignore=False, global=False) [virtualenv/run/session.py:50]
  core-tests: 130 D create folder /Users/guillaume/code/metatensor/.tox/core-tests/bin [virtualenv/util/path/_sync.py:12]
  core-tests: 131 D create folder /Users/guillaume/code/metatensor/.tox/core-tests/lib/python3.11/site-packages [virtualenv/util/path/_sync.py:12]
  core-tests: 131 D write /Users/guillaume/code/metatensor/.tox/core-tests/pyvenv.cfg [virtualenv/create/pyenv_cfg.py:33]
  core-tests: 131 D 	home = /opt/miniforge3/bin [virtualenv/create/pyenv_cfg.py:38]
  core-tests: 131 D 	implementation = CPython [virtualenv/create/pyenv_cfg.py:38]
  core-tests: 131 D 	version_info = 3.11.7.final.0 [virtualenv/create/pyenv_cfg.py:38]
  core-tests: 131 D 	virtualenv = 20.25.1 [virtualenv/create/pyenv_cfg.py:38]
  core-tests: 131 D 	include-system-site-packages = false [virtualenv/create/pyenv_cfg.py:38]
  core-tests: 131 D 	base-prefix = /opt/miniforge3 [virtualenv/create/pyenv_cfg.py:38]
  core-tests: 131 D 	base-exec-prefix = /opt/miniforge3 [virtualenv/create/pyenv_cfg.py:38]
  core-tests: 131 D 	base-executable = /opt/miniforge3/bin/python3.11 [virtualenv/create/pyenv_cfg.py:38]
  core-tests: 131 D symlink /opt/miniforge3/bin/python3.11 to /Users/guillaume/code/metatensor/.tox/core-tests/bin/python [virtualenv/util/path/_sync.py:32]
  core-tests: 131 D create virtualenv import hook file /Users/guillaume/code/metatensor/.tox/core-tests/lib/python3.11/site-packages/_virtualenv.pth [virtualenv/create/via_global_ref/api.py:91]
  core-tests: 131 D create /Users/guillaume/code/metatensor/.tox/core-tests/lib/python3.11/site-packages/_virtualenv.py [virtualenv/create/via_global_ref/api.py:94]
  core-tests: 131 D ============================== target debug ============================== [virtualenv/run/session.py:52]
  core-tests: 132 D debug via /Users/guillaume/code/metatensor/.tox/core-tests/bin/python /opt/miniforge3/lib/python3.11/site-packages/virtualenv/create/debug.py [virtualenv/create/creator.py:200]
  core-tests: 131 D {
    "sys": {
      "executable": "/Users/guillaume/code/metatensor/.tox/core-tests/bin/python",
      "_base_executable": "/opt/miniforge3/bin/python3.11",
      "prefix": "/Users/guillaume/code/metatensor/.tox/core-tests",
      "base_prefix": "/opt/miniforge3",
      "real_prefix": null,
      "exec_prefix": "/Users/guillaume/code/metatensor/.tox/core-tests",
      "base_exec_prefix": "/opt/miniforge3",
      "path": [
        "/opt/miniforge3/lib/python311.zip",
        "/opt/miniforge3/lib/python3.11",
        "/opt/miniforge3/lib/python3.11/lib-dynload",
        "/Users/guillaume/code/metatensor/.tox/core-tests/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.7 | packaged by conda-forge | (main, Dec 23 2023, 14:38:07) [Clang 16.0.6 ]",
    "makefile_filename": "/opt/miniforge3/lib/python3.11/config-3.11-darwin/Makefile",
    "os": "<module 'os' (frozen)>",
    "site": "<module 'site' (frozen)>",
    "datetime": "<module 'datetime' from '/opt/miniforge3/lib/python3.11/datetime.py'>",
    "math": "<module 'math' from '/opt/miniforge3/lib/python3.11/lib-dynload/math.cpython-311-darwin.so'>",
    "json": "<module 'json' from '/opt/miniforge3/lib/python3.11/json/__init__.py'>"
  } [virtualenv/run/session.py:53]
  core-tests: 151 I add seed packages via FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/Users/guillaume/Library/Application Support/virtualenv) [virtualenv/run/session.py:57]
  core-tests: 152 D got embed update of distribution %s from ('pip', PosixPath('/Users/guillaume/Library/Application Support/virtualenv/wheel/3.11/embed/3/pip.json')) [virtualenv/app_data/via_disk_folder.py:131]
  core-tests: 154 D install wheel from wheel /opt/miniforge3/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]
  core-tests: 154 D install setuptools from wheel /opt/miniforge3/lib/python3.11/site-packages/virtualenv/seed/wheels/embed/setuptools-69.1.0-py3-none-any.whl via CopyPipInstall [virtualenv/seed/embed/via_app_data/via_app_data.py:49]
  core-tests: 154 D install pip from wheel /opt/miniforge3/lib/python3.11/site-packages/virtualenv/seed/wheels/embed/pip-24.0-py3-none-any.whl via CopyPipInstall [virtualenv/seed/embed/via_app_data/via_app_data.py:49]
  core-tests: 154 D copy directory /Users/guillaume/Library/Application Support/virtualenv/wheel/3.11/image/1/CopyPipInstall/setuptools-69.1.0-py3-none-any/setuptools-69.1.0.dist-info to /Users/guillaume/code/metatensor/.tox/core-tests/lib/python3.11/site-packages/setuptools-69.1.0.dist-info [virtualenv/util/path/_sync.py:40]
  core-tests: 155 D copy directory /Users/guillaume/Library/Application Support/virtualenv/wheel/3.11/image/1/CopyPipInstall/wheel-0.42.0-py3-none-any/wheel-0.42.0.dist-info to /Users/guillaume/code/metatensor/.tox/core-tests/lib/python3.11/site-packages/wheel-0.42.0.dist-info [virtualenv/util/path/_sync.py:40]
  core-tests: 155 D copy directory /Users/guillaume/Library/Application Support/virtualenv/wheel/3.11/image/1/CopyPipInstall/pip-24.0-py3-none-any/pip-24.0.dist-info to /Users/guillaume/code/metatensor/.tox/core-tests/lib/python3.11/site-packages/pip-24.0.dist-info [virtualenv/util/path/_sync.py:40]
  core-tests: 156 D copy directory /Users/guillaume/Library/Application Support/virtualenv/wheel/3.11/image/1/CopyPipInstall/wheel-0.42.0-py3-none-any/wheel to /Users/guillaume/code/metatensor/.tox/core-tests/lib/python3.11/site-packages/wheel [virtualenv/util/path/_sync.py:40]
  core-tests: 156 D copy /Users/guillaume/Library/Application Support/virtualenv/wheel/3.11/image/1/CopyPipInstall/setuptools-69.1.0-py3-none-any/distutils-precedence.pth to /Users/guillaume/code/metatensor/.tox/core-tests/lib/python3.11/site-packages/distutils-precedence.pth [virtualenv/util/path/_sync.py:40]
  core-tests: 157 D copy directory /Users/guillaume/Library/Application Support/virtualenv/wheel/3.11/image/1/CopyPipInstall/pip-24.0-py3-none-any/pip to /Users/guillaume/code/metatensor/.tox/core-tests/lib/python3.11/site-packages/pip [virtualenv/util/path/_sync.py:40]
  core-tests: 157 D copy directory /Users/guillaume/Library/Application Support/virtualenv/wheel/3.11/image/1/CopyPipInstall/setuptools-69.1.0-py3-none-any/setuptools to /Users/guillaume/code/metatensor/.tox/core-tests/lib/python3.11/site-packages/setuptools [virtualenv/util/path/_sync.py:40]
  core-tests: 162 D copy /Users/guillaume/Library/Application Support/virtualenv/wheel/3.11/image/1/CopyPipInstall/wheel-0.42.0-py3-none-any/wheel-0.42.0.virtualenv to /Users/guillaume/code/metatensor/.tox/core-tests/lib/python3.11/site-packages/wheel-0.42.0.virtualenv [virtualenv/util/path/_sync.py:40]
  core-tests: 163 D generated console scripts wheel wheel-3.11 wheel3 wheel3.11 [virtualenv/seed/embed/via_app_data/pip_install/base.py:43]
  core-tests: 191 D copy directory /Users/guillaume/Library/Application Support/virtualenv/wheel/3.11/image/1/CopyPipInstall/setuptools-69.1.0-py3-none-any/pkg_resources to /Users/guillaume/code/metatensor/.tox/core-tests/lib/python3.11/site-packages/pkg_resources [virtualenv/util/path/_sync.py:40]
  core-tests: 200 D copy directory /Users/guillaume/Library/Application Support/virtualenv/wheel/3.11/image/1/CopyPipInstall/setuptools-69.1.0-py3-none-any/_distutils_hack to /Users/guillaume/code/metatensor/.tox/core-tests/lib/python3.11/site-packages/_distutils_hack [virtualenv/util/path/_sync.py:40]
  core-tests: 200 D copy /Users/guillaume/Library/Application Support/virtualenv/wheel/3.11/image/1/CopyPipInstall/setuptools-69.1.0-py3-none-any/setuptools-69.1.0.virtualenv to /Users/guillaume/code/metatensor/.tox/core-tests/lib/python3.11/site-packages/setuptools-69.1.0.virtualenv [virtualenv/util/path/_sync.py:40]
  core-tests: 201 D generated console scripts  [virtualenv/seed/embed/via_app_data/pip_install/base.py:43]
  core-tests: 234 D copy /Users/guillaume/Library/Application Support/virtualenv/wheel/3.11/image/1/CopyPipInstall/pip-24.0-py3-none-any/pip-24.0.virtualenv to /Users/guillaume/code/metatensor/.tox/core-tests/lib/python3.11/site-packages/pip-24.0.virtualenv [virtualenv/util/path/_sync.py:40]
  core-tests: 234 D generated console scripts pip3 pip3.11 pip-3.11 pip [virtualenv/seed/embed/via_app_data/pip_install/base.py:43]
  core-tests: 234 I add activators for Bash, CShell, Fish, Nushell, PowerShell, Python [virtualenv/run/session.py:63]
  core-tests: 236 D write /Users/guillaume/code/metatensor/.tox/core-tests/pyvenv.cfg [virtualenv/create/pyenv_cfg.py:33]
  core-tests: 236 D 	home = /opt/miniforge3/bin [virtualenv/create/pyenv_cfg.py:38]
  core-tests: 236 D 	implementation = CPython [virtualenv/create/pyenv_cfg.py:38]
  core-tests: 236 D 	version_info = 3.11.7.final.0 [virtualenv/create/pyenv_cfg.py:38]
  core-tests: 236 D 	virtualenv = 20.25.1 [virtualenv/create/pyenv_cfg.py:38]
  core-tests: 236 D 	include-system-site-packages = false [virtualenv/create/pyenv_cfg.py:38]
  core-tests: 236 D 	base-prefix = /opt/miniforge3 [virtualenv/create/pyenv_cfg.py:38]
  core-tests: 236 D 	base-exec-prefix = /opt/miniforge3 [virtualenv/create/pyenv_cfg.py:38]
  core-tests: 236 D 	base-executable = /opt/miniforge3/bin/python3.11 [virtualenv/create/pyenv_cfg.py:38]
  core-tests: 238 W install_deps> python -I -m pip install numpy pytest pytest-cov toml 'torch==2.2.*' [tox/tox_env/api.py:425]
  Collecting numpy
    Using cached numpy-1.26.4-cp311-cp311-macosx_11_0_arm64.whl.metadata (114 kB)
  Collecting pytest
    Using cached pytest-8.0.2-py3-none-any.whl.metadata (7.7 kB)
  Collecting pytest-cov
    Using cached pytest_cov-4.1.0-py3-none-any.whl.metadata (26 kB)
  Collecting toml
    Using cached toml-0.10.2-py2.py3-none-any.whl.metadata (7.1 kB)
  Collecting torch==2.2.*
    Using cached torch-2.2.1-cp311-none-macosx_11_0_arm64.whl.metadata (25 kB)
  Collecting filelock (from torch==2.2.*)
    Using cached filelock-3.13.1-py3-none-any.whl.metadata (2.8 kB)
  Collecting typing-extensions>=4.8.0 (from torch==2.2.*)
    Using cached typing_extensions-4.10.0-py3-none-any.whl.metadata (3.0 kB)
  Collecting sympy (from torch==2.2.*)
    Using cached sympy-1.12-py3-none-any.whl.metadata (12 kB)
  Collecting networkx (from torch==2.2.*)
    Using cached networkx-3.2.1-py3-none-any.whl.metadata (5.2 kB)
  Collecting jinja2 (from torch==2.2.*)
    Using cached Jinja2-3.1.3-py3-none-any.whl.metadata (3.3 kB)
  Collecting fsspec (from torch==2.2.*)
    Using cached fsspec-2024.2.0-py3-none-any.whl.metadata (6.8 kB)
  Collecting iniconfig (from pytest)
    Using cached iniconfig-2.0.0-py3-none-any.whl.metadata (2.6 kB)
  Collecting packaging (from pytest)
    Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB)
  Collecting pluggy<2.0,>=1.3.0 (from pytest)
    Using cached pluggy-1.4.0-py3-none-any.whl.metadata (4.3 kB)
  Collecting coverage>=5.2.1 (from coverage[toml]>=5.2.1->pytest-cov)
    Using cached coverage-7.4.3-cp311-cp311-macosx_11_0_arm64.whl.metadata (8.2 kB)
  Collecting MarkupSafe>=2.0 (from jinja2->torch==2.2.*)
    Using cached MarkupSafe-2.1.5-cp311-cp311-macosx_10_9_universal2.whl.metadata (3.0 kB)
  Collecting mpmath>=0.19 (from sympy->torch==2.2.*)
    Using cached mpmath-1.3.0-py3-none-any.whl.metadata (8.6 kB)
  Using cached torch-2.2.1-cp311-none-macosx_11_0_arm64.whl (59.7 MB)
  Using cached numpy-1.26.4-cp311-cp311-macosx_11_0_arm64.whl (14.0 MB)
  Using cached pytest-8.0.2-py3-none-any.whl (333 kB)
  Using cached pytest_cov-4.1.0-py3-none-any.whl (21 kB)
  Using cached toml-0.10.2-py2.py3-none-any.whl (16 kB)
  Using cached coverage-7.4.3-cp311-cp311-macosx_11_0_arm64.whl (207 kB)
  Using cached pluggy-1.4.0-py3-none-any.whl (20 kB)
  Using cached typing_extensions-4.10.0-py3-none-any.whl (33 kB)
  Using cached filelock-3.13.1-py3-none-any.whl (11 kB)
  Using cached fsspec-2024.2.0-py3-none-any.whl (170 kB)
  Using cached iniconfig-2.0.0-py3-none-any.whl (5.9 kB)
  Using cached Jinja2-3.1.3-py3-none-any.whl (133 kB)
  Using cached networkx-3.2.1-py3-none-any.whl (1.6 MB)
  Using cached packaging-23.2-py3-none-any.whl (53 kB)
  Using cached sympy-1.12-py3-none-any.whl (5.7 MB)
  Using cached MarkupSafe-2.1.5-cp311-cp311-macosx_10_9_universal2.whl (18 kB)
  Using cached mpmath-1.3.0-py3-none-any.whl (536 kB)
  Installing collected packages: mpmath, typing-extensions, toml, sympy, pluggy, packaging, numpy, networkx, MarkupSafe, iniconfig, fsspec, filelock, coverage, pytest, jinja2, torch, pytest-cov
  Successfully installed MarkupSafe-2.1.5 coverage-7.4.3 filelock-3.13.1 fsspec-2024.2.0 iniconfig-2.0.0 jinja2-3.1.3 mpmath-1.3.0 networkx-3.2.1 numpy-1.26.4 packaging-23.2 pluggy-1.4.0 pytest-8.0.2 pytest-cov-4.1.0 sympy-1.12 toml-0.10.2 torch-2.2.1 typing-extensions-4.10.0
  core-tests: 11493 I exit 0 (11.25 seconds) /Users/guillaume/code/metatensor> python -I -m pip install numpy pytest pytest-cov toml 'torch==2.2.*' pid=44644 [tox/execute/api.py:280]
  build-metatensor-core: 11495 I find interpreter for spec PythonSpec(path=/opt/miniforge3/bin/python3.11) [virtualenv/discovery/builtin.py:58]
  build-metatensor-core: 11495 I proposed PythonInfo(spec=CPython3.11.7.final.0-64, exe=/opt/miniforge3/bin/python3.11, platform=darwin, version='3.11.7 | packaged by conda-forge | (main, Dec 23 2023, 14:38:07) [Clang 16.0.6 ]', encoding_fs_io=utf-8-utf-8) [virtualenv/discovery/builtin.py:65]
  build-metatensor-core: 11495 D accepted PythonInfo(spec=CPython3.11.7.final.0-64, exe=/opt/miniforge3/bin/python3.11, platform=darwin, version='3.11.7 | packaged by conda-forge | (main, Dec 23 2023, 14:38:07) [Clang 16.0.6 ]', encoding_fs_io=utf-8-utf-8) [virtualenv/discovery/builtin.py:67]
  build-metatensor-core: 11496 I create virtual environment via CPython3Posix(dest=/Users/guillaume/code/metatensor/.tox/build-metatensor-core, clear=False, no_vcs_ignore=False, global=False) [virtualenv/run/session.py:50]
  build-metatensor-core: 11496 D create folder /Users/guillaume/code/metatensor/.tox/build-metatensor-core/bin [virtualenv/util/path/_sync.py:12]
  build-metatensor-core: 11496 D create folder /Users/guillaume/code/metatensor/.tox/build-metatensor-core/lib/python3.11/site-packages [virtualenv/util/path/_sync.py:12]
  build-metatensor-core: 11496 D write /Users/guillaume/code/metatensor/.tox/build-metatensor-core/pyvenv.cfg [virtualenv/create/pyenv_cfg.py:33]
  build-metatensor-core: 11496 D 	home = /opt/miniforge3/bin [virtualenv/create/pyenv_cfg.py:38]
  build-metatensor-core: 11496 D 	implementation = CPython [virtualenv/create/pyenv_cfg.py:38]
  build-metatensor-core: 11496 D 	version_info = 3.11.7.final.0 [virtualenv/create/pyenv_cfg.py:38]
  build-metatensor-core: 11496 D 	virtualenv = 20.25.1 [virtualenv/create/pyenv_cfg.py:38]
  build-metatensor-core: 11496 D 	include-system-site-packages = false [virtualenv/create/pyenv_cfg.py:38]
  build-metatensor-core: 11496 D 	base-prefix = /opt/miniforge3 [virtualenv/create/pyenv_cfg.py:38]
  build-metatensor-core: 11496 D 	base-exec-prefix = /opt/miniforge3 [virtualenv/create/pyenv_cfg.py:38]
  build-metatensor-core: 11496 D 	base-executable = /opt/miniforge3/bin/python3.11 [virtualenv/create/pyenv_cfg.py:38]
  build-metatensor-core: 11497 D symlink /opt/miniforge3/bin/python3.11 to /Users/guillaume/code/metatensor/.tox/build-metatensor-core/bin/python [virtualenv/util/path/_sync.py:32]
  build-metatensor-core: 11497 D create virtualenv import hook file /Users/guillaume/code/metatensor/.tox/build-metatensor-core/lib/python3.11/site-packages/_virtualenv.pth [virtualenv/create/via_global_ref/api.py:91]
  build-metatensor-core: 11497 D create /Users/guillaume/code/metatensor/.tox/build-metatensor-core/lib/python3.11/site-packages/_virtualenv.py [virtualenv/create/via_global_ref/api.py:94]
  build-metatensor-core: 11497 D ============================== target debug ============================== [virtualenv/run/session.py:52]
  build-metatensor-core: 11497 D debug via /Users/guillaume/code/metatensor/.tox/build-metatensor-core/bin/python /opt/miniforge3/lib/python3.11/site-packages/virtualenv/create/debug.py [virtualenv/create/creator.py:200]
  build-metatensor-core: 11497 D {
    "sys": {
      "executable": "/Users/guillaume/code/metatensor/.tox/build-metatensor-core/bin/python",
      "_base_executable": "/opt/miniforge3/bin/python3.11",
      "prefix": "/Users/guillaume/code/metatensor/.tox/build-metatensor-core",
      "base_prefix": "/opt/miniforge3",
      "real_prefix": null,
      "exec_prefix": "/Users/guillaume/code/metatensor/.tox/build-metatensor-core",
      "base_exec_prefix": "/opt/miniforge3",
      "path": [
        "/opt/miniforge3/lib/python311.zip",
        "/opt/miniforge3/lib/python3.11",
        "/opt/miniforge3/lib/python3.11/lib-dynload",
        "/Users/guillaume/code/metatensor/.tox/build-metatensor-core/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.7 | packaged by conda-forge | (main, Dec 23 2023, 14:38:07) [Clang 16.0.6 ]",
    "makefile_filename": "/opt/miniforge3/lib/python3.11/config-3.11-darwin/Makefile",
    "os": "<module 'os' (frozen)>",
    "site": "<module 'site' (frozen)>",
    "datetime": "<module 'datetime' from '/opt/miniforge3/lib/python3.11/datetime.py'>",
    "math": "<module 'math' from '/opt/miniforge3/lib/python3.11/lib-dynload/math.cpython-311-darwin.so'>",
    "json": "<module 'json' from '/opt/miniforge3/lib/python3.11/json/__init__.py'>"
  } [virtualenv/run/session.py:53]
  build-metatensor-core: 11517 I add seed packages via FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/Users/guillaume/Library/Application Support/virtualenv) [virtualenv/run/session.py:57]
  build-metatensor-core: 11518 D got embed update of distribution %s from ('pip', PosixPath('/Users/guillaume/Library/Application Support/virtualenv/wheel/3.11/embed/3/pip.json')) [virtualenv/app_data/via_disk_folder.py:131]
  build-metatensor-core: 11518 D install setuptools from wheel /opt/miniforge3/lib/python3.11/site-packages/virtualenv/seed/wheels/embed/setuptools-69.1.0-py3-none-any.whl via CopyPipInstall [virtualenv/seed/embed/via_app_data/via_app_data.py:49]
  build-metatensor-core: 11518 D install wheel from wheel /opt/miniforge3/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]
  build-metatensor-core: 11518 D install pip from wheel /opt/miniforge3/lib/python3.11/site-packages/virtualenv/seed/wheels/embed/pip-24.0-py3-none-any.whl via CopyPipInstall [virtualenv/seed/embed/via_app_data/via_app_data.py:49]
  build-metatensor-core: 11519 D copy directory /Users/guillaume/Library/Application Support/virtualenv/wheel/3.11/image/1/CopyPipInstall/pip-24.0-py3-none-any/pip-24.0.dist-info to /Users/guillaume/code/metatensor/.tox/build-metatensor-core/lib/python3.11/site-packages/pip-24.0.dist-info [virtualenv/util/path/_sync.py:40]
  build-metatensor-core: 11519 D copy directory /Users/guillaume/Library/Application Support/virtualenv/wheel/3.11/image/1/CopyPipInstall/setuptools-69.1.0-py3-none-any/setuptools-69.1.0.dist-info to /Users/guillaume/code/metatensor/.tox/build-metatensor-core/lib/python3.11/site-packages/setuptools-69.1.0.dist-info [virtualenv/util/path/_sync.py:40]
  build-metatensor-core: 11519 D copy directory /Users/guillaume/Library/Application Support/virtualenv/wheel/3.11/image/1/CopyPipInstall/wheel-0.42.0-py3-none-any/wheel-0.42.0.dist-info to /Users/guillaume/code/metatensor/.tox/build-metatensor-core/lib/python3.11/site-packages/wheel-0.42.0.dist-info [virtualenv/util/path/_sync.py:40]
  build-metatensor-core: 11521 D copy directory /Users/guillaume/Library/Application Support/virtualenv/wheel/3.11/image/1/CopyPipInstall/wheel-0.42.0-py3-none-any/wheel to /Users/guillaume/code/metatensor/.tox/build-metatensor-core/lib/python3.11/site-packages/wheel [virtualenv/util/path/_sync.py:40]
  build-metatensor-core: 11521 D copy /Users/guillaume/Library/Application Support/virtualenv/wheel/3.11/image/1/CopyPipInstall/setuptools-69.1.0-py3-none-any/distutils-precedence.pth to /Users/guillaume/code/metatensor/.tox/build-metatensor-core/lib/python3.11/site-packages/distutils-precedence.pth [virtualenv/util/path/_sync.py:40]
  build-metatensor-core: 11522 D copy directory /Users/guillaume/Library/Application Support/virtualenv/wheel/3.11/image/1/CopyPipInstall/setuptools-69.1.0-py3-none-any/setuptools to /Users/guillaume/code/metatensor/.tox/build-metatensor-core/lib/python3.11/site-packages/setuptools [virtualenv/util/path/_sync.py:40]
  build-metatensor-core: 11522 D copy directory /Users/guillaume/Library/Application Support/virtualenv/wheel/3.11/image/1/CopyPipInstall/pip-24.0-py3-none-any/pip to /Users/guillaume/code/metatensor/.tox/build-metatensor-core/lib/python3.11/site-packages/pip [virtualenv/util/path/_sync.py:40]
  build-metatensor-core: 11528 D copy /Users/guillaume/Library/Application Support/virtualenv/wheel/3.11/image/1/CopyPipInstall/wheel-0.42.0-py3-none-any/wheel-0.42.0.virtualenv to /Users/guillaume/code/metatensor/.tox/build-metatensor-core/lib/python3.11/site-packages/wheel-0.42.0.virtualenv [virtualenv/util/path/_sync.py:40]
  build-metatensor-core: 11529 D generated console scripts wheel wheel3 wheel-3.11 wheel3.11 [virtualenv/seed/embed/via_app_data/pip_install/base.py:43]
  build-metatensor-core: 11558 D copy directory /Users/guillaume/Library/Application Support/virtualenv/wheel/3.11/image/1/CopyPipInstall/setuptools-69.1.0-py3-none-any/pkg_resources to /Users/guillaume/code/metatensor/.tox/build-metatensor-core/lib/python3.11/site-packages/pkg_resources [virtualenv/util/path/_sync.py:40]
  build-metatensor-core: 11567 D copy directory /Users/guillaume/Library/Application Support/virtualenv/wheel/3.11/image/1/CopyPipInstall/setuptools-69.1.0-py3-none-any/_distutils_hack to /Users/guillaume/code/metatensor/.tox/build-metatensor-core/lib/python3.11/site-packages/_distutils_hack [virtualenv/util/path/_sync.py:40]
  build-metatensor-core: 11568 D copy /Users/guillaume/Library/Application Support/virtualenv/wheel/3.11/image/1/CopyPipInstall/setuptools-69.1.0-py3-none-any/setuptools-69.1.0.virtualenv to /Users/guillaume/code/metatensor/.tox/build-metatensor-core/lib/python3.11/site-packages/setuptools-69.1.0.virtualenv [virtualenv/util/path/_sync.py:40]
  build-metatensor-core: 11568 D generated console scripts  [virtualenv/seed/embed/via_app_data/pip_install/base.py:43]
  build-metatensor-core: 11604 D copy /Users/guillaume/Library/Application Support/virtualenv/wheel/3.11/image/1/CopyPipInstall/pip-24.0-py3-none-any/pip-24.0.virtualenv to /Users/guillaume/code/metatensor/.tox/build-metatensor-core/lib/python3.11/site-packages/pip-24.0.virtualenv [virtualenv/util/path/_sync.py:40]
  build-metatensor-core: 11604 D generated console scripts pip3 pip3.11 pip-3.11 pip [virtualenv/seed/embed/via_app_data/pip_install/base.py:43]
  build-metatensor-core: 11604 I add activators for Bash, CShell, Fish, Nushell, PowerShell, Python [virtualenv/run/session.py:63]
  build-metatensor-core: 11605 D write /Users/guillaume/code/metatensor/.tox/build-metatensor-core/pyvenv.cfg [virtualenv/create/pyenv_cfg.py:33]
  build-metatensor-core: 11605 D 	home = /opt/miniforge3/bin [virtualenv/create/pyenv_cfg.py:38]
  build-metatensor-core: 11605 D 	implementation = CPython [virtualenv/create/pyenv_cfg.py:38]
  build-metatensor-core: 11605 D 	version_info = 3.11.7.final.0 [virtualenv/create/pyenv_cfg.py:38]
  build-metatensor-core: 11605 D 	virtualenv = 20.25.1 [virtualenv/create/pyenv_cfg.py:38]
  build-metatensor-core: 11605 D 	include-system-site-packages = false [virtualenv/create/pyenv_cfg.py:38]
  build-metatensor-core: 11605 D 	base-prefix = /opt/miniforge3 [virtualenv/create/pyenv_cfg.py:38]
  build-metatensor-core: 11605 D 	base-exec-prefix = /opt/miniforge3 [virtualenv/create/pyenv_cfg.py:38]
  build-metatensor-core: 11606 D 	base-executable = /opt/miniforge3/bin/python3.11 [virtualenv/create/pyenv_cfg.py:38]
  build-metatensor-core: 11607 W install_requires> python -I -m pip install cmake packaging setuptools wheel [tox/tox_env/api.py:425]
  Collecting cmake
    Using cached cmake-3.28.3-py2.py3-none-macosx_10_10_universal2.macosx_10_10_x86_64.macosx_11_0_arm64.macosx_11_0_universal2.whl.metadata (6.3 kB)
  Collecting packaging
    Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB)
  Requirement already satisfied: setuptools in ./.tox/build-metatensor-core/lib/python3.11/site-packages (69.1.0)
  Requirement already satisfied: wheel in ./.tox/build-metatensor-core/lib/python3.11/site-packages (0.42.0)
  Using cached cmake-3.28.3-py2.py3-none-macosx_10_10_universal2.macosx_10_10_x86_64.macosx_11_0_arm64.macosx_11_0_universal2.whl (48.5 MB)
  Using cached packaging-23.2-py3-none-any.whl (53 kB)
  Installing collected packages: cmake, packaging
  Successfully installed cmake-3.28.3 packaging-23.2
  build-metatensor-core: 13373 I exit 0 (1.77 seconds) /Users/guillaume/code/metatensor> python -I -m pip install cmake packaging setuptools wheel pid=44648 [tox/execute/api.py:280]
  build-metatensor-core: 13374 W install_deps> python -I -m pip install cmake packaging setuptools wheel [tox/tox_env/api.py:425]
  Requirement already satisfied: cmake in ./.tox/build-metatensor-core/lib/python3.11/site-packages (3.28.3)
  Requirement already satisfied: packaging in ./.tox/build-metatensor-core/lib/python3.11/site-packages (23.2)
  Requirement already satisfied: setuptools in ./.tox/build-metatensor-core/lib/python3.11/site-packages (69.1.0)
  Requirement already satisfied: wheel in ./.tox/build-metatensor-core/lib/python3.11/site-packages (0.42.0)
  build-metatensor-core: 13647 I exit 0 (0.27 seconds) /Users/guillaume/code/metatensor> python -I -m pip install cmake packaging setuptools wheel pid=44650 [tox/execute/api.py:280]
  build-metatensor-core: 13648 W commands[0]> pip wheel python/metatensor-core --no-deps --no-build-isolation --check-build-dependencies --wheel-dir '{env_tmp_dir}/dist' [tox/tox_env/api.py:425]
  Processing ./python/metatensor-core
    Preparing metadata (pyproject.toml) ... done
  Building wheels for collected packages: metatensor-core
    Building wheel for metatensor-core (pyproject.toml) ... done
    Created wheel for metatensor-core: filename=metatensor_core-0.2.0.dev7-py3-none-macosx_14_0_arm64.whl size=393337 sha256=3ef52bf49aeeab3cb26abb2f37e70fa66a4e087d0bea399fe5138888d440b34f
    Stored in directory: /Users/guillaume/Library/Caches/pip/wheels/51/2c/1e/776d763cc8f4fe85ef01b2aa554b8f88005d759914ef385ec8
  Successfully built metatensor-core
  build-metatensor-core: 14924 I exit 0 (1.28 seconds) /Users/guillaume/code/metatensor> pip wheel python/metatensor-core --no-deps --no-build-isolation --check-build-dependencies --wheel-dir '{env_tmp_dir}/dist' pid=44652 [tox/execute/api.py:280]
  core-tests: 14925 E failed with no package found in /Users/guillaume/code/metatensor/.tox/build-metatensor-core/tmp/dist/* [tox/session/cmd/run/single.py:57]
    core-tests: FAIL code 1 (14.82 seconds)
    evaluation failed :( (14.85 seconds)
  ```
  
  </details>
  
  ----
  
  Ping @gaborbernat, this seems to be a fallout of #3237