borgbackup: remove llfuse dependency; python313Packages.llfuse: drop (#522185)

This commit is contained in:
Bjørn Forsman
2026-05-23 16:50:24 +00:00
committed by GitHub
4 changed files with 10 additions and 74 deletions
+9 -5
View File
@@ -70,11 +70,15 @@ python.pkgs.buildPythonApplication (finalAttrs: {
acl
];
dependencies = with python.pkgs; [
msgpack
packaging
(if stdenv.hostPlatform.isLinux then pyfuse3 else llfuse)
];
dependencies =
with python.pkgs;
[
msgpack
packaging
]
++ lib.optionals stdenv.hostPlatform.isLinux [
pyfuse3
];
makeWrapperArgs = [
''--prefix PATH ':' "${openssh}/bin"''
@@ -1,67 +0,0 @@
{
lib,
stdenv,
buildPythonPackage,
fetchFromGitHub,
cython,
fuse,
pkg-config,
pytestCheckHook,
python,
setuptools,
which,
}:
buildPythonPackage rec {
pname = "llfuse";
version = "1.5.2";
pyproject = true;
src = fetchFromGitHub {
owner = "python-llfuse";
repo = "python-llfuse";
tag = "release-${version}";
hash = "sha256-PFnY+gmm1tjZhptc27XTE9yxF0IaJ+U4Ng/OGhNDDPI=";
};
nativeBuildInputs = [
cython
pkg-config
setuptools
];
buildInputs = [ fuse ];
preConfigure = ''
substituteInPlace setup.py \
--replace "'pkg-config'" "'${stdenv.cc.targetPrefix}pkg-config'"
'';
preBuild = ''
${python.pythonOnBuildForHost.interpreter} setup.py build_cython
'';
# On Darwin, the test requires macFUSE to be installed outside of Nix.
doCheck = !stdenv.hostPlatform.isDarwin;
nativeCheckInputs = [
pytestCheckHook
which
];
disabledTests = [
"test_listdir" # accesses /usr/bin
];
meta = {
description = "Python bindings for the low-level FUSE API";
homepage = "https://github.com/python-llfuse/python-llfuse";
changelog = "https://github.com/python-llfuse/python-llfuse/raw/release-${src.tag}/Changes.rst";
license = lib.licenses.lgpl2Plus;
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [
bjornfor
dotlambda
];
};
}
+1
View File
@@ -316,6 +316,7 @@ mapAliases {
llama-index-readers-llama-parse = throw "'llama-index-readers-llama-parse' has been removed as it was deprecated upstream in favor of 'llama-cloud'"; # added 2026-03-25
llama-parse = throw "'llama-parse' has been removed as it was deprecated upstream in favor of 'llama-cloud'"; # added 2026-03-25
llamaindex-py-client = throw "'llamaindex-pyclient' has been removed as it was removed from upstream"; # Added 2026-04-03
llfuse = throw "'llfuse' hase been removed, as it depends on fuse2, and is no longer developed. Please use 'mfusepy' instead"; # Added 2026-05-20
lmcloud = throw "'lmcloud' has been renamed to/replaced by 'pylamarzocco'"; # Converted to throw 2025-10-29
logilab_common = throw "'logilab_common' has been renamed to/replaced by 'logilab-common'"; # Converted to throw 2025-10-29
loo-py = throw "'loo-py' has been renamed to/replaced by 'loopy'"; # Converted to throw 2025-10-29
-2
View File
@@ -9268,8 +9268,6 @@ self: super: with self; {
llama-stack-client = callPackage ../development/python-modules/llama-stack-client { };
llfuse = callPackage ../development/python-modules/llfuse { inherit (pkgs) fuse; };
llguidance = callPackage ../development/python-modules/llguidance { };
llm = callPackage ../development/python-modules/llm { };