3
0
Fork 0
forked from mirrors/nixpkgs

pythonPackages.pyftpdlib: skip tests

Although the tests are passing locally, it seems as the excessive
filesystem usage causes several build failures and timeouts in the Hydra
and OfBorg infrastructure:

* https://hydra.nixos.org/build/84374861 (python3 on linux.x86_64)
* https://hydra.nixos.org/build/84368459 (python2 on linux.x86_64)

Some of these tests are failing after several seconds though, but I
couldn't identify a pattern and I'm not overly surprised that a FTP
library has impure tests. However the API seems to be usable in a Python
{2,3} environment, so it should be safe to use even with disabled tests.
This commit is contained in:
Maximilian Bosch 2018-11-26 02:25:26 +01:00
parent fd08b98da9
commit 9d2160e73b
No known key found for this signature in database
GPG key ID: 091DBF4D1FC46B8E

View file

@ -20,9 +20,9 @@ buildPythonPackage rec {
checkInputs = [ mock psutil ];
propagatedBuildInputs = [ pyopenssl pysendfile ];
checkPhase = ''
${python.interpreter} pyftpdlib/test/runner.py
'';
# impure filesystem-related tests cause timeouts
# on Hydra: https://hydra.nixos.org/build/84374861
doCheck = false;
meta = with stdenv.lib; {
homepage = https://github.com/giampaolo/pyftpdlib/;