diff options
author | Pavol Rusnak <pavol@rusnak.io> | 2019-09-16 06:29:08 +0200 |
---|---|---|
committer | Samuel Leathers <disasm@gmail.com> | 2019-09-16 00:29:07 -0400 |
commit | b44fca170255bf51afa1e5b7200154d7524fe8fb (patch) | |
tree | 06754308ff49b58c409a9de4e9c47821bf815b6c | |
parent | 29819009ec5880f0d4dc917486a894b24a785c27 (diff) | |
download | nixlib-b44fca170255bf51afa1e5b7200154d7524fe8fb.tar nixlib-b44fca170255bf51afa1e5b7200154d7524fe8fb.tar.gz nixlib-b44fca170255bf51afa1e5b7200154d7524fe8fb.tar.bz2 nixlib-b44fca170255bf51afa1e5b7200154d7524fe8fb.tar.lz nixlib-b44fca170255bf51afa1e5b7200154d7524fe8fb.tar.xz nixlib-b44fca170255bf51afa1e5b7200154d7524fe8fb.tar.zst nixlib-b44fca170255bf51afa1e5b7200154d7524fe8fb.zip |
pythonPackages.flaky: 3.5.3 -> 3.6.1 (#68411)
-rw-r--r-- | pkgs/development/python-modules/flaky/default.nix | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/flaky/default.nix b/pkgs/development/python-modules/flaky/default.nix index 523e6ac53e6b..c4e803245d5e 100644 --- a/pkgs/development/python-modules/flaky/default.nix +++ b/pkgs/development/python-modules/flaky/default.nix @@ -2,22 +2,29 @@ , buildPythonPackage , fetchPypi , mock +, nose , pytest }: buildPythonPackage rec { pname = "flaky"; - version = "3.5.3"; + version = "3.6.1"; src = fetchPypi { inherit pname version; - sha256 = "12bd5e41f372b2190e8d754b6e5829c2f11dbc764e10b30f57e59f829c9ca1da"; + sha256 = "8cd5455bb00c677f787da424eaf8c4a58a922d0e97126d3085db5b279a98b698"; }; - buildInputs = [ mock pytest ]; + checkInputs = [ mock nose pytest ]; - # waiting for feedback https://github.com/box/flaky/issues/97 - doCheck = false; + checkPhase = '' + # based on tox.ini + pytest -k 'example and not options' --doctest-modules test/test_pytest/ + pytest -k 'example and not options' test/test_pytest/ + pytest -p no:flaky test/test_pytest/test_flaky_pytest_plugin.py + nosetests --with-flaky --force-flaky --max-runs 2 test/test_nose/test_nose_options_example.py + pytest --force-flaky --max-runs 2 test/test_pytest/test_pytest_options_example.py + ''; meta = with stdenv.lib; { homepage = https://github.com/box/flaky; |