Skip to content

Commit 8d518f6

Browse files
authored
chore: use --index-url instead of --extra-index-url (#2664)
1 parent 20c0db7 commit 8d518f6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

doc/source/getting_started/contribute/developer.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,10 +254,10 @@ Testing on Linux via WSL
254254
Some system dependencies required for VTK to run properly might be missing when running tests on linux via WSL (or even linux in general).
255255
The identified workaround for this is to install the OSMesa wheel variant that leverages offscreen rendering with OSMesa.
256256
This wheel is being built for both Linux and Windows at this time and bundles all of the necessary libraries into the wheel. This is
257-
achieved by adding ``-x testenv.commands_pre="uv pip install --extra-index-url https://wheels.vtk.org vtk-osmesa==<version>"``
257+
achieved by adding ``-x testenv.commands_pre="uv pip install --index-url https://wheels.vtk.org vtk-osmesa==<version>"``
258258

259259
For example, to run all tests sequentially on linux, while using a Standalone DPF Server whose path is ``ansys_dpf_server_lin_v2025.1.pre0``, simply run:
260260

261261
.. code-block:: text
262262
263-
python -m tox --parallel -x testenv.deps+="-e ansys_dpf_server_lin_v2025.1.pre0" -x testenv.commands_pre="uv pip install --extra-index-url https://wheels.vtk.org vtk-osmesa==9.2.20230527.dev0"
263+
python -m tox --parallel -x testenv.deps+="-e ansys_dpf_server_lin_v2025.1.pre0" -x testenv.commands_pre="uv pip install --index-url https://wheels.vtk.org vtk-osmesa==9.2.20230527.dev0"

doc/source/user_guide/tutorials/custom_operators_and_plugins/update_pydpf_core.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ installer's Python interpreter.
1414

1515
- ``-awp_root``: Path to the Ansys root installation folder. For example, the 2023 R1 installation folder ends
1616
with ``Ansys Inc/v231``, and the default environment variable is ``AWP_ROOT231``.
17-
- ``-pip_args``: Optional arguments to add to the ``pip`` command. For example, ``--extra-index-url`` or
17+
- ``-pip_args``: Optional arguments to add to the ``pip`` command. For example, ``--index-url`` or
1818
``--trusted-host``.
1919

2020
If you ever want to uninstall the ``ansys-dpf-core`` module from the Ansys installation, you can do so.

0 commit comments

Comments
 (0)