From 28559292109c0e162b441d1f0e420786d086ec1b Mon Sep 17 00:00:00 2001
From: Zanie Blue When disabled, uv will only use locally cached data and locally available files. May also be set with the Only include the development dependency group. Omit other dependencies. The project itself will also be omitted. When disabled, uv will only use locally cached data and locally available files. May also be set with the Set up the project to be built as a Python package. Defines a When disabled, uv will only use locally cached data and locally available files. May also be set with the Add the requirements to the package’s optional dependencies for the specified extra. The group may then be activated when installing the project with the When disabled, uv will only use locally cached data and locally available files. May also be set with the Remove the packages from the project’s optional dependencies for the specified extra Remove the dependencies from a specific package in the workspace When disabled, uv will only use locally cached data and locally available files. May also be set with the Only include the development dependency group. Omit other dependencies. The project itself will also be omitted. When disabled, uv will only use locally cached data and locally available files. May also be set with the The strategy to use when considering pre-release versions. By default, uv will accept pre-releases for packages that only publish pre-releases, along with first-party requirements that contain an explicit pre-release marker in the declared specifiers ( When disabled, uv will only use locally cached data and locally available files. May also be set with the Only include the development dependency group. Omit other dependencies. The project itself will also be omitted. When disabled, uv will only use locally cached data and locally available files. May also be set with the Only include the development dependency group. Omit other dependencies. The project itself will also be omitted. When disabled, uv will only use locally cached data and locally available files. May also be set with the The strategy to use when considering pre-release versions. By default, uv will accept pre-releases for packages that only publish pre-releases, along with first-party requirements that contain an explicit pre-release marker in the declared specifiers ( When disabled, uv will only use locally cached data and locally available files. May also be set with the Override versions using the given requirements files. Overrides files are When disabled, uv will only use locally cached data and locally available files. May also be set with the The strategy to use when considering pre-release versions. By default, uv will accept pre-releases for packages that only publish pre-releases, along with first-party requirements that contain an explicit pre-release marker in the declared specifiers ( When disabled, uv will only use locally cached data and locally available files. May also be set with the Run the command within the given project directory. All When disabled, uv will only use locally cached data and locally available files. May also be set with the Run the command within the given project directory. All When disabled, uv will only use locally cached data and locally available files. May also be set with the Run the command within the given project directory. All When disabled, uv will only use locally cached data and locally available files. May also be set with the Run the command within the given project directory. All When disabled, uv will only use locally cached data and locally available files. May also be set with the Only show Python downloads, exclude installed distributions. By default, available downloads for the current platform are shown. When disabled, uv will only use locally cached data and locally available files. May also be set with the Run the command within the given project directory. All When disabled, uv will only use locally cached data and locally available files. May also be set with the Run the command within the given project directory. All When disabled, uv will only use locally cached data and locally available files. May also be set with the Run the command within the given project directory. All When disabled, uv will only use locally cached data and locally available files. May also be set with the Run the command within the given project directory. All When disabled, uv will only use locally cached data and locally available files. May also be set with the Run the command within the given project directory. All When disabled, uv will only use locally cached data and locally available files. May also be set with the Only use pre-built wheels; don’t build source distributions. When enabled, resolving will not run code from the given packages. The cached wheels of already-built source distributions will be reused, but operations that require building distributions will exit with an error. When disabled, uv will only use locally cached data and locally available files. May also be set with the Only use pre-built wheels; don’t build source distributions. When enabled, resolving will not run code from the given packages. The cached wheels of already-built source distributions will be reused, but operations that require building distributions will exit with an error.UV_OFFLINE
environment variable.--only-dev
UV_OFFLINE
environment variable.--package
[build-system]
for the project.UV_OFFLINE
environment variable.--optional
optional--extra
flag.UV_OFFLINE
environment variable.--optional
optional--package
packageUV_OFFLINE
environment variable.--only-dev
UV_OFFLINE
environment variable.--prerelease
prereleaseif-necessary-or-explicit
).UV_OFFLINE
environment variable.--only-dev
UV_OFFLINE
environment variable.--only-dev
UV_OFFLINE
environment variable.--prerelease
prereleaseif-necessary-or-explicit
).UV_OFFLINE
environment variable.--overrides
overridesrequirements.txt
-like files that force a specific version of a requirement to be installed, regardless of the requirements declared by any constituent package, and regardless of whether this would be considered an invalid resolution.UV_OFFLINE
environment variable.--prerelease
prereleaseif-necessary-or-explicit
).UV_OFFLINE
environment variable.--project
projectpyproject.toml
, uv.toml
, and .python-version
files will be discovered by walking up the directory tree from the project root, as will the project’s virtual environment (.venv
).UV_OFFLINE
environment variable.--project
projectpyproject.toml
, uv.toml
, and .python-version
files will be discovered by walking up the directory tree from the project root, as will the project’s virtual environment (.venv
).UV_OFFLINE
environment variable.--project
projectpyproject.toml
, uv.toml
, and .python-version
files will be discovered by walking up the directory tree from the project root, as will the project’s virtual environment (.venv
).UV_OFFLINE
environment variable.--project
projectpyproject.toml
, uv.toml
, and .python-version
files will be discovered by walking up the directory tree from the project root, as will the project’s virtual environment (.venv
).UV_OFFLINE
environment variable.--only-downloads
UV_OFFLINE
environment variable.--project
projectpyproject.toml
, uv.toml
, and .python-version
files will be discovered by walking up the directory tree from the project root, as will the project’s virtual environment (.venv
).UV_OFFLINE
environment variable.--project
projectpyproject.toml
, uv.toml
, and .python-version
files will be discovered by walking up the directory tree from the project root, as will the project’s virtual environment (.venv
).UV_OFFLINE
environment variable.--project
projectpyproject.toml
, uv.toml
, and .python-version
files will be discovered by walking up the directory tree from the project root, as will the project’s virtual environment (.venv
).UV_OFFLINE
environment variable.--project
projectpyproject.toml
, uv.toml
, and .python-version
files will be discovered by walking up the directory tree from the project root, as will the project’s virtual environment (.venv
).UV_OFFLINE
environment variable.--project
projectpyproject.toml
, uv.toml
, and .python-version
files will be discovered by walking up the directory tree from the project root, as will the project’s virtual environment (.venv
).UV_OFFLINE
environment variable.--only-binary
only-binaryUV_OFFLINE
environment variable.--only-binary
only-binary
May also be set with the UV_OFFLINE
environment variable.
--only-binary
only-binaryOnly use pre-built wheels; don’t build source distributions.
When enabled, resolving will not run code from the given packages. The cached wheels of already-built source distributions will be reused, but operations that require building distributions will exit with an error.
@@ -6654,6 +6678,7 @@ uv pip uninstall [OPTIONS]When disabled, uv will only use locally cached data and locally available files.
+May also be set with the UV_OFFLINE
environment variable.
--prefix
prefixUninstall packages from the specified --prefix
directory
--project
projectRun the command within the given project directory.
@@ -6791,6 +6816,7 @@ uv pip freeze [OPTIONS]When disabled, uv will only use locally cached data and locally available files.
+May also be set with the UV_OFFLINE
environment variable.
--project
projectRun the command within the given project directory.
All pyproject.toml
, uv.toml
, and .python-version
files will be discovered by walking up the directory tree from the project root, as will the project’s virtual environment (.venv
).
When disabled, uv will only use locally cached data and locally available files.
+May also be set with the UV_OFFLINE
environment variable.
--outdated
List outdated packages.
The latest version of each package will be shown alongside the installed version. Up-to-date packages will be omitted from the output.
@@ -7153,6 +7180,7 @@ uv pip show [OPTIONS] [PACKAGE]...When disabled, uv will only use locally cached data and locally available files.
+May also be set with the UV_OFFLINE
environment variable.
--project
projectRun the command within the given project directory.
All pyproject.toml
, uv.toml
, and .python-version
files will be discovered by walking up the directory tree from the project root, as will the project’s virtual environment (.venv
).
When disabled, uv will only use locally cached data and locally available files.
+May also be set with the UV_OFFLINE
environment variable.
--outdated
Show the latest available version of each package in the tree
--package
packageDisplay only the specified packages
@@ -7430,6 +7459,7 @@ uv pip check [OPTIONS]When disabled, uv will only use locally cached data and locally available files.
+May also be set with the UV_OFFLINE
environment variable.
--project
projectRun the command within the given project directory.
All pyproject.toml
, uv.toml
, and .python-version
files will be discovered by walking up the directory tree from the project root, as will the project’s virtual environment (.venv
).
When disabled, uv will only use locally cached data and locally available files.
+May also be set with the UV_OFFLINE
environment variable.
--project
projectRun the command within the given project directory.
All pyproject.toml
, uv.toml
, and .python-version
files will be discovered by walking up the directory tree from the project root, as will the project’s virtual environment (.venv
).
When disabled, uv will only use locally cached data and locally available files.
+May also be set with the UV_OFFLINE
environment variable.
--out-dir
, -o
out-dirThe output directory to which distributions should be written.
Defaults to the dist
subdirectory within the source directory, or the directory containing the source distribution archive.
When disabled, uv will only use locally cached data and locally available files.
+May also be set with the UV_OFFLINE
environment variable.
--password
, -p
passwordThe password for the upload
May also be set with the UV_PUBLISH_PASSWORD
environment variable.
When disabled, uv will only use locally cached data and locally available files.
+May also be set with the UV_OFFLINE
environment variable.
--project
projectRun the command within the given project directory.
All pyproject.toml
, uv.toml
, and .python-version
files will be discovered by walking up the directory tree from the project root, as will the project’s virtual environment (.venv
).
When disabled, uv will only use locally cached data and locally available files.
+May also be set with the UV_OFFLINE
environment variable.
--project
projectRun the command within the given project directory.
All pyproject.toml
, uv.toml
, and .python-version
files will be discovered by walking up the directory tree from the project root, as will the project’s virtual environment (.venv
).
When disabled, uv will only use locally cached data and locally available files.
+May also be set with the UV_OFFLINE
environment variable.
--project
projectRun the command within the given project directory.
All pyproject.toml
, uv.toml
, and .python-version
files will be discovered by walking up the directory tree from the project root, as will the project’s virtual environment (.venv
).
When disabled, uv will only use locally cached data and locally available files.
+May also be set with the UV_OFFLINE
environment variable.
--project
projectRun the command within the given project directory.
All pyproject.toml
, uv.toml
, and .python-version
files will be discovered by walking up the directory tree from the project root, as will the project’s virtual environment (.venv
).
When disabled, uv will only use locally cached data and locally available files.
+May also be set with the UV_OFFLINE
environment variable.
--output-format
output-format--project
projectRun the command within the given project directory.
All pyproject.toml
, uv.toml
, and .python-version
files will be discovered by walking up the directory tree from the project root, as will the project’s virtual environment (.venv
).
When disabled, uv will only use locally cached data and locally available files.
+May also be set with the UV_OFFLINE
environment variable.
--project
projectRun the command within the given project directory.
All pyproject.toml
, uv.toml
, and .python-version
files will be discovered by walking up the directory tree from the project root, as will the project’s virtual environment (.venv
).