11Advanced Installation
22=====================
33
4- libEnsemble can be installed from ``pip ``, ``Conda ``, or ``Spack ``.
4+ libEnsemble can be installed from ``pip ``, ``uv ``, `` Conda ``, or ``Spack ``.
55
66libEnsemble requires the following dependencies, which are typically
77automatically installed alongside libEnsemble:
88
99* Python _ ``>= 3.10 ``
1010* NumPy _ ``>= 1.21 ``
1111* psutil _ ``>= 5.9.4 ``
12- * `pydantic `_ ``>= 1.10.12 ``
12+ * `pydantic `_ ``>= 2 ``
1313* pyyaml _ ``>= v6.0 ``
1414* tomli _ ``>= 1.2.1 ``
15+ * gest-api _ ``>= 0.1,<0.2 ``
1516
16- Given libEnsemble's compiled dependencies, the following installation
17- methods each offer a trade-off between convenience and the ability
18- to customize builds, including platform-specific optimizations.
19-
20- We always recommend installing in a virtual environment from Conda or another source.
17+ We recommend installing in a virtual environment from ``uv ``, ``conda `` or another source.
2118
2219Further recommendations for selected HPC systems are given in the
2320:ref: `HPC platform guides<platform-index> `.
@@ -53,6 +50,12 @@ Further recommendations for selected HPC systems are given in the
5350
5451 CC=mpicc MPICC=mpicc pip install mpi4py --no-binary mpi4py
5552
53+ .. tab-item :: uv
54+
55+ To install the latest PyPI _ release via uv _::
56+
57+ uv pip install libensemble
58+
5659 .. tab-item :: conda
5760
5861 Install libEnsemble with Conda _ from the conda-forge channel::
@@ -178,6 +181,7 @@ The following packages may be installed separately to enable additional features
178181
179182.. _conda-forge : https://conda-forge.org/
180183.. _Conda : https://docs.conda.io/en/latest/
184+ .. _gest-api : https://github.com/campa-consortium/gest-api
181185.. _GitHub : https://github.com/Libensemble/libensemble
182186.. _Globus Compute : https://www.globus.org/compute
183187.. _MPICH : https://www.mpich.org/
@@ -192,3 +196,4 @@ The following packages may be installed separately to enable additional features
192196.. _spack_libe : https://github.com/Libensemble/spack_libe
193197.. _tomli : https://pypi.org/project/tomli/
194198.. _tqdm : https://tqdm.github.io/
199+ .. _uv : https://docs.astral.sh/uv/
0 commit comments