pythonPackages.daphne: 2.1.0 -> 2.2.2

Update, re-enable all tests on linux, disable tests on darwin.
This fixes the build of pythonPackages.channels
This commit is contained in:
Uli Baum 2018-09-13 16:30:35 +02:00
parent ed7b654a21
commit abe97e9446

View File

@ -4,7 +4,7 @@
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "daphne"; pname = "daphne";
version = "2.1.0"; version = "2.2.2";
disabled = !isPy3k; disabled = !isPy3k;
@ -12,7 +12,7 @@ buildPythonPackage rec {
owner = "django"; owner = "django";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "1lbpn0l796ar77amqy8dap30zxmsn6as8y2lbmp4lk8m9awscwi8"; sha256 = "1pr3b7zxjp2jx31lpiy1hfyprpmyiv2kd18n8x6kh6gd5nr0dgp8";
}; };
nativeBuildInputs = [ pytestrunner ]; nativeBuildInputs = [ pytestrunner ];
@ -21,9 +21,10 @@ buildPythonPackage rec {
checkInputs = [ hypothesis pytest pytest-asyncio ]; checkInputs = [ hypothesis pytest pytest-asyncio ];
doCheck = !stdenv.isDarwin; # most tests fail on darwin
checkPhase = '' checkPhase = ''
# Other tests fail, seems to be due to filesystem access py.test
py.test -k "test_cli or test_utils"
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {