ruff: 0.7.4 -> 0.8.0 (#358120)
This commit is contained in:
commit
02aa685f17
@ -12,14 +12,14 @@
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "ruff-lsp";
|
||||
version = "0.0.58";
|
||||
version = "0.0.59";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "astral-sh";
|
||||
repo = "ruff-lsp";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-TB4OcKkaUGYAmiGNJRnfRmiXTyTQL4sFoBrzxT6DWec=";
|
||||
hash = "sha256-fMw93EmwO0wbIcGMr7csXkMRzgyQJNQzgLDZQqNB8Zc=";
|
||||
};
|
||||
|
||||
build-system = with python3Packages; [ hatchling ];
|
||||
|
4540
pkgs/by-name/ru/ruff/Cargo.lock
generated
4540
pkgs/by-name/ru/ruff/Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@ -15,7 +15,7 @@
|
||||
|
||||
python3Packages.buildPythonPackage rec {
|
||||
pname = "ruff";
|
||||
version = "0.7.4";
|
||||
version = "0.8.0";
|
||||
pyproject = true;
|
||||
|
||||
outputs = [
|
||||
@ -27,7 +27,7 @@ python3Packages.buildPythonPackage rec {
|
||||
owner = "astral-sh";
|
||||
repo = "ruff";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-viDjUfj/OWYU7Fa7mqD2gYoirKFSaTXPPi0iS7ibiiU=";
|
||||
hash = "sha256-yenGZ7TuiHtY/3AIjMPlHVtQPP6PHMc1wdezfZdVtK0=";
|
||||
};
|
||||
|
||||
# Do not rely on path lookup at runtime to find the ruff binary
|
||||
@ -38,12 +38,9 @@ python3Packages.buildPythonPackage rec {
|
||||
'return "${placeholder "bin"}/bin/ruff"'
|
||||
'';
|
||||
|
||||
cargoDeps = rustPlatform.importCargoLock {
|
||||
lockFile = ./Cargo.lock;
|
||||
outputHashes = {
|
||||
"lsp-types-0.95.1" = "sha256-8Oh299exWXVi6A39pALOISNfp8XBya8z+KT/Z7suRxQ=";
|
||||
"salsa-0.18.0" = "sha256-zUF2ZBorJzgo8O8ZEnFaitAvWXqNwtHSqx4JE8nByIg=";
|
||||
};
|
||||
cargoDeps = rustPlatform.fetchCargoVendor {
|
||||
inherit pname version src;
|
||||
hash = "sha256-O5+uVYWtSMEj7hBrc/FUuqRBN4hUlEbtDPF42kpL7PA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs =
|
||||
@ -93,6 +90,7 @@ python3Packages.buildPythonPackage rec {
|
||||
# According to the maintainers, those tests are from an experimental crate that isn't actually
|
||||
# used by ruff currently and can thus be safely skipped.
|
||||
checkFlags = lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
"--skip=added_package"
|
||||
"--skip=add_search_path"
|
||||
"--skip=changed_file"
|
||||
"--skip=changed_versions_file"
|
||||
@ -105,13 +103,15 @@ python3Packages.buildPythonPackage rec {
|
||||
"--skip=hard_links_to_target_outside_workspace"
|
||||
"--skip=move_file_to_trash"
|
||||
"--skip=move_file_to_workspace"
|
||||
"--skip=nested_packages_delete_root"
|
||||
"--skip=new_file"
|
||||
"--skip=new_ignored_file"
|
||||
"--skip=removed_package"
|
||||
"--skip=rename_file"
|
||||
"--skip=search_path"
|
||||
"--skip=unix::changed_metadata"
|
||||
"--skip=unix::symlink_inside_workspace"
|
||||
"--skip=unix::symlinked_module_search_path"
|
||||
"--skip=unix::symlink_inside_workspace"
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
|
Loading…
Reference in New Issue
Block a user