···41 checkPhase = ''
42 rm -r fiona # prevent importing local fiona
43 # Some tests access network, others test packaging
44- pytest -k "not test_*_http \
45- and not test_*_https \
46- and not test_*_wheel"
47 '';
4849 meta = with lib; {
···41 checkPhase = ''
42 rm -r fiona # prevent importing local fiona
43 # Some tests access network, others test packaging
44+ pytest -k "not (http or https or wheel)"
0045 '';
4647 meta = with lib; {
···22 # rely on using example programs (flowers/examples/tasks.py) which
23 # are not part of the distribution
24 rm tests/load.py
025 '';
2627 propagatedBuildInputs = [
···39 homepage = "https://github.com/mher/flower";
40 license = licenses.bsdOriginal;
41 maintainers = [ maintainers.arnoldfarkas ];
042 };
43}
···22 # rely on using example programs (flowers/examples/tasks.py) which
23 # are not part of the distribution
24 rm tests/load.py
25+ substituteInPlace requirements/default.txt --replace "prometheus_client==0.8.0" "prometheus_client>=0.8.0"
26 '';
2728 propagatedBuildInputs = [
···40 homepage = "https://github.com/mher/flower";
41 license = licenses.bsdOriginal;
42 maintainers = [ maintainers.arnoldfarkas ];
43+ broken = (celery.version == "5.0.2"); # currently broken with celery>=5.0 by https://github.com/mher/flower/pull/1021
44 };
45}
···1{ stdenv, buildPythonPackage, fetchPypi, isPy27
2-, nose
3, pandas
4-, pytest
5, scikitlearn
6, tensorflow
7}:
···17 };
1819 propagatedBuildInputs = [ scikitlearn ];
20- checkInputs = [ nose pytest pandas ];
21- checkPhase = ''
22 export HOME=$TMPDIR
23- # skip some tests that fail because of minimal rounding errors
24- # or very large dependencies (keras + tensorflow)
25- py.test imblearn -k 'not estimator \
26- and not classification \
27- and not _generator \
28- and not show_versions'
29 '';
00000003031 meta = with stdenv.lib; {
32 description = "Library offering a number of re-sampling techniques commonly used in datasets showing strong between-class imbalance";