This commit is contained in:
Charlie Marsh 2024-08-30 19:45:33 -04:00 committed by GitHub
parent b441678cf6
commit 83467f0a51
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 6 additions and 6 deletions

View file

@ -159,7 +159,7 @@ See the latest documentation on [build systems in projects](http://docs.astral.s
- Ignore `.python-version` files in `uv venv` with `--no-config` ([#6513](https://github.com/astral-sh/uv/pull/6513)) - Ignore `.python-version` files in `uv venv` with `--no-config` ([#6513](https://github.com/astral-sh/uv/pull/6513))
- Include virtual environment interpreters in `uv python find` ([#6521](https://github.com/astral-sh/uv/pull/6521)) - Include virtual environment interpreters in `uv python find` ([#6521](https://github.com/astral-sh/uv/pull/6521))
- Respect `-` as stdin channel for `uv run` ([#6481](https://github.com/astral-sh/uv/pull/6481)) - Respect `-` as stdin channel for `uv run` ([#6481](https://github.com/astral-sh/uv/pull/6481))
- Revert changes to pyproject.toml when sync fails duing `uv add` ([#6526](https://github.com/astral-sh/uv/pull/6526)) - Revert changes to pyproject.toml when sync fails during `uv add` ([#6526](https://github.com/astral-sh/uv/pull/6526))
### Configuration ### Configuration

View file

@ -18,8 +18,8 @@ assert not VersionSpecifier(">=1.1").contains(Version("1.1a1"))
assert Version("2.0") in VersionSpecifier("==2") assert Version("2.0") in VersionSpecifier("==2")
``` ```
Unlike [pypa/packaging](https://github.com/pypa/packaging), this library always matches preleases. Unlike [pypa/packaging](https://github.com/pypa/packaging), this library always matches prereleases.
To only match final releases, filter with `.any_prelease()` beforehand. To only match final releases, filter with `.any_prerelease()` beforehand.
PEP 440 has a lot of unintuitive features, including: PEP 440 has a lot of unintuitive features, including:

View file

@ -156,7 +156,7 @@ impl Credentials {
/// Parse [`Credentials`] from an authorization header, if any. /// Parse [`Credentials`] from an authorization header, if any.
/// ///
/// Only HTTP Basic Authentication is supported. /// Only HTTP Basic Authentication is supported.
/// [`None`] will be returned if another authoriziation scheme is detected. /// [`None`] will be returned if another authorization scheme is detected.
/// ///
/// Panics if the authentication is not conformant to the HTTP Basic Authentication scheme: /// Panics if the authentication is not conformant to the HTTP Basic Authentication scheme:
/// - The contents must be base64 encoded /// - The contents must be base64 encoded

View file

@ -167,8 +167,8 @@ $ uv tool install black>=24
``` ```
Similarly, tool upgrades will retain the settings provided when installing the tool. For example, Similarly, tool upgrades will retain the settings provided when installing the tool. For example,
`uv tool install black --prelease allow` followed by `uv tool upgrade black` will retain the `uv tool install black --prerelease allow` followed by `uv tool upgrade black` will retain the
`--prelease allow` setting. `--prerelease allow` setting.
Tool upgrades will reinstall the tool executables, even if they have not changed. Tool upgrades will reinstall the tool executables, even if they have not changed.