python313Packages.fs: fix pyftplib>=1.5.10 compat

This commit is contained in:
Martin Weinelt
2025-01-27 10:58:03 +01:00
parent 8107c19cdf
commit 4d7e53b8e9
@@ -8,7 +8,6 @@
psutil,
pyftpdlib,
pytestCheckHook,
pythonAtLeast,
pythonOlder,
pytz,
setuptools,
@@ -27,6 +26,12 @@ buildPythonPackage rec {
hash = "sha256-rpfH1RIT9LcLapWCklMCiQkN46fhWEHhCPvhRPBp0xM=";
};
postPatch = ''
# https://github.com/PyFilesystem/pyfilesystem2/pull/591
substituteInPlace tests/test_ftpfs.py \
--replace ThreadedTestFTPd FtpdThreadWrapper
'';
build-system = [ setuptools ];
dependencies = [