@@ -99,13 +99,13 @@ Before you can run tox, you must ensure that you have installed tox-uv:
9999
100100 .. code-block :: console
101101
102- $ uv sync --extra dev
102+ $ uv sync --group dev
103103
104104 .. tab :: Windows
105105
106106 .. code-block :: ps1con
107107
108- C:> uv sync --extra dev
108+ C:> uv sync --group dev
109109
110110 To run tox, simply start tox:
111111
@@ -348,8 +348,7 @@ We can also call individual tests with tox by making another change so that
348348 skip_missing_interpreters = True
349349
350350 [testenv]
351- extras =
352- tests: tests
351+ dependency_groups = tests
353352 deps =
354353 tests: coverage[toml]
355354 allowlist_externals = coverage
@@ -564,17 +563,16 @@ You can install ``tox`` and ``tox-uv`` with:
564563
565564If you want to use ``uv sync `` with a ``uv.lock `` file for a Tox environment,
566565you must change the runner for this Tox environment to ``uv-venv-lock-runner ``.
567- You should also use the extras configuration in such environments to instruct
568- ``uv `` to install the specified extras , for example:
566+ You should also use the dependency_groups configuration in such environments
567+ to instruct ``uv `` to install the specified dependency group , for example:
569568
570569.. code-block :: ini
571570 :caption: tox.ini
572571
573572 [testenv]
574573 runner = uv-venv-lock-runner
575- extras =
576- dev
574+ dependency_groups = dev
577575 commands = pytest
578576
579577 ``dev `` uses the ``uv-venv-lock-runner `` and uses ``uv sync `` to install
580- dependencies in the environment with the ``dev `` extras .
578+ dependencies in the environment with the ``dev `` dependency group .
0 commit comments