From 7dc161067498703dca27b6e2437548a9cc4d981b Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Sun, 4 Oct 2020 20:36:31 +0200 Subject: [PATCH] selecting least broken llfuse version 1.3.6: works on all supported OSes, but not on py39 1.3.7: does not work on FreeBSD, but with py39 --- requirements.d/fuse.txt | 4 ++-- setup.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/requirements.d/fuse.txt b/requirements.d/fuse.txt index 0df0f3381..08dee4582 100644 --- a/requirements.d/fuse.txt +++ b/requirements.d/fuse.txt @@ -1,4 +1,4 @@ # low-level FUSE support library for "borg mount" # please see the comments in setup.py about llfuse. -llfuse<2.0 - +llfuse >=1.3.4, <1.3.7; python_version <"3.9" # broken on py39 +llfuse >=1.3.7, <2.0; python_version >="3.9" # broken on freebsd diff --git a/setup.py b/setup.py index b220bc6dd..d4992067c 100644 --- a/setup.py +++ b/setup.py @@ -83,8 +83,8 @@ # if you do not have llfuse, do not require it, most of borgbackup will work. extras_require = { 'fuse': [ - 'llfuse >=1.3, <2.0', - 'llfuse >=1.3.4, <2.0; python_version >="3.7"', + 'llfuse >=1.3.4, <1.3.7; python_version <"3.9"', # broken on py39 + 'llfuse >=1.3.7, <2.0; python_version >="3.9"', # broken on freebsd ], }