lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

python310Packages.flaky: Drop nose tests

Nose tests is not getting updated for python3 and shouldn't be used
anymore. In fact it can't be used on pypy, since it does not come with a
2to3 utility.

+6 -4
+6 -4
pkgs/development/python-modules/flaky/default.nix
··· 2 2 , buildPythonPackage 3 3 , fetchPypi 4 4 , mock 5 - , nose 6 5 , pytest 7 6 }: 8 7 9 8 buildPythonPackage rec { 10 9 pname = "flaky"; 11 10 version = "3.7.0"; 11 + format = "setuptools"; 12 12 13 13 src = fetchPypi { 14 14 inherit pname version; 15 - sha256 = "3ad100780721a1911f57a165809b7ea265a7863305acb66708220820caf8aa0d"; 15 + hash = "sha256-OtEAeAchoZEfV6FlgJt+omWnhjMFrLZnCCIIIMr4qg0="; 16 16 }; 17 17 18 - nativeCheckInputs = [ mock nose pytest ]; 18 + nativeCheckInputs = [ 19 + mock 20 + pytest 21 + ]; 19 22 20 23 checkPhase = '' 21 24 # based on tox.ini 22 25 pytest -k 'example and not options' --doctest-modules test/test_pytest/ 23 26 pytest -k 'example and not options' test/test_pytest/ 24 27 pytest -p no:flaky test/test_pytest/test_flaky_pytest_plugin.py 25 - nosetests --with-flaky --force-flaky --max-runs 2 test/test_nose/test_nose_options_example.py 26 28 pytest --force-flaky --max-runs 2 test/test_pytest/test_pytest_options_example.py 27 29 ''; 28 30