Skip to content

Commit 77059ce

Browse files
committed
disable auto upgrade
1 parent e1d10ac commit 77059ce

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎docs/users-guide/modelsetup.rst‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -240,15 +240,15 @@ instructions can be found `here <https://git-scm.com/downloads>`_.)
240240
git clone https://github.com/ActivitySim/activitysim.git
241241
cd activitysim
242242

243-
Run the `uv sync` command to create a virtual environment using the lockfile. It will initialize a virtual environment within the `activitysim` directory
243+
Run the `uv sync --locked` command to create a virtual environment using the lockfile. It will initialize a virtual environment within the `activitysim` directory
244244
and install ActivitySim and all its dependencies exactly as specified in the `uv.lock` file.
245245
The virtual environment is a hidden folder within the current directory called
246246
`.venv` and operates the same way as Python's classic *venv*.
247247

248248
::
249249

250-
uv sync
251-
# or uv sync --no-editable
250+
uv sync --locked
251+
# or uv sync --locked --no-editable
252252

253253
It is worth pointing out that by default, *uv* installs projects in
254254
editable mode, such that changes to the source code are immediately reflected
@@ -344,10 +344,10 @@ How to share my working environment with others?
344344
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
345345
You can share your working environment with others by sharing the `uv.lock` file located in your project directory.
346346
This file contains the exact versions of all packages and dependencies used in your project.
347-
Others can recreate the same environment by running the `uv sync` command in a new project directory containing the shared `uv.lock` file.
347+
Others can recreate the same environment by running the `uv sync --locked` command in a new project directory containing the shared `uv.lock` file.
348348
::
349349
# Copy uv.lock file to new project directory
350-
uv sync
350+
uv sync --locked
351351

352352
If I use the From PyPI option to install ActivitySim, would I run into dependency issues?
353353
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)