0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

Re-revert "pythonPackages.flaky: 3.5.3 -> 3.6.1 (#68411)"

This reverts commit a95a53aadc.
i.e. the change is moved from the master branch to staging.
This commit is contained in:
Vladimír Čunát 2019-09-16 19:26:03 +02:00
parent 268872d996
commit 14f5e9293c
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -2,22 +2,29 @@
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, mock , mock
, nose
, pytest , pytest
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "flaky"; pname = "flaky";
version = "3.5.3"; version = "3.6.1";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "12bd5e41f372b2190e8d754b6e5829c2f11dbc764e10b30f57e59f829c9ca1da"; sha256 = "8cd5455bb00c677f787da424eaf8c4a58a922d0e97126d3085db5b279a98b698";
}; };
buildInputs = [ mock pytest ]; checkInputs = [ mock nose pytest ];
# waiting for feedback https://github.com/box/flaky/issues/97 checkPhase = ''
doCheck = false; # 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; { meta = with stdenv.lib; {
homepage = https://github.com/box/flaky; homepage = https://github.com/box/flaky;