From c62c9ae27a76a7839aec8efa28868537f3ebae1c Mon Sep 17 00:00:00 2001 From: figsoda Date: Wed, 22 Mar 2023 17:19:26 -0400 Subject: [PATCH] ruff: 0.0.257 -> 0.0.258 Diff: https://github.com/charliermarsh/ruff/compare/v0.0.257...v0.0.258 Changelog: https://github.com/charliermarsh/ruff/releases/tag/v0.0.258 --- pkgs/development/tools/ruff/Cargo.lock | 11 ++++++----- pkgs/development/tools/ruff/default.nix | 8 ++------ 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/pkgs/development/tools/ruff/Cargo.lock b/pkgs/development/tools/ruff/Cargo.lock index 358421cebae7..d94322e0546d 100644 --- a/pkgs/development/tools/ruff/Cargo.lock +++ b/pkgs/development/tools/ruff/Cargo.lock @@ -780,7 +780,7 @@ checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" [[package]] name = "flake8-to-ruff" -version = "0.0.257" +version = "0.0.258" dependencies = [ "anyhow", "clap 4.1.8", @@ -1982,7 +1982,7 @@ dependencies = [ [[package]] name = "ruff" -version = "0.0.257" +version = "0.0.258" dependencies = [ "anyhow", "bisection", @@ -1990,7 +1990,6 @@ dependencies = [ "chrono", "clap 4.1.8", "colored", - "criterion", "dirs", "fern", "glob", @@ -2025,6 +2024,7 @@ dependencies = [ "schemars", "semver", "serde", + "serde_json", "shellexpand", "smallvec", "strum", @@ -2063,7 +2063,7 @@ dependencies = [ [[package]] name = "ruff_cli" -version = "0.0.257" +version = "0.0.258" dependencies = [ "annotate-snippets 0.9.1", "anyhow", @@ -2091,6 +2091,7 @@ dependencies = [ "ruff", "ruff_cache", "ruff_diagnostics", + "ruff_python_stdlib", "rustc-hash", "serde", "serde_json", @@ -2210,7 +2211,6 @@ name = "ruff_python_stdlib" version = "0.0.0" dependencies = [ "once_cell", - "regex", "rustc-hash", ] @@ -2505,6 +2505,7 @@ version = "1.0.93" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cad406b69c91885b5107daf2c29572f6c8cdb3c66826821e286c533490c0bc76" dependencies = [ + "indexmap", "itoa", "ryu", "serde", diff --git a/pkgs/development/tools/ruff/default.nix b/pkgs/development/tools/ruff/default.nix index cecbb999484b..bf008c43d980 100644 --- a/pkgs/development/tools/ruff/default.nix +++ b/pkgs/development/tools/ruff/default.nix @@ -8,13 +8,13 @@ rustPlatform.buildRustPackage rec { pname = "ruff"; - version = "0.0.257"; + version = "0.0.258"; src = fetchFromGitHub { owner = "charliermarsh"; repo = pname; rev = "v${version}"; - hash = "sha256-PkKUQPkZtwqvWhWsO4Pej/T1haJvMP7HpF6XjZSoqQg="; + hash = "sha256-rlMghh6NmyIJTdjf6xmzVuevXh/OrBqhx+CkvvQwlng="; }; # We have to use importCargoLock here because `cargo vendor` currently doesn't support workspace @@ -23,12 +23,8 @@ rustPlatform.buildRustPackage rec { lockFile = ./Cargo.lock; outputHashes = { "libcst-0.1.0" = "sha256-jG9jYJP4reACkFLrQBWOYH6nbKniNyFVItD0cTZ+nW0="; - "libcst_derive-0.1.0" = "sha256-jG9jYJP4reACkFLrQBWOYH6nbKniNyFVItD0cTZ+nW0="; "pep440_rs-0.2.0" = "sha256-wDJGz7SbHItYsg0+EgIoH48WFdV6MEg+HkeE07JE6AU="; "rustpython-ast-0.2.0" = "sha256-0SHtycgDVOtiz7JZwd1v9lv2exxemcntm9lciih+pgc="; - "rustpython-common-0.2.0" = "sha256-0SHtycgDVOtiz7JZwd1v9lv2exxemcntm9lciih+pgc="; - "rustpython-compiler-core-0.2.0" = "sha256-0SHtycgDVOtiz7JZwd1v9lv2exxemcntm9lciih+pgc="; - "rustpython-parser-0.2.0" = "sha256-0SHtycgDVOtiz7JZwd1v9lv2exxemcntm9lciih+pgc="; "unicode_names2-0.6.0" = "sha256-eWg9+ISm/vztB0KIdjhq5il2ZnwGJQCleCYfznCI3Wg="; }; };