Merge branch 'staging-next'
It's not perfect, but I think we can deal with the rest of the regressions directly on master, so that this process does not stall.
This commit is contained in:
@@ -19,6 +19,8 @@ buildPythonPackage rec {
|
||||
sha256 = "19ls7hdmcaqrrq8przqy05s8chsy8315ic2zg185k6m64pvr0qhd";
|
||||
};
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dateutil
|
||||
jmespath
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -21,7 +21,7 @@ buildPythonPackage rec {
|
||||
sha256 = "f23d5cb7d862b104401d9021fc82e5fa0e0cf57b7660a1331425aab0c691d021";
|
||||
};
|
||||
|
||||
foo = 1;
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
propagatedBuildInputs =
|
||||
[ botocore
|
||||
|
||||
@@ -11,6 +11,8 @@ buildPythonPackage rec {
|
||||
sha256 = "2393a695cd12afedd0dcb26fe5d50d0cf248e5a66f75dbd89a3d4eb333a61af4";
|
||||
};
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
NOSE_EXCLUDE = stdenv.lib.concatStringsSep "," [
|
||||
"test_headers" "test_headerdict" "test_can_validate_ip_san" "test_delayed_body_read_timeout"
|
||||
"test_timeout_errors_cause_retries" "test_select_multiple_interrupts_with_event"
|
||||
|
||||
Reference in New Issue
Block a user