diff options
author | Uli Baum <xeji@cat3.de> | 2018-09-13 16:30:35 +0200 |
---|---|---|
committer | Uli Baum <xeji@cat3.de> | 2018-09-13 16:45:27 +0200 |
commit | abe97e9446829a8c6da9033383df23befcb8c80c (patch) | |
tree | 57c48fc1fea343103676f7183aa8cf4f78fed0db /pkgs/development/python-modules/daphne | |
parent | ed7b654a21c0ffd5ddb2afc3546bbe8e0146f4ba (diff) |
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
Diffstat (limited to 'pkgs/development/python-modules/daphne')
-rw-r--r-- | pkgs/development/python-modules/daphne/default.nix | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/daphne/default.nix b/pkgs/development/python-modules/daphne/default.nix index 7ead1cacfa664..258fc746e4b50 100644 --- a/pkgs/development/python-modules/daphne/default.nix +++ b/pkgs/development/python-modules/daphne/default.nix @@ -4,7 +4,7 @@ }: buildPythonPackage rec { pname = "daphne"; - version = "2.1.0"; + version = "2.2.2"; disabled = !isPy3k; @@ -12,7 +12,7 @@ buildPythonPackage rec { owner = "django"; repo = pname; rev = version; - sha256 = "1lbpn0l796ar77amqy8dap30zxmsn6as8y2lbmp4lk8m9awscwi8"; + sha256 = "1pr3b7zxjp2jx31lpiy1hfyprpmyiv2kd18n8x6kh6gd5nr0dgp8"; }; nativeBuildInputs = [ pytestrunner ]; @@ -21,9 +21,10 @@ buildPythonPackage rec { checkInputs = [ hypothesis pytest pytest-asyncio ]; + doCheck = !stdenv.isDarwin; # most tests fail on darwin + checkPhase = '' - # Other tests fail, seems to be due to filesystem access - py.test -k "test_cli or test_utils" + py.test ''; meta = with stdenv.lib; { |