Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pyproject [tool.tox.env_run_base] not installing dependency group (PEP 735) #3420

Closed
hugovk opened this issue Oct 21, 2024 · 5 comments · Fixed by #3421
Closed

pyproject [tool.tox.env_run_base] not installing dependency group (PEP 735) #3420

hugovk opened this issue Oct 21, 2024 · 5 comments · Fixed by #3421

Comments

@hugovk
Copy link
Contributor

hugovk commented Oct 21, 2024

Issue

Environment

Provide at least:

  • OS: macOS

Output of running tox

Output of tox -rvv
tox -e py313 -rvv
py313: 383 W remove tox env folder /Users/hugo/github/norwegianblue/.tox/py313 [tox/tox_env/api.py:325]
.pkg: 654 W remove tox env folder /Users/hugo/github/norwegianblue/.tox/.pkg [tox/tox_env/api.py:325]
py313: 805 I find interpreter for spec PythonSpec(major=3, minor=13) [virtualenv/discovery/builtin.py:73]
py313: 806 D filesystem is not case-sensitive [virtualenv/info.py:25]
py313: 806 I proposed PythonInfo(spec=CPython3.13.0.final.0-64, exe=/Library/Frameworks/Python.framework/Versions/3.13/bin/python3, platform=darwin, version='3.13.0 (v3.13.0:60403a5409f, Oct  7 2024, 00:37:40) [Clang 15.0.0 (clang-1500.3.9.4)]', encoding_fs_io=utf-8-utf-8) [virtualenv/discovery/builtin.py:80]
py313: 806 D accepted PythonInfo(spec=CPython3.13.0.final.0-64, exe=/Library/Frameworks/Python.framework/Versions/3.13/bin/python3, platform=darwin, version='3.13.0 (v3.13.0:60403a5409f, Oct  7 2024, 00:37:40) [Clang 15.0.0 (clang-1500.3.9.4)]', encoding_fs_io=utf-8-utf-8) [virtualenv/discovery/builtin.py:82]
py313: 832 I create virtual environment via CPython3Posix(dest=/Users/hugo/github/norwegianblue/.tox/py313, clear=False, no_vcs_ignore=False, global=False) [virtualenv/run/session.py:50]
py313: 832 D create folder /Users/hugo/github/norwegianblue/.tox/py313/bin [virtualenv/util/path/_sync.py:12]
py313: 832 D create folder /Users/hugo/github/norwegianblue/.tox/py313/lib/python3.13/site-packages [virtualenv/util/path/_sync.py:12]
py313: 832 D write /Users/hugo/github/norwegianblue/.tox/py313/pyvenv.cfg [virtualenv/create/pyenv_cfg.py:33]
py313: 832 D 	home = /Library/Frameworks/Python.framework/Versions/3.13/bin [virtualenv/create/pyenv_cfg.py:38]
py313: 832 D 	implementation = CPython [virtualenv/create/pyenv_cfg.py:38]
py313: 832 D 	version_info = 3.13.0.final.0 [virtualenv/create/pyenv_cfg.py:38]
py313: 832 D 	virtualenv = 20.27.0 [virtualenv/create/pyenv_cfg.py:38]
py313: 832 D 	include-system-site-packages = false [virtualenv/create/pyenv_cfg.py:38]
py313: 832 D 	base-prefix = /Library/Frameworks/Python.framework/Versions/3.13 [virtualenv/create/pyenv_cfg.py:38]
py313: 832 D 	base-exec-prefix = /Library/Frameworks/Python.framework/Versions/3.13 [virtualenv/create/pyenv_cfg.py:38]
py313: 832 D 	base-executable = /Library/Frameworks/Python.framework/Versions/3.13/bin/python3.13 [virtualenv/create/pyenv_cfg.py:38]
py313: 832 D symlink /Library/Frameworks/Python.framework/Versions/3.13/bin/python3 to /Users/hugo/github/norwegianblue/.tox/py313/bin/python [virtualenv/util/path/_sync.py:32]
py313: 833 D create virtualenv import hook file /Users/hugo/github/norwegianblue/.tox/py313/lib/python3.13/site-packages/_virtualenv.pth [virtualenv/create/via_global_ref/api.py:91]
py313: 833 D create /Users/hugo/github/norwegianblue/.tox/py313/lib/python3.13/site-packages/_virtualenv.py [virtualenv/create/via_global_ref/api.py:94]
py313: 833 D ============================== target debug ============================== [virtualenv/run/session.py:52]
py313: 833 D debug via /Users/hugo/github/norwegianblue/.tox/py313/bin/python /Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/virtualenv/create/debug.py [virtualenv/create/creator.py:200]
py313: 833 D {
  "sys": {
    "executable": "/Users/hugo/github/norwegianblue/.tox/py313/bin/python",
    "_base_executable": "/Library/Frameworks/Python.framework/Versions/3.13/bin/python3.13",
    "prefix": "/Users/hugo/github/norwegianblue/.tox/py313",
    "base_prefix": "/Library/Frameworks/Python.framework/Versions/3.13",
    "real_prefix": null,
    "exec_prefix": "/Users/hugo/github/norwegianblue/.tox/py313",
    "base_exec_prefix": "/Library/Frameworks/Python.framework/Versions/3.13",
    "path": [
      "/Library/Frameworks/Python.framework/Versions/3.13/lib/python313.zip",
      "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13",
      "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/lib-dynload",
      "/Users/hugo/github/norwegianblue/.tox/py313/lib/python3.13/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.13.0 (v3.13.0:60403a5409f, Oct  7 2024, 00:37:40) [Clang 15.0.0 (clang-1500.3.9.4)]",
  "makefile_filename": "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/config-3.13-darwin/Makefile",
  "os": "<module 'os' (frozen)>",
  "site": "<module 'site' (frozen)>",
  "datetime": "<module 'datetime' from '/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/datetime.py'>",
  "math": "<module 'math' from '/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/lib-dynload/math.cpython-313-darwin.so'>",
  "json": "<module 'json' from '/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/json/__init__.py'>"
} [virtualenv/run/session.py:53]
py313: 859 I add seed packages via FromAppData(download=False, pip=bundle, via=copy, app_data_dir=/Users/hugo/Library/Application Support/virtualenv) [virtualenv/run/session.py:57]
py313: 862 D got embed update of distribution %s from ('pip', PosixPath('/Users/hugo/Library/Application Support/virtualenv/wheel/3.13/embed/3/pip.json')) [virtualenv/app_data/via_disk_folder.py:131]
py313: 867 D install pip from wheel /Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/virtualenv/seed/wheels/embed/pip-24.2-py3-none-any.whl via CopyPipInstall [virtualenv/seed/embed/via_app_data/via_app_data.py:49]
py313: 871 D copy directory /Users/hugo/Library/Application Support/virtualenv/wheel/3.13/image/1/CopyPipInstall/pip-24.2-py3-none-any/pip to /Users/hugo/github/norwegianblue/.tox/py313/lib/python3.13/site-packages/pip [virtualenv/util/path/_sync.py:40]
py313: 1001 D copy directory /Users/hugo/Library/Application Support/virtualenv/wheel/3.13/image/1/CopyPipInstall/pip-24.2-py3-none-any/pip-24.2.dist-info to /Users/hugo/github/norwegianblue/.tox/py313/lib/python3.13/site-packages/pip-24.2.dist-info [virtualenv/util/path/_sync.py:40]
py313: 1004 D copy /Users/hugo/Library/Application Support/virtualenv/wheel/3.13/image/1/CopyPipInstall/pip-24.2-py3-none-any/pip-24.2.virtualenv to /Users/hugo/github/norwegianblue/.tox/py313/lib/python3.13/site-packages/pip-24.2.virtualenv [virtualenv/util/path/_sync.py:40]
py313: 1005 D generated console scripts pip3.13 pip-3.13 pip pip3 [virtualenv/seed/embed/via_app_data/pip_install/base.py:43]
py313: 1005 I add activators for Bash, CShell, Fish, Nushell, PowerShell, Python [virtualenv/run/session.py:63]
py313: 1008 D write /Users/hugo/github/norwegianblue/.tox/py313/pyvenv.cfg [virtualenv/create/pyenv_cfg.py:33]
py313: 1008 D 	home = /Library/Frameworks/Python.framework/Versions/3.13/bin [virtualenv/create/pyenv_cfg.py:38]
py313: 1008 D 	implementation = CPython [virtualenv/create/pyenv_cfg.py:38]
py313: 1009 D 	version_info = 3.13.0.final.0 [virtualenv/create/pyenv_cfg.py:38]
py313: 1009 D 	virtualenv = 20.27.0 [virtualenv/create/pyenv_cfg.py:38]
py313: 1009 D 	include-system-site-packages = false [virtualenv/create/pyenv_cfg.py:38]
py313: 1009 D 	base-prefix = /Library/Frameworks/Python.framework/Versions/3.13 [virtualenv/create/pyenv_cfg.py:38]
py313: 1009 D 	base-exec-prefix = /Library/Frameworks/Python.framework/Versions/3.13 [virtualenv/create/pyenv_cfg.py:38]
py313: 1009 D 	base-executable = /Library/Frameworks/Python.framework/Versions/3.13/bin/python3.13 [virtualenv/create/pyenv_cfg.py:38]
.pkg: 1011 I find interpreter for spec PythonSpec(path=/Library/Frameworks/Python.framework/Versions/3.13/bin/python3) [virtualenv/discovery/builtin.py:73]
.pkg: 1011 I proposed PythonInfo(spec=CPython3.13.0.final.0-64, exe=/Library/Frameworks/Python.framework/Versions/3.13/bin/python3, platform=darwin, version='3.13.0 (v3.13.0:60403a5409f, Oct  7 2024, 00:37:40) [Clang 15.0.0 (clang-1500.3.9.4)]', encoding_fs_io=utf-8-utf-8) [virtualenv/discovery/builtin.py:80]
.pkg: 1011 D accepted PythonInfo(spec=CPython3.13.0.final.0-64, exe=/Library/Frameworks/Python.framework/Versions/3.13/bin/python3, platform=darwin, version='3.13.0 (v3.13.0:60403a5409f, Oct  7 2024, 00:37:40) [Clang 15.0.0 (clang-1500.3.9.4)]', encoding_fs_io=utf-8-utf-8) [virtualenv/discovery/builtin.py:82]
.pkg: 1012 I create virtual environment via CPython3Posix(dest=/Users/hugo/github/norwegianblue/.tox/.pkg, clear=False, no_vcs_ignore=False, global=False) [virtualenv/run/session.py:50]
.pkg: 1012 D create folder /Users/hugo/github/norwegianblue/.tox/.pkg/bin [virtualenv/util/path/_sync.py:12]
.pkg: 1012 D create folder /Users/hugo/github/norwegianblue/.tox/.pkg/lib/python3.13/site-packages [virtualenv/util/path/_sync.py:12]
.pkg: 1012 D write /Users/hugo/github/norwegianblue/.tox/.pkg/pyvenv.cfg [virtualenv/create/pyenv_cfg.py:33]
.pkg: 1012 D 	home = /Library/Frameworks/Python.framework/Versions/3.13/bin [virtualenv/create/pyenv_cfg.py:38]
.pkg: 1012 D 	implementation = CPython [virtualenv/create/pyenv_cfg.py:38]
.pkg: 1012 D 	version_info = 3.13.0.final.0 [virtualenv/create/pyenv_cfg.py:38]
.pkg: 1012 D 	virtualenv = 20.27.0 [virtualenv/create/pyenv_cfg.py:38]
.pkg: 1012 D 	include-system-site-packages = false [virtualenv/create/pyenv_cfg.py:38]
.pkg: 1012 D 	base-prefix = /Library/Frameworks/Python.framework/Versions/3.13 [virtualenv/create/pyenv_cfg.py:38]
.pkg: 1012 D 	base-exec-prefix = /Library/Frameworks/Python.framework/Versions/3.13 [virtualenv/create/pyenv_cfg.py:38]
.pkg: 1012 D 	base-executable = /Library/Frameworks/Python.framework/Versions/3.13/bin/python3.13 [virtualenv/create/pyenv_cfg.py:38]
.pkg: 1012 D symlink /Library/Frameworks/Python.framework/Versions/3.13/bin/python3 to /Users/hugo/github/norwegianblue/.tox/.pkg/bin/python [virtualenv/util/path/_sync.py:32]
.pkg: 1013 D create virtualenv import hook file /Users/hugo/github/norwegianblue/.tox/.pkg/lib/python3.13/site-packages/_virtualenv.pth [virtualenv/create/via_global_ref/api.py:91]
.pkg: 1013 D create /Users/hugo/github/norwegianblue/.tox/.pkg/lib/python3.13/site-packages/_virtualenv.py [virtualenv/create/via_global_ref/api.py:94]
.pkg: 1013 D ============================== target debug ============================== [virtualenv/run/session.py:52]
.pkg: 1013 D debug via /Users/hugo/github/norwegianblue/.tox/.pkg/bin/python /Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/virtualenv/create/debug.py [virtualenv/create/creator.py:200]
.pkg: 1013 D {
  "sys": {
    "executable": "/Users/hugo/github/norwegianblue/.tox/.pkg/bin/python",
    "_base_executable": "/Library/Frameworks/Python.framework/Versions/3.13/bin/python3.13",
    "prefix": "/Users/hugo/github/norwegianblue/.tox/.pkg",
    "base_prefix": "/Library/Frameworks/Python.framework/Versions/3.13",
    "real_prefix": null,
    "exec_prefix": "/Users/hugo/github/norwegianblue/.tox/.pkg",
    "base_exec_prefix": "/Library/Frameworks/Python.framework/Versions/3.13",
    "path": [
      "/Library/Frameworks/Python.framework/Versions/3.13/lib/python313.zip",
      "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13",
      "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/lib-dynload",
      "/Users/hugo/github/norwegianblue/.tox/.pkg/lib/python3.13/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.13.0 (v3.13.0:60403a5409f, Oct  7 2024, 00:37:40) [Clang 15.0.0 (clang-1500.3.9.4)]",
  "makefile_filename": "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/config-3.13-darwin/Makefile",
  "os": "<module 'os' (frozen)>",
  "site": "<module 'site' (frozen)>",
  "datetime": "<module 'datetime' from '/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/datetime.py'>",
  "math": "<module 'math' from '/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/lib-dynload/math.cpython-313-darwin.so'>",
  "json": "<module 'json' from '/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/json/__init__.py'>"
} [virtualenv/run/session.py:53]
.pkg: 1035 I add seed packages via FromAppData(download=False, pip=bundle, via=copy, app_data_dir=/Users/hugo/Library/Application Support/virtualenv) [virtualenv/run/session.py:57]
.pkg: 1035 D got embed update of distribution %s from ('pip', PosixPath('/Users/hugo/Library/Application Support/virtualenv/wheel/3.13/embed/3/pip.json')) [virtualenv/app_data/via_disk_folder.py:131]
.pkg: 1035 D install pip from wheel /Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/virtualenv/seed/wheels/embed/pip-24.2-py3-none-any.whl via CopyPipInstall [virtualenv/seed/embed/via_app_data/via_app_data.py:49]
.pkg: 1036 D copy directory /Users/hugo/Library/Application Support/virtualenv/wheel/3.13/image/1/CopyPipInstall/pip-24.2-py3-none-any/pip to /Users/hugo/github/norwegianblue/.tox/.pkg/lib/python3.13/site-packages/pip [virtualenv/util/path/_sync.py:40]
.pkg: 1093 D copy directory /Users/hugo/Library/Application Support/virtualenv/wheel/3.13/image/1/CopyPipInstall/pip-24.2-py3-none-any/pip-24.2.dist-info to /Users/hugo/github/norwegianblue/.tox/.pkg/lib/python3.13/site-packages/pip-24.2.dist-info [virtualenv/util/path/_sync.py:40]
.pkg: 1094 D copy /Users/hugo/Library/Application Support/virtualenv/wheel/3.13/image/1/CopyPipInstall/pip-24.2-py3-none-any/pip-24.2.virtualenv to /Users/hugo/github/norwegianblue/.tox/.pkg/lib/python3.13/site-packages/pip-24.2.virtualenv [virtualenv/util/path/_sync.py:40]
.pkg: 1095 D generated console scripts pip3.13 pip3 pip-3.13 pip [virtualenv/seed/embed/via_app_data/pip_install/base.py:43]
.pkg: 1095 I add activators for Bash, CShell, Fish, Nushell, PowerShell, Python [virtualenv/run/session.py:63]
.pkg: 1096 D write /Users/hugo/github/norwegianblue/.tox/.pkg/pyvenv.cfg [virtualenv/create/pyenv_cfg.py:33]
.pkg: 1096 D 	home = /Library/Frameworks/Python.framework/Versions/3.13/bin [virtualenv/create/pyenv_cfg.py:38]
.pkg: 1096 D 	implementation = CPython [virtualenv/create/pyenv_cfg.py:38]
.pkg: 1096 D 	version_info = 3.13.0.final.0 [virtualenv/create/pyenv_cfg.py:38]
.pkg: 1096 D 	virtualenv = 20.27.0 [virtualenv/create/pyenv_cfg.py:38]
.pkg: 1096 D 	include-system-site-packages = false [virtualenv/create/pyenv_cfg.py:38]
.pkg: 1096 D 	base-prefix = /Library/Frameworks/Python.framework/Versions/3.13 [virtualenv/create/pyenv_cfg.py:38]
.pkg: 1096 D 	base-exec-prefix = /Library/Frameworks/Python.framework/Versions/3.13 [virtualenv/create/pyenv_cfg.py:38]
.pkg: 1096 D 	base-executable = /Library/Frameworks/Python.framework/Versions/3.13/bin/python3.13 [virtualenv/create/pyenv_cfg.py:38]
.pkg: 1097 W install_requires> python -I -m pip install hatch-vcs hatchling [tox/tox_env/api.py:427]
Collecting hatch-vcs
  Using cached hatch_vcs-0.4.0-py3-none-any.whl.metadata (8.6 kB)
Collecting hatchling
  Using cached hatchling-1.25.0-py3-none-any.whl.metadata (3.8 kB)
Collecting setuptools-scm>=6.4.0 (from hatch-vcs)
  Using cached setuptools_scm-8.1.0-py3-none-any.whl.metadata (6.6 kB)
Collecting packaging>=23.2 (from hatchling)
  Using cached packaging-24.1-py3-none-any.whl.metadata (3.2 kB)
Collecting pathspec>=0.10.1 (from hatchling)
  Using cached pathspec-0.12.1-py3-none-any.whl.metadata (21 kB)
Collecting pluggy>=1.0.0 (from hatchling)
  Using cached pluggy-1.5.0-py3-none-any.whl.metadata (4.8 kB)
Collecting trove-classifiers (from hatchling)
  Using cached trove_classifiers-2024.10.21.16-py3-none-any.whl.metadata (2.2 kB)
Collecting setuptools (from setuptools-scm>=6.4.0->hatch-vcs)
  Using cached setuptools-75.2.0-py3-none-any.whl.metadata (6.9 kB)
Using cached hatch_vcs-0.4.0-py3-none-any.whl (8.4 kB)
Using cached hatchling-1.25.0-py3-none-any.whl (84 kB)
Using cached packaging-24.1-py3-none-any.whl (53 kB)
Using cached pathspec-0.12.1-py3-none-any.whl (31 kB)
Using cached pluggy-1.5.0-py3-none-any.whl (20 kB)
Using cached setuptools_scm-8.1.0-py3-none-any.whl (43 kB)
Using cached trove_classifiers-2024.10.21.16-py3-none-any.whl (13 kB)
Using cached setuptools-75.2.0-py3-none-any.whl (1.2 MB)
Installing collected packages: trove-classifiers, setuptools, pluggy, pathspec, packaging, setuptools-scm, hatchling, hatch-vcs
Successfully installed hatch-vcs-0.4.0 hatchling-1.25.0 packaging-24.1 pathspec-0.12.1 pluggy-1.5.0 setuptools-75.2.0 setuptools-scm-8.1.0 trove-classifiers-2024.10.21.16
.pkg: 2580 I exit 0 (1.48 seconds) /Users/hugo/github/norwegianblue> python -I -m pip install hatch-vcs hatchling pid=23089 [tox/execute/api.py:286]
.pkg: 2581 W _optional_hooks> python /Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/pyproject_api/_backend.py True hatchling.build [tox/tox_env/api.py:427]
Backend: run command _optional_hooks with args {}
Backend: Wrote response {'return': {'get_requires_for_build_sdist': True, 'prepare_metadata_for_build_wheel': True, 'get_requires_for_build_wheel': True, 'build_editable': True, 'get_requires_for_build_editable': True, 'prepare_metadata_for_build_editable': True}} to /var/folders/p6/lf2s1s5d4kb335g2n1td8z8c0000gn/T/pep517__optional_hooks-4itrqbtm.json
.pkg: 2610 I exit None (0.03 seconds) /Users/hugo/github/norwegianblue> python /Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/pyproject_api/_backend.py True hatchling.build pid=23091 [tox/execute/api.py:286]
.pkg: 2611 W get_requires_for_build_sdist> python /Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/pyproject_api/_backend.py True hatchling.build [tox/tox_env/api.py:427]
Backend: run command get_requires_for_build_sdist with args {'config_settings': None}
Backend: Wrote response {'return': []} to /var/folders/p6/lf2s1s5d4kb335g2n1td8z8c0000gn/T/pep517_get_requires_for_build_sdist-ruq60jph.json
.pkg: 2677 I exit None (0.06 seconds) /Users/hugo/github/norwegianblue> python /Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/pyproject_api/_backend.py True hatchling.build pid=23091 [tox/execute/api.py:286]
.pkg: 2677 W build_sdist> python /Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/pyproject_api/_backend.py True hatchling.build [tox/tox_env/api.py:427]
Backend: run command build_sdist with args {'sdist_directory': '/Users/hugo/github/norwegianblue/.tox/.pkg/dist', 'config_settings': None}
Backend: Wrote response {'return': 'norwegianblue-0.18.1.dev19.tar.gz'} to /var/folders/p6/lf2s1s5d4kb335g2n1td8z8c0000gn/T/pep517_build_sdist-ea6bodzm.json
.pkg: 2824 I exit None (0.15 seconds) /Users/hugo/github/norwegianblue> python /Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/pyproject_api/_backend.py True hatchling.build pid=23091 [tox/execute/api.py:286]
.pkg: 2824 D package .tmp/package/41/norwegianblue-0.18.1.dev19.tar.gz links to .pkg/dist/norwegianblue-0.18.1.dev19.tar.gz (/Users/hugo/github/norwegianblue/.tox) [tox/util/file_view.py:39]
py313: 2825 W install_package_deps> python -I -m pip install 'httpx>=0.19' platformdirs 'prettytable>=2.4' 'pytablewriter[html]>=0.63' python-dateutil python-slugify 'termcolor>=2.1' [tox/tox_env/api.py:427]
Collecting httpx>=0.19
  Using cached httpx-0.27.2-py3-none-any.whl.metadata (7.1 kB)
Collecting platformdirs
  Using cached platformdirs-4.3.6-py3-none-any.whl.metadata (11 kB)
Collecting prettytable>=2.4
  Using cached prettytable-3.11.0-py3-none-any.whl.metadata (30 kB)
Collecting pytablewriter>=0.63 (from pytablewriter[html]>=0.63)
  Using cached pytablewriter-1.2.0-py3-none-any.whl.metadata (37 kB)
Collecting python-dateutil
  Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB)
Collecting python-slugify
  Using cached python_slugify-8.0.4-py2.py3-none-any.whl.metadata (8.5 kB)
Collecting termcolor>=2.1
  Using cached termcolor-2.5.0-py3-none-any.whl.metadata (6.1 kB)
Collecting anyio (from httpx>=0.19)
  Using cached anyio-4.6.2.post1-py3-none-any.whl.metadata (4.7 kB)
Collecting certifi (from httpx>=0.19)
  Using cached certifi-2024.8.30-py3-none-any.whl.metadata (2.2 kB)
Collecting httpcore==1.* (from httpx>=0.19)
  Using cached httpcore-1.0.6-py3-none-any.whl.metadata (21 kB)
Collecting idna (from httpx>=0.19)
  Using cached idna-3.10-py3-none-any.whl.metadata (10 kB)
Collecting sniffio (from httpx>=0.19)
  Using cached sniffio-1.3.1-py3-none-any.whl.metadata (3.9 kB)
Collecting h11<0.15,>=0.13 (from httpcore==1.*->httpx>=0.19)
  Using cached h11-0.14.0-py3-none-any.whl.metadata (8.2 kB)
Collecting wcwidth (from prettytable>=2.4)
  Using cached wcwidth-0.2.13-py2.py3-none-any.whl.metadata (14 kB)
Collecting setuptools>=38.3.0 (from pytablewriter>=0.63->pytablewriter[html]>=0.63)
  Using cached setuptools-75.2.0-py3-none-any.whl.metadata (6.9 kB)
Collecting DataProperty<2,>=1.0.1 (from pytablewriter>=0.63->pytablewriter[html]>=0.63)
  Using cached DataProperty-1.0.1-py3-none-any.whl.metadata (11 kB)
Collecting mbstrdecoder<2,>=1.0.0 (from pytablewriter>=0.63->pytablewriter[html]>=0.63)
  Using cached mbstrdecoder-1.1.3-py3-none-any.whl.metadata (4.0 kB)
Collecting pathvalidate<4,>=2.3.0 (from pytablewriter>=0.63->pytablewriter[html]>=0.63)
  Using cached pathvalidate-3.2.1-py3-none-any.whl.metadata (12 kB)
Collecting tabledata<2,>=1.3.1 (from pytablewriter>=0.63->pytablewriter[html]>=0.63)
  Using cached tabledata-1.3.3-py3-none-any.whl.metadata (3.7 kB)
Collecting tcolorpy<1,>=0.0.5 (from pytablewriter>=0.63->pytablewriter[html]>=0.63)
  Using cached tcolorpy-0.1.6-py3-none-any.whl.metadata (6.4 kB)
Collecting typepy<2,>=1.3.2 (from typepy[datetime]<2,>=1.3.2->pytablewriter>=0.63->pytablewriter[html]>=0.63)
  Using cached typepy-1.3.2-py3-none-any.whl.metadata (9.3 kB)
Collecting six>=1.5 (from python-dateutil)
  Using cached six-1.16.0-py2.py3-none-any.whl.metadata (1.8 kB)
Collecting text-unidecode>=1.3 (from python-slugify)
  Using cached text_unidecode-1.3-py2.py3-none-any.whl.metadata (2.4 kB)
Collecting dominate<3,>=2.1.5 (from pytablewriter[html]>=0.63)
  Using cached dominate-2.9.1-py2.py3-none-any.whl.metadata (13 kB)
Collecting chardet<6,>=3.0.4 (from mbstrdecoder<2,>=1.0.0->pytablewriter>=0.63->pytablewriter[html]>=0.63)
  Using cached chardet-5.2.0-py3-none-any.whl.metadata (3.4 kB)
Collecting pytz>=2018.9 (from typepy[datetime]<2,>=1.3.2->pytablewriter>=0.63->pytablewriter[html]>=0.63)
  Using cached pytz-2024.2-py2.py3-none-any.whl.metadata (22 kB)
Collecting packaging (from typepy[datetime]<2,>=1.3.2->pytablewriter>=0.63->pytablewriter[html]>=0.63)
  Using cached packaging-24.1-py3-none-any.whl.metadata (3.2 kB)
Using cached httpx-0.27.2-py3-none-any.whl (76 kB)
Using cached httpcore-1.0.6-py3-none-any.whl (78 kB)
Using cached platformdirs-4.3.6-py3-none-any.whl (18 kB)
Using cached prettytable-3.11.0-py3-none-any.whl (28 kB)
Using cached pytablewriter-1.2.0-py3-none-any.whl (111 kB)
Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
Using cached python_slugify-8.0.4-py2.py3-none-any.whl (10 kB)
Using cached termcolor-2.5.0-py3-none-any.whl (7.8 kB)
Using cached DataProperty-1.0.1-py3-none-any.whl (27 kB)
Using cached dominate-2.9.1-py2.py3-none-any.whl (29 kB)
Using cached mbstrdecoder-1.1.3-py3-none-any.whl (7.8 kB)
Using cached pathvalidate-3.2.1-py3-none-any.whl (23 kB)
Using cached setuptools-75.2.0-py3-none-any.whl (1.2 MB)
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Using cached tabledata-1.3.3-py3-none-any.whl (11 kB)
Using cached tcolorpy-0.1.6-py3-none-any.whl (8.1 kB)
Using cached text_unidecode-1.3-py2.py3-none-any.whl (78 kB)
Using cached typepy-1.3.2-py3-none-any.whl (31 kB)
Using cached anyio-4.6.2.post1-py3-none-any.whl (90 kB)
Using cached idna-3.10-py3-none-any.whl (70 kB)
Using cached sniffio-1.3.1-py3-none-any.whl (10 kB)
Using cached certifi-2024.8.30-py3-none-any.whl (167 kB)
Using cached wcwidth-0.2.13-py2.py3-none-any.whl (34 kB)
Using cached chardet-5.2.0-py3-none-any.whl (199 kB)
Using cached h11-0.14.0-py3-none-any.whl (58 kB)
Using cached pytz-2024.2-py2.py3-none-any.whl (508 kB)
Using cached packaging-24.1-py3-none-any.whl (53 kB)
Installing collected packages: wcwidth, text-unidecode, pytz, termcolor, tcolorpy, sniffio, six, setuptools, python-slugify, prettytable, platformdirs, pathvalidate, packaging, idna, h11, dominate, chardet, certifi, python-dateutil, mbstrdecoder, httpcore, anyio, typepy, httpx, DataProperty, tabledata, pytablewriter
Successfully installed DataProperty-1.0.1 anyio-4.6.2.post1 certifi-2024.8.30 chardet-5.2.0 dominate-2.9.1 h11-0.14.0 httpcore-1.0.6 httpx-0.27.2 idna-3.10 mbstrdecoder-1.1.3 packaging-24.1 pathvalidate-3.2.1 platformdirs-4.3.6 prettytable-3.11.0 pytablewriter-1.2.0 python-dateutil-2.9.0.post0 python-slugify-8.0.4 pytz-2024.2 setuptools-75.2.0 six-1.16.0 sniffio-1.3.1 tabledata-1.3.3 tcolorpy-0.1.6 termcolor-2.5.0 text-unidecode-1.3 typepy-1.3.2 wcwidth-0.2.13
py313: 5154 I exit 0 (2.32 seconds) /Users/hugo/github/norwegianblue> python -I -m pip install 'httpx>=0.19' platformdirs 'prettytable>=2.4' 'pytablewriter[html]>=0.63' python-dateutil python-slugify 'termcolor>=2.1' pid=23097 [tox/execute/api.py:286]
py313: 5159 W install_package> python -I -m pip install --force-reinstall --no-deps /Users/hugo/github/norwegianblue/.tox/.tmp/package/41/norwegianblue-0.18.1.dev19.tar.gz [tox/tox_env/api.py:427]
Processing ./.tox/.tmp/package/41/norwegianblue-0.18.1.dev19.tar.gz
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: norwegianblue
  Building wheel for norwegianblue (pyproject.toml) ... done
  Created wheel for norwegianblue: filename=norwegianblue-0.18.1.dev19-py3-none-any.whl size=12388 sha256=b280604f9d1ae1eff327c8cc8aacf617134ee26351a8c2a80b541b36e6653a3b
  Stored in directory: /Users/hugo/Library/Caches/pip/wheels/41/3f/d3/c66a58eb1f0125fa7b61f0102a701bb483cc393710f50c16c4
Successfully built norwegianblue
Installing collected packages: norwegianblue
Successfully installed norwegianblue-0.18.1.dev19
py313: 6784 I exit 0 (1.62 seconds) /Users/hugo/github/norwegianblue> python -I -m pip install --force-reinstall --no-deps /Users/hugo/github/norwegianblue/.tox/.tmp/package/41/norwegianblue-0.18.1.dev19.tar.gz pid=23100 [tox/execute/api.py:286]
py313: 6786 W commands[0]> .tox/py313/bin/python -m pytest --cov norwegianblue --cov tests --cov-report html --cov-report term --cov-report xml [tox/tox_env/api.py:427]
/Users/hugo/github/norwegianblue/.tox/py313/bin/python: No module named pytest
py313: 6816 C exit 1 (0.03 seconds) /Users/hugo/github/norwegianblue> .tox/py313/bin/python -m pytest --cov norwegianblue --cov tests --cov-report html --cov-report term --cov-report xml pid=23107 [tox/execute/api.py:286]
.pkg: 6817 W _exit> python /Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/pyproject_api/_backend.py True hatchling.build [tox/tox_env/api.py:427]
Backend: run command _exit with args {}
Backend: Wrote response {'return': 0} to /var/folders/p6/lf2s1s5d4kb335g2n1td8z8c0000gn/T/pep517__exit-wwqi99ma.json
.pkg: 6818 I exit None (0.00 seconds) /Users/hugo/github/norwegianblue> python /Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/pyproject_api/_backend.py True hatchling.build pid=23091 [tox/execute/api.py:286]
.pkg: 6839 D delete package /Users/hugo/github/norwegianblue/.tox/.tmp/package/41/norwegianblue-0.18.1.dev19.tar.gz [tox/tox_env/python/virtual_env/package/pyproject.py:224]
  py313: FAIL code 1 (6.46=setup[6.43]+cmd[0.03] seconds)
  evaluation failed :( (6.68 seconds)

Minimal example

This works (hugovk/norwegianblue@b0f700e -> https://github.com/hugovk/norwegianblue/actions/runs/11447266934):

pyproject.toml:

[dependency-groups]
test = [
  "freezegun",
  "pytest",
  "pytest-cov",
  "respx>=0.11",
]

tox.ini:

[testenv]
set_env =
    COVERAGE_CORE = sysmon
commands =
    {envpython} -m pytest \
      --cov norwegianblue \
      --cov tests \
      --cov-report html \
      --cov-report term \
      --cov-report xml \
      {posargs}
dependency_groups =
    test

But moving dependency_groups = test from tox.ini and into pyproject.toml's [tool.tox.env_run_base] doesn't (hugovk/norwegianblue@b24554c -> https://github.com/hugovk/norwegianblue/actions/runs/11447524100/job/31849049763):

pyproject.toml:

[tool.tox.env_run_base]
dependency-groups = [
  "test",
]

[dependency-groups]
test = [
  "freezegun",
  "pytest",
  "pytest-cov",
  "respx>=0.11",
]

tox.ini:

[testenv]
set_env =
    COVERAGE_CORE = sysmon
commands =
    {envpython} -m pytest \
      --cov norwegianblue \
      --cov tests \
      --cov-report html \
      --cov-report term \
      --cov-report xml \
      {posargs}
@gaborbernat
Copy link
Member

@hugovk I think the issue is just bad example and documentation #3421

@hugovk
Copy link
Contributor Author

hugovk commented Oct 22, 2024

It also fails with this in pyproject.toml:

[tool.tox.env_run_base]
dependency_groups = [  # changed from dependency-groups
  "test",
]

[dependency-groups]
test = [
  "freezegun",
  "pytest",
  "pytest-cov",
  "respx>=0.11",
]

hugovk/norwegianblue@c1bcf07

❯ tox -e py313 -rvv
py313: 105 W remove tox env folder /Users/hugo/github/norwegianblue/.tox/py313 [tox/tox_env/api.py:325]
.pkg: 254 W remove tox env folder /Users/hugo/github/norwegianblue/.tox/.pkg [tox/tox_env/api.py:325]
py313: 359 I find interpreter for spec PythonSpec(major=3, minor=13) [virtualenv/discovery/builtin.py:73]
py313: 360 D filesystem is not case-sensitive [virtualenv/info.py:25]
py313: 360 I proposed PythonInfo(spec=CPython3.13.0.final.0-64, exe=/Library/Frameworks/Python.framework/Versions/3.13/bin/python3, platform=darwin, version='3.13.0 (v3.13.0:60403a5409f, Oct  7 2024, 00:37:40) [Clang 15.0.0 (clang-1500.3.9.4)]', encoding_fs_io=utf-8-utf-8) [virtualenv/discovery/builtin.py:80]
py313: 360 D accepted PythonInfo(spec=CPython3.13.0.final.0-64, exe=/Library/Frameworks/Python.framework/Versions/3.13/bin/python3, platform=darwin, version='3.13.0 (v3.13.0:60403a5409f, Oct  7 2024, 00:37:40) [Clang 15.0.0 (clang-1500.3.9.4)]', encoding_fs_io=utf-8-utf-8) [virtualenv/discovery/builtin.py:82]
py313: 381 I create virtual environment via CPython3Posix(dest=/Users/hugo/github/norwegianblue/.tox/py313, clear=False, no_vcs_ignore=False, global=False) [virtualenv/run/session.py:50]
py313: 381 D create folder /Users/hugo/github/norwegianblue/.tox/py313/bin [virtualenv/util/path/_sync.py:12]
py313: 381 D create folder /Users/hugo/github/norwegianblue/.tox/py313/lib/python3.13/site-packages [virtualenv/util/path/_sync.py:12]
py313: 381 D write /Users/hugo/github/norwegianblue/.tox/py313/pyvenv.cfg [virtualenv/create/pyenv_cfg.py:33]
py313: 381 D       home = /Library/Frameworks/Python.framework/Versions/3.13/bin [virtualenv/create/pyenv_cfg.py:38]
py313: 381 D       implementation = CPython [virtualenv/create/pyenv_cfg.py:38]
py313: 382 D       version_info = 3.13.0.final.0 [virtualenv/create/pyenv_cfg.py:38]
py313: 382 D       virtualenv = 20.27.0 [virtualenv/create/pyenv_cfg.py:38]
py313: 382 D       include-system-site-packages = false [virtualenv/create/pyenv_cfg.py:38]
py313: 382 D       base-prefix = /Library/Frameworks/Python.framework/Versions/3.13 [virtualenv/create/pyenv_cfg.py:38]
py313: 382 D       base-exec-prefix = /Library/Frameworks/Python.framework/Versions/3.13 [virtualenv/create/pyenv_cfg.py:38]
py313: 382 D       base-executable = /Library/Frameworks/Python.framework/Versions/3.13/bin/python3.13 [virtualenv/create/pyenv_cfg.py:38]
py313: 382 D symlink /Library/Frameworks/Python.framework/Versions/3.13/bin/python3 to /Users/hugo/github/norwegianblue/.tox/py313/bin/python [virtualenv/util/path/_sync.py:32]
py313: 382 D create virtualenv import hook file /Users/hugo/github/norwegianblue/.tox/py313/lib/python3.13/site-packages/_virtualenv.pth [virtualenv/create/via_global_ref/api.py:91]
py313: 382 D create /Users/hugo/github/norwegianblue/.tox/py313/lib/python3.13/site-packages/_virtualenv.py [virtualenv/create/via_global_ref/api.py:94]
py313: 382 D ============================== target debug ============================== [virtualenv/run/session.py:52]
py313: 382 D debug via /Users/hugo/github/norwegianblue/.tox/py313/bin/python /Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/virtualenv/create/debug.py [virtualenv/create/creator.py:200]
py313: 382 D {
  "sys": {
    "executable": "/Users/hugo/github/norwegianblue/.tox/py313/bin/python",
    "_base_executable": "/Library/Frameworks/Python.framework/Versions/3.13/bin/python3.13",
    "prefix": "/Users/hugo/github/norwegianblue/.tox/py313",
    "base_prefix": "/Library/Frameworks/Python.framework/Versions/3.13",
    "real_prefix": null,
    "exec_prefix": "/Users/hugo/github/norwegianblue/.tox/py313",
    "base_exec_prefix": "/Library/Frameworks/Python.framework/Versions/3.13",
    "path": [
      "/Library/Frameworks/Python.framework/Versions/3.13/lib/python313.zip",
      "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13",
      "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/lib-dynload",
      "/Users/hugo/github/norwegianblue/.tox/py313/lib/python3.13/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.13.0 (v3.13.0:60403a5409f, Oct  7 2024, 00:37:40) [Clang 15.0.0 (clang-1500.3.9.4)]",
  "makefile_filename": "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/config-3.13-darwin/Makefile",
  "os": "<module 'os' (frozen)>",
  "site": "<module 'site' (frozen)>",
  "datetime": "<module 'datetime' from '/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/datetime.py'>",
  "math": "<module 'math' from '/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/lib-dynload/math.cpython-313-darwin.so'>",
  "json": "<module 'json' from '/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/json/__init__.py'>"
} [virtualenv/run/session.py:53]
py313: 405 I add seed packages via FromAppData(download=False, pip=bundle, via=copy, app_data_dir=/Users/hugo/Library/Application Support/virtualenv) [virtualenv/run/session.py:57]
py313: 406 D got embed update of distribution %s from ('pip', PosixPath('/Users/hugo/Library/Application Support/virtualenv/wheel/3.13/embed/3/pip.json')) [virtualenv/app_data/via_disk_folder.py:131]
py313: 408 D install pip from wheel /Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/virtualenv/seed/wheels/embed/pip-24.2-py3-none-any.whl via CopyPipInstall [virtualenv/seed/embed/via_app_data/via_app_data.py:49]
py313: 408 D copy directory /Users/hugo/Library/Application Support/virtualenv/wheel/3.13/image/1/CopyPipInstall/pip-24.2-py3-none-any/pip to /Users/hugo/github/norwegianblue/.tox/py313/lib/python3.13/site-packages/pip [virtualenv/util/path/_sync.py:40]
py313: 491 D copy directory /Users/hugo/Library/Application Support/virtualenv/wheel/3.13/image/1/CopyPipInstall/pip-24.2-py3-none-any/pip-24.2.dist-info to /Users/hugo/github/norwegianblue/.tox/py313/lib/python3.13/site-packages/pip-24.2.dist-info [virtualenv/util/path/_sync.py:40]
py313: 492 D copy /Users/hugo/Library/Application Support/virtualenv/wheel/3.13/image/1/CopyPipInstall/pip-24.2-py3-none-any/pip-24.2.virtualenv to /Users/hugo/github/norwegianblue/.tox/py313/lib/python3.13/site-packages/pip-24.2.virtualenv [virtualenv/util/path/_sync.py:40]
py313: 493 D generated console scripts pip pip3.13 pip-3.13 pip3 [virtualenv/seed/embed/via_app_data/pip_install/base.py:43]
py313: 493 I add activators for Bash, CShell, Fish, Nushell, PowerShell, Python [virtualenv/run/session.py:63]
py313: 496 D write /Users/hugo/github/norwegianblue/.tox/py313/pyvenv.cfg [virtualenv/create/pyenv_cfg.py:33]
py313: 496 D       home = /Library/Frameworks/Python.framework/Versions/3.13/bin [virtualenv/create/pyenv_cfg.py:38]
py313: 496 D       implementation = CPython [virtualenv/create/pyenv_cfg.py:38]
py313: 496 D       version_info = 3.13.0.final.0 [virtualenv/create/pyenv_cfg.py:38]
py313: 496 D       virtualenv = 20.27.0 [virtualenv/create/pyenv_cfg.py:38]
py313: 496 D       include-system-site-packages = false [virtualenv/create/pyenv_cfg.py:38]
py313: 496 D       base-prefix = /Library/Frameworks/Python.framework/Versions/3.13 [virtualenv/create/pyenv_cfg.py:38]
py313: 496 D       base-exec-prefix = /Library/Frameworks/Python.framework/Versions/3.13 [virtualenv/create/pyenv_cfg.py:38]
py313: 496 D       base-executable = /Library/Frameworks/Python.framework/Versions/3.13/bin/python3.13 [virtualenv/create/pyenv_cfg.py:38]
.pkg: 499 I find interpreter for spec PythonSpec(path=/Library/Frameworks/Python.framework/Versions/3.13/bin/python3) [virtualenv/discovery/builtin.py:73]
.pkg: 499 I proposed PythonInfo(spec=CPython3.13.0.final.0-64, exe=/Library/Frameworks/Python.framework/Versions/3.13/bin/python3, platform=darwin, version='3.13.0 (v3.13.0:60403a5409f, Oct  7 2024, 00:37:40) [Clang 15.0.0 (clang-1500.3.9.4)]', encoding_fs_io=utf-8-utf-8) [virtualenv/discovery/builtin.py:80]
.pkg: 499 D accepted PythonInfo(spec=CPython3.13.0.final.0-64, exe=/Library/Frameworks/Python.framework/Versions/3.13/bin/python3, platform=darwin, version='3.13.0 (v3.13.0:60403a5409f, Oct  7 2024, 00:37:40) [Clang 15.0.0 (clang-1500.3.9.4)]', encoding_fs_io=utf-8-utf-8) [virtualenv/discovery/builtin.py:82]
.pkg: 500 I create virtual environment via CPython3Posix(dest=/Users/hugo/github/norwegianblue/.tox/.pkg, clear=False, no_vcs_ignore=False, global=False) [virtualenv/run/session.py:50]
.pkg: 500 D create folder /Users/hugo/github/norwegianblue/.tox/.pkg/bin [virtualenv/util/path/_sync.py:12]
.pkg: 500 D create folder /Users/hugo/github/norwegianblue/.tox/.pkg/lib/python3.13/site-packages [virtualenv/util/path/_sync.py:12]
.pkg: 500 D write /Users/hugo/github/norwegianblue/.tox/.pkg/pyvenv.cfg [virtualenv/create/pyenv_cfg.py:33]
.pkg: 500 D        home = /Library/Frameworks/Python.framework/Versions/3.13/bin [virtualenv/create/pyenv_cfg.py:38]
.pkg: 500 D        implementation = CPython [virtualenv/create/pyenv_cfg.py:38]
.pkg: 500 D        version_info = 3.13.0.final.0 [virtualenv/create/pyenv_cfg.py:38]
.pkg: 500 D        virtualenv = 20.27.0 [virtualenv/create/pyenv_cfg.py:38]
.pkg: 500 D        include-system-site-packages = false [virtualenv/create/pyenv_cfg.py:38]
.pkg: 500 D        base-prefix = /Library/Frameworks/Python.framework/Versions/3.13 [virtualenv/create/pyenv_cfg.py:38]
.pkg: 500 D        base-exec-prefix = /Library/Frameworks/Python.framework/Versions/3.13 [virtualenv/create/pyenv_cfg.py:38]
.pkg: 500 D        base-executable = /Library/Frameworks/Python.framework/Versions/3.13/bin/python3.13 [virtualenv/create/pyenv_cfg.py:38]
.pkg: 500 D symlink /Library/Frameworks/Python.framework/Versions/3.13/bin/python3 to /Users/hugo/github/norwegianblue/.tox/.pkg/bin/python [virtualenv/util/path/_sync.py:32]
.pkg: 500 D create virtualenv import hook file /Users/hugo/github/norwegianblue/.tox/.pkg/lib/python3.13/site-packages/_virtualenv.pth [virtualenv/create/via_global_ref/api.py:91]
.pkg: 500 D create /Users/hugo/github/norwegianblue/.tox/.pkg/lib/python3.13/site-packages/_virtualenv.py [virtualenv/create/via_global_ref/api.py:94]
.pkg: 501 D ============================== target debug ============================== [virtualenv/run/session.py:52]
.pkg: 501 D debug via /Users/hugo/github/norwegianblue/.tox/.pkg/bin/python /Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/virtualenv/create/debug.py [virtualenv/create/creator.py:200]
.pkg: 501 D {
  "sys": {
    "executable": "/Users/hugo/github/norwegianblue/.tox/.pkg/bin/python",
    "_base_executable": "/Library/Frameworks/Python.framework/Versions/3.13/bin/python3.13",
    "prefix": "/Users/hugo/github/norwegianblue/.tox/.pkg",
    "base_prefix": "/Library/Frameworks/Python.framework/Versions/3.13",
    "real_prefix": null,
    "exec_prefix": "/Users/hugo/github/norwegianblue/.tox/.pkg",
    "base_exec_prefix": "/Library/Frameworks/Python.framework/Versions/3.13",
    "path": [
      "/Library/Frameworks/Python.framework/Versions/3.13/lib/python313.zip",
      "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13",
      "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/lib-dynload",
      "/Users/hugo/github/norwegianblue/.tox/.pkg/lib/python3.13/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.13.0 (v3.13.0:60403a5409f, Oct  7 2024, 00:37:40) [Clang 15.0.0 (clang-1500.3.9.4)]",
  "makefile_filename": "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/config-3.13-darwin/Makefile",
  "os": "<module 'os' (frozen)>",
  "site": "<module 'site' (frozen)>",
  "datetime": "<module 'datetime' from '/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/datetime.py'>",
  "math": "<module 'math' from '/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/lib-dynload/math.cpython-313-darwin.so'>",
  "json": "<module 'json' from '/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/json/__init__.py'>"
} [virtualenv/run/session.py:53]
.pkg: 524 I add seed packages via FromAppData(download=False, pip=bundle, via=copy, app_data_dir=/Users/hugo/Library/Application Support/virtualenv) [virtualenv/run/session.py:57]
.pkg: 524 D got embed update of distribution %s from ('pip', PosixPath('/Users/hugo/Library/Application Support/virtualenv/wheel/3.13/embed/3/pip.json')) [virtualenv/app_data/via_disk_folder.py:131]
.pkg: 525 D install pip from wheel /Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/virtualenv/seed/wheels/embed/pip-24.2-py3-none-any.whl via CopyPipInstall [virtualenv/seed/embed/via_app_data/via_app_data.py:49]
.pkg: 525 D copy directory /Users/hugo/Library/Application Support/virtualenv/wheel/3.13/image/1/CopyPipInstall/pip-24.2-py3-none-any/pip to /Users/hugo/github/norwegianblue/.tox/.pkg/lib/python3.13/site-packages/pip [virtualenv/util/path/_sync.py:40]
.pkg: 577 D copy directory /Users/hugo/Library/Application Support/virtualenv/wheel/3.13/image/1/CopyPipInstall/pip-24.2-py3-none-any/pip-24.2.dist-info to /Users/hugo/github/norwegianblue/.tox/.pkg/lib/python3.13/site-packages/pip-24.2.dist-info [virtualenv/util/path/_sync.py:40]
.pkg: 579 D copy /Users/hugo/Library/Application Support/virtualenv/wheel/3.13/image/1/CopyPipInstall/pip-24.2-py3-none-any/pip-24.2.virtualenv to /Users/hugo/github/norwegianblue/.tox/.pkg/lib/python3.13/site-packages/pip-24.2.virtualenv [virtualenv/util/path/_sync.py:40]
.pkg: 579 D generated console scripts pip3.13 pip-3.13 pip3 pip [virtualenv/seed/embed/via_app_data/pip_install/base.py:43]
.pkg: 579 I add activators for Bash, CShell, Fish, Nushell, PowerShell, Python [virtualenv/run/session.py:63]
.pkg: 580 D write /Users/hugo/github/norwegianblue/.tox/.pkg/pyvenv.cfg [virtualenv/create/pyenv_cfg.py:33]
.pkg: 580 D        home = /Library/Frameworks/Python.framework/Versions/3.13/bin [virtualenv/create/pyenv_cfg.py:38]
.pkg: 580 D        implementation = CPython [virtualenv/create/pyenv_cfg.py:38]
.pkg: 580 D        version_info = 3.13.0.final.0 [virtualenv/create/pyenv_cfg.py:38]
.pkg: 580 D        virtualenv = 20.27.0 [virtualenv/create/pyenv_cfg.py:38]
.pkg: 581 D        include-system-site-packages = false [virtualenv/create/pyenv_cfg.py:38]
.pkg: 581 D        base-prefix = /Library/Frameworks/Python.framework/Versions/3.13 [virtualenv/create/pyenv_cfg.py:38]
.pkg: 581 D        base-exec-prefix = /Library/Frameworks/Python.framework/Versions/3.13 [virtualenv/create/pyenv_cfg.py:38]
.pkg: 581 D        base-executable = /Library/Frameworks/Python.framework/Versions/3.13/bin/python3.13 [virtualenv/create/pyenv_cfg.py:38]
.pkg: 581 W install_requires> python -I -m pip install hatch-vcs hatchling [tox/tox_env/api.py:427]
Collecting hatch-vcs
  Using cached hatch_vcs-0.4.0-py3-none-any.whl.metadata (8.6 kB)
Collecting hatchling
  Using cached hatchling-1.25.0-py3-none-any.whl.metadata (3.8 kB)
Collecting setuptools-scm>=6.4.0 (from hatch-vcs)
  Using cached setuptools_scm-8.1.0-py3-none-any.whl.metadata (6.6 kB)
Collecting packaging>=23.2 (from hatchling)
  Using cached packaging-24.1-py3-none-any.whl.metadata (3.2 kB)
Collecting pathspec>=0.10.1 (from hatchling)
  Using cached pathspec-0.12.1-py3-none-any.whl.metadata (21 kB)
Collecting pluggy>=1.0.0 (from hatchling)
  Using cached pluggy-1.5.0-py3-none-any.whl.metadata (4.8 kB)
Collecting trove-classifiers (from hatchling)
  Using cached trove_classifiers-2024.10.21.16-py3-none-any.whl.metadata (2.2 kB)
Collecting setuptools (from setuptools-scm>=6.4.0->hatch-vcs)
  Using cached setuptools-75.2.0-py3-none-any.whl.metadata (6.9 kB)
Using cached hatch_vcs-0.4.0-py3-none-any.whl (8.4 kB)
Using cached hatchling-1.25.0-py3-none-any.whl (84 kB)
Using cached packaging-24.1-py3-none-any.whl (53 kB)
Using cached pathspec-0.12.1-py3-none-any.whl (31 kB)
Using cached pluggy-1.5.0-py3-none-any.whl (20 kB)
Using cached setuptools_scm-8.1.0-py3-none-any.whl (43 kB)
Using cached trove_classifiers-2024.10.21.16-py3-none-any.whl (13 kB)
Using cached setuptools-75.2.0-py3-none-any.whl (1.2 MB)
Installing collected packages: trove-classifiers, setuptools, pluggy, pathspec, packaging, setuptools-scm, hatchling, hatch-vcs
Successfully installed hatch-vcs-0.4.0 hatchling-1.25.0 packaging-24.1 pathspec-0.12.1 pluggy-1.5.0 setuptools-75.2.0 setuptools-scm-8.1.0 trove-classifiers-2024.10.21.16
.pkg: 2208 I exit 0 (1.63 seconds) /Users/hugo/github/norwegianblue> python -I -m pip install hatch-vcs hatchling pid=75045 [tox/execute/api.py:286]
.pkg: 2209 W _optional_hooks> python /Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/pyproject_api/_backend.py True hatchling.build [tox/tox_env/api.py:427]
Backend: run command _optional_hooks with args {}
Backend: Wrote response {'return': {'get_requires_for_build_sdist': True, 'prepare_metadata_for_build_wheel': True, 'get_requires_for_build_wheel': True, 'build_editable': True, 'get_requires_for_build_editable': True, 'prepare_metadata_for_build_editable': True}} to /var/folders/c8/hl_96fcs0hjgr29njx33x20c0000gn/T/pep517__optional_hooks-zl2izg59.json
.pkg: 2276 I exit None (0.07 seconds) /Users/hugo/github/norwegianblue> python /Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/pyproject_api/_backend.py True hatchling.build pid=75047 [tox/execute/api.py:286]
.pkg: 2276 W get_requires_for_build_sdist> python /Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/pyproject_api/_backend.py True hatchling.build [tox/tox_env/api.py:427]
Backend: run command get_requires_for_build_sdist with args {'config_settings': None}
Backend: Wrote response {'return': []} to /var/folders/c8/hl_96fcs0hjgr29njx33x20c0000gn/T/pep517_get_requires_for_build_sdist-_dfgwufo.json
.pkg: 2306 I exit None (0.03 seconds) /Users/hugo/github/norwegianblue> python /Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/pyproject_api/_backend.py True hatchling.build pid=75047 [tox/execute/api.py:286]
.pkg: 2307 W build_sdist> python /Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/pyproject_api/_backend.py True hatchling.build [tox/tox_env/api.py:427]
Backend: run command build_sdist with args {'sdist_directory': '/Users/hugo/github/norwegianblue/.tox/.pkg/dist', 'config_settings': None}
Backend: Wrote response {'return': 'norwegianblue-0.19.1.dev5.tar.gz'} to /var/folders/c8/hl_96fcs0hjgr29njx33x20c0000gn/T/pep517_build_sdist-mqra6l38.json
.pkg: 2410 I exit None (0.10 seconds) /Users/hugo/github/norwegianblue> python /Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/pyproject_api/_backend.py True hatchling.build pid=75047 [tox/execute/api.py:286]
.pkg: 2411 D package .tmp/package/43/norwegianblue-0.19.1.dev5.tar.gz links to .pkg/dist/norwegianblue-0.19.1.dev5.tar.gz (/Users/hugo/github/norwegianblue/.tox) [tox/util/file_view.py:39]
py313: 2411 W install_package_deps> python -I -m pip install 'httpx>=0.19' platformdirs 'prettytable>=2.4' 'pytablewriter[html]>=0.63' python-dateutil python-slugify 'termcolor>=2.1' [tox/tox_env/api.py:427]
Collecting httpx>=0.19
  Using cached httpx-0.27.2-py3-none-any.whl.metadata (7.1 kB)
Collecting platformdirs
  Using cached platformdirs-4.3.6-py3-none-any.whl.metadata (11 kB)
Collecting prettytable>=2.4
  Using cached prettytable-3.11.0-py3-none-any.whl.metadata (30 kB)
Collecting pytablewriter>=0.63 (from pytablewriter[html]>=0.63)
  Using cached pytablewriter-1.2.0-py3-none-any.whl.metadata (37 kB)
Collecting python-dateutil
  Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB)
Collecting python-slugify
  Using cached python_slugify-8.0.4-py2.py3-none-any.whl.metadata (8.5 kB)
Collecting termcolor>=2.1
  Using cached termcolor-2.5.0-py3-none-any.whl.metadata (6.1 kB)
Collecting anyio (from httpx>=0.19)
  Using cached anyio-4.6.2.post1-py3-none-any.whl.metadata (4.7 kB)
Collecting certifi (from httpx>=0.19)
  Using cached certifi-2024.8.30-py3-none-any.whl.metadata (2.2 kB)
Collecting httpcore==1.* (from httpx>=0.19)
  Using cached httpcore-1.0.6-py3-none-any.whl.metadata (21 kB)
Collecting idna (from httpx>=0.19)
  Using cached idna-3.10-py3-none-any.whl.metadata (10 kB)
Collecting sniffio (from httpx>=0.19)
  Using cached sniffio-1.3.1-py3-none-any.whl.metadata (3.9 kB)
Collecting h11<0.15,>=0.13 (from httpcore==1.*->httpx>=0.19)
  Using cached h11-0.14.0-py3-none-any.whl.metadata (8.2 kB)
Collecting wcwidth (from prettytable>=2.4)
  Using cached wcwidth-0.2.13-py2.py3-none-any.whl.metadata (14 kB)
Collecting setuptools>=38.3.0 (from pytablewriter>=0.63->pytablewriter[html]>=0.63)
  Using cached setuptools-75.2.0-py3-none-any.whl.metadata (6.9 kB)
Collecting DataProperty<2,>=1.0.1 (from pytablewriter>=0.63->pytablewriter[html]>=0.63)
  Using cached DataProperty-1.0.1-py3-none-any.whl.metadata (11 kB)
Collecting mbstrdecoder<2,>=1.0.0 (from pytablewriter>=0.63->pytablewriter[html]>=0.63)
  Using cached mbstrdecoder-1.1.3-py3-none-any.whl.metadata (4.0 kB)
Collecting pathvalidate<4,>=2.3.0 (from pytablewriter>=0.63->pytablewriter[html]>=0.63)
  Using cached pathvalidate-3.2.1-py3-none-any.whl.metadata (12 kB)
Collecting tabledata<2,>=1.3.1 (from pytablewriter>=0.63->pytablewriter[html]>=0.63)
  Using cached tabledata-1.3.3-py3-none-any.whl.metadata (3.7 kB)
Collecting tcolorpy<1,>=0.0.5 (from pytablewriter>=0.63->pytablewriter[html]>=0.63)
  Using cached tcolorpy-0.1.6-py3-none-any.whl.metadata (6.4 kB)
Collecting typepy<2,>=1.3.2 (from typepy[datetime]<2,>=1.3.2->pytablewriter>=0.63->pytablewriter[html]>=0.63)
  Using cached typepy-1.3.2-py3-none-any.whl.metadata (9.3 kB)
Collecting six>=1.5 (from python-dateutil)
  Using cached six-1.16.0-py2.py3-none-any.whl.metadata (1.8 kB)
Collecting text-unidecode>=1.3 (from python-slugify)
  Using cached text_unidecode-1.3-py2.py3-none-any.whl.metadata (2.4 kB)
Collecting dominate<3,>=2.1.5 (from pytablewriter[html]>=0.63)
  Using cached dominate-2.9.1-py2.py3-none-any.whl.metadata (13 kB)
Collecting chardet<6,>=3.0.4 (from mbstrdecoder<2,>=1.0.0->pytablewriter>=0.63->pytablewriter[html]>=0.63)
  Using cached chardet-5.2.0-py3-none-any.whl.metadata (3.4 kB)
Collecting pytz>=2018.9 (from typepy[datetime]<2,>=1.3.2->pytablewriter>=0.63->pytablewriter[html]>=0.63)
  Using cached pytz-2024.2-py2.py3-none-any.whl.metadata (22 kB)
Collecting packaging (from typepy[datetime]<2,>=1.3.2->pytablewriter>=0.63->pytablewriter[html]>=0.63)
  Using cached packaging-24.1-py3-none-any.whl.metadata (3.2 kB)
Using cached httpx-0.27.2-py3-none-any.whl (76 kB)
Using cached httpcore-1.0.6-py3-none-any.whl (78 kB)
Using cached platformdirs-4.3.6-py3-none-any.whl (18 kB)
Using cached prettytable-3.11.0-py3-none-any.whl (28 kB)
Using cached pytablewriter-1.2.0-py3-none-any.whl (111 kB)
Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
Using cached python_slugify-8.0.4-py2.py3-none-any.whl (10 kB)
Using cached termcolor-2.5.0-py3-none-any.whl (7.8 kB)
Using cached DataProperty-1.0.1-py3-none-any.whl (27 kB)
Using cached dominate-2.9.1-py2.py3-none-any.whl (29 kB)
Using cached mbstrdecoder-1.1.3-py3-none-any.whl (7.8 kB)
Using cached pathvalidate-3.2.1-py3-none-any.whl (23 kB)
Using cached setuptools-75.2.0-py3-none-any.whl (1.2 MB)
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Using cached tabledata-1.3.3-py3-none-any.whl (11 kB)
Using cached tcolorpy-0.1.6-py3-none-any.whl (8.1 kB)
Using cached text_unidecode-1.3-py2.py3-none-any.whl (78 kB)
Using cached typepy-1.3.2-py3-none-any.whl (31 kB)
Using cached anyio-4.6.2.post1-py3-none-any.whl (90 kB)
Using cached idna-3.10-py3-none-any.whl (70 kB)
Using cached sniffio-1.3.1-py3-none-any.whl (10 kB)
Using cached certifi-2024.8.30-py3-none-any.whl (167 kB)
Using cached wcwidth-0.2.13-py2.py3-none-any.whl (34 kB)
Using cached chardet-5.2.0-py3-none-any.whl (199 kB)
Using cached h11-0.14.0-py3-none-any.whl (58 kB)
Using cached pytz-2024.2-py2.py3-none-any.whl (508 kB)
Using cached packaging-24.1-py3-none-any.whl (53 kB)
Installing collected packages: wcwidth, text-unidecode, pytz, termcolor, tcolorpy, sniffio, six, setuptools, python-slugify, prettytable, platformdirs, pathvalidate, packaging, idna, h11, dominate, chardet, certifi, python-dateutil, mbstrdecoder, httpcore, anyio, typepy, httpx, DataProperty, tabledata, pytablewriter
Successfully installed DataProperty-1.0.1 anyio-4.6.2.post1 certifi-2024.8.30 chardet-5.2.0 dominate-2.9.1 h11-0.14.0 httpcore-1.0.6 httpx-0.27.2 idna-3.10 mbstrdecoder-1.1.3 packaging-24.1 pathvalidate-3.2.1 platformdirs-4.3.6 prettytable-3.11.0 pytablewriter-1.2.0 python-dateutil-2.9.0.post0 python-slugify-8.0.4 pytz-2024.2 setuptools-75.2.0 six-1.16.0 sniffio-1.3.1 tabledata-1.3.3 tcolorpy-0.1.6 termcolor-2.5.0 text-unidecode-1.3 typepy-1.3.2 wcwidth-0.2.13
py313: 4835 I exit 0 (2.42 seconds) /Users/hugo/github/norwegianblue> python -I -m pip install 'httpx>=0.19' platformdirs 'prettytable>=2.4' 'pytablewriter[html]>=0.63' python-dateutil python-slugify 'termcolor>=2.1' pid=75053 [tox/execute/api.py:286]
py313: 4836 W install_package> python -I -m pip install --force-reinstall --no-deps /Users/hugo/github/norwegianblue/.tox/.tmp/package/43/norwegianblue-0.19.1.dev5.tar.gz [tox/tox_env/api.py:427]
Processing ./.tox/.tmp/package/43/norwegianblue-0.19.1.dev5.tar.gz
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: norwegianblue
  Building wheel for norwegianblue (pyproject.toml) ... done
  Created wheel for norwegianblue: filename=norwegianblue-0.19.1.dev5-py3-none-any.whl size=12381 sha256=ed2861e292e2cb47b4473c38b5f96323d5dce68e09dad1b37c815d6baf0f232b
  Stored in directory: /Users/hugo/Library/Caches/pip/wheels/8a/04/46/aebc7c8276eebdc43a7a4865abda17dbc8400ba20c4928df72
Successfully built norwegianblue
Installing collected packages: norwegianblue
Successfully installed norwegianblue-0.19.1.dev5
py313: 6327 I exit 0 (1.49 seconds) /Users/hugo/github/norwegianblue> python -I -m pip install --force-reinstall --no-deps /Users/hugo/github/norwegianblue/.tox/.tmp/package/43/norwegianblue-0.19.1.dev5.tar.gz pid=75055 [tox/execute/api.py:286]
py313: 6328 W commands[0]> .tox/py313/bin/python -m pytest --cov norwegianblue --cov tests --cov-report html --cov-report term --cov-report xml [tox/tox_env/api.py:427]
/Users/hugo/github/norwegianblue/.tox/py313/bin/python: No module named pytest
py313: 6345 C exit 1 (0.02 seconds) /Users/hugo/github/norwegianblue> .tox/py313/bin/python -m pytest --cov norwegianblue --cov tests --cov-report html --cov-report term --cov-report xml pid=75062 [tox/execute/api.py:286]
.pkg: 6345 W _exit> python /Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/pyproject_api/_backend.py True hatchling.build [tox/tox_env/api.py:427]
Backend: run command _exit with args {}
Backend: Wrote response {'return': 0} to /var/folders/c8/hl_96fcs0hjgr29njx33x20c0000gn/T/pep517__exit-_gcsme59.json
.pkg: 6347 I exit None (0.00 seconds) /Users/hugo/github/norwegianblue> python /Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/pyproject_api/_backend.py True hatchling.build pid=75047 [tox/execute/api.py:286]
.pkg: 6359 D delete package /Users/hugo/github/norwegianblue/.tox/.tmp/package/43/norwegianblue-0.19.1.dev5.tar.gz [tox/tox_env/python/virtual_env/package/pyproject.py:224]
  py313: FAIL code 1 (6.25=setup[6.24]+cmd[0.02] seconds)
  evaluation failed :( (6.29 seconds)

@gaborbernat gaborbernat reopened this Oct 22, 2024
@gaborbernat
Copy link
Member

I will need to look into it but that seems about if it doesn't work.

@gaborbernat
Copy link
Member

You cannot mix TOML and the INI config. These are separate, and they have a well defined priority in between them https://tox.wiki/en/latest/config.html#discovery-and-file-types (hence why at the docs there is a tab to select your config format):

image

When making that change:

❯ git diff HEAD -u
diff --git a/pyproject.toml b/pyproject.toml
index 6e7db70..e691bb3 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -98,11 +98,6 @@ filterwarnings = [
 ]
 testpaths = [ "tests" ]

-[tool.tox.env_run_base]
-dependency_groups = [
-  "test",
-]
-
 [dependency-groups]
 test = [
   "freezegun",
diff --git a/tox.ini b/tox.ini
index 81ec8d8..afbf0ed 100644
--- a/tox.ini
+++ b/tox.ini
@@ -19,6 +19,7 @@ commands =
       --cov-report term \
       --cov-report xml \
       {posargs}
+dependency_groups = test

 [testenv:cog]
 skip_install = true

things work:

❯ tox c -e py313 -k dependency_groups
[testenv:py313]
dependency_groups = test

Not sure how we can document this better 🤔

@hugovk
Copy link
Contributor Author

hugovk commented Oct 23, 2024

Ah, thank you, this was my misunderstanding and that makes sense.

I think the docs are now fine. Thanks for the help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants