mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
Revert "pythonPackages.flaky: 3.5.3 -> 3.6.1 (#68411)"
This reverts commit b44fca1702
.
I'm moving this to the staging branch.
It's a huge rebuild (on the order of 20k jobs), and it seems like that
was not noticed, and I can't see sufficient motivation to skip ahead of
e.g. the CVE fixes we have in staging-next.
This commit is contained in:
parent
0a0a933dcc
commit
a95a53aadc
1 changed files with 5 additions and 12 deletions
|
@ -2,29 +2,22 @@
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, mock
|
, mock
|
||||||
, nose
|
|
||||||
, pytest
|
, pytest
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "flaky";
|
pname = "flaky";
|
||||||
version = "3.6.1";
|
version = "3.5.3";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "8cd5455bb00c677f787da424eaf8c4a58a922d0e97126d3085db5b279a98b698";
|
sha256 = "12bd5e41f372b2190e8d754b6e5829c2f11dbc764e10b30f57e59f829c9ca1da";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ mock nose pytest ];
|
buildInputs = [ mock pytest ];
|
||||||
|
|
||||||
checkPhase = ''
|
# waiting for feedback https://github.com/box/flaky/issues/97
|
||||||
# based on tox.ini
|
doCheck = false;
|
||||||
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;
|
||||||
|
|
Loading…
Reference in a new issue