diff --git a/docs/guide/config.md b/docs/guide/config.md index d68e4a5345..8093e1d276 100644 --- a/docs/guide/config.md +++ b/docs/guide/config.md @@ -81,9 +81,10 @@ force-rye-managed = false # virtual environments. global-python = false -# When set to `true` enables experimental support of uv as a replacement -# for pip-tools. Learn more about uv here: https://github.com/astral-sh/uv -use-uv = false +# When set to `true`, Rye will use `uv` for package resolutin and installation. +# Set to `false` to fall back to the `pip-tools` resolver. +# Learn more about uv here: https://github.com/astral-sh/uv +use-uv = true # Enable or disable automatic `sync` after `add` and `remove`. This defaults # to `true` when uv is enabled and `false` otherwise. diff --git a/docs/guide/sync.md b/docs/guide/sync.md index 6d100253ce..aa2438a380 100644 --- a/docs/guide/sync.md +++ b/docs/guide/sync.md @@ -3,8 +3,8 @@ Rye supports two systems to manage dependencies: [uv](https://github.com/astral-sh/uv) and [pip-tools](https://github.com/jazzband/pip-tools). It currently defaults to -`pip-tools` but will offer you the option to use `uv` instead. `uv` will become -the default choice once it stabilzes as it offers significantly better performance. +`uv` as it offers significantly better performance, but will offer you the +option to use `pip-tools` instead. In order to download dependencies rye creates two "lockfiles" (called `requirements.lock` and `requirements-dev.lock`). These are not real lockfiles diff --git a/rye/src/config.rs b/rye/src/config.rs index 1f578fca80..2d151d9966 100644 --- a/rye/src/config.rs +++ b/rye/src/config.rs @@ -266,7 +266,7 @@ impl Config { .get("behavior") .and_then(|x| x.get("use-uv")) .and_then(|x| x.as_bool()) - .unwrap_or(false) + .unwrap_or(true) } /// Fetches python installations with build info if possible.