mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 21:35:00 +00:00
Bump Rust toolchain to 1.81 (#7187)
This commit is contained in:
parent
aca01f80ef
commit
f11eebd735
5 changed files with 9 additions and 7 deletions
|
@ -192,8 +192,9 @@ missing_panics_doc = "allow"
|
|||
module_name_repetitions = "allow"
|
||||
must_use_candidate = "allow"
|
||||
similar_names = "allow"
|
||||
too_many_lines = "allow"
|
||||
too_many_arguments = "allow"
|
||||
too_many_lines = "allow"
|
||||
used_underscore_binding = "allow"
|
||||
# Disallowed restriction lints
|
||||
print_stdout = "warn"
|
||||
print_stderr = "warn"
|
||||
|
|
|
@ -1491,6 +1491,7 @@ struct Parser<'a> {
|
|||
impl<'a> Parser<'a> {
|
||||
/// The "separators" that are allowed in several different parts of a
|
||||
/// version.
|
||||
#[allow(clippy::byte_char_slices)]
|
||||
const SEPARATOR: ByteSet = ByteSet::new(&[b'.', b'_', b'-']);
|
||||
|
||||
/// Create a new `Parser` for parsing the version in the given byte string.
|
||||
|
|
|
@ -438,7 +438,7 @@ fn add_git_private_raw() -> Result<()> {
|
|||
build-backend = "setuptools.build_meta"
|
||||
"#})?;
|
||||
|
||||
uv_snapshot!(context.filters(), context.add().arg(&format!("uv-private-pypackage @ git+https://{token}@github.com/astral-test/uv-private-pypackage")).arg("--raw-sources"), @r###"
|
||||
uv_snapshot!(context.filters(), context.add().arg(format!("uv-private-pypackage @ git+https://{token}@github.com/astral-test/uv-private-pypackage")).arg("--raw-sources"), @r###"
|
||||
success: true
|
||||
exit_code: 0
|
||||
----- stdout -----
|
||||
|
|
|
@ -4222,10 +4222,10 @@ fn fork_requires_python_full() -> Result<()> {
|
|||
/// with a `python_version == '3.10'` marker.
|
||||
///
|
||||
/// This is a regression test for the universal resolver where it would
|
||||
/// convert a `Requires-Python: >=3.10.1` specifier into a `python_version
|
||||
/// >= '3.10.1'` marker expression, which would be considered disjoint
|
||||
/// with `python_version == '3.10'`. Thus, the dependency `a` below was
|
||||
/// erroneously excluded. It should be included.
|
||||
/// convert a `Requires-Python: >=3.10.1` specifier into a
|
||||
/// `python_version >= '3.10.1'` marker expression, which would be
|
||||
/// considered disjoint with `python_version == '3.10'`. Thus, the
|
||||
/// dependency `a` below was erroneously excluded. It should be included.
|
||||
///
|
||||
/// ```text
|
||||
/// fork-requires-python-patch-overlap
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
[toolchain]
|
||||
channel = "1.80"
|
||||
channel = "1.81"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue