[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#974088: imbalanced-learn: autopkgtest regression



Source: imbalanced-learn
Version: 0.7.0-5
X-Debbugs-CC: debian-ci@lists.debian.org
Severity: serious
User: debian-ci@lists.debian.org
Usertags: regression

Dear maintainer(s),

With a recent upload of imbalanced-learn the autopkgtest of
imbalanced-learn fails in testing when that autopkgtest is run with the
binary packages of imbalanced-learn from unstable. It passes when run
with only packages from testing. In tabular form:

                       pass            fail
imbalanced-learn       from testing    0.7.0-5
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration to testing [1]. Can
you please investigate the situation and fix it?

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=imbalanced-learn

https://ci.debian.net/data/autopkgtest/testing/amd64/i/imbalanced-learn/8034677/log.gz

autopkgtest [20:09:25]: test python3: [-----------------------
+ py3versions -rv
+ pys=3.8
+ exclude_tests=not test_rusboost
+ dpkg-architecture -e armhf
dpkg-architecture: warning: cannot determine CC system type, falling
back to default (native compilation)
+ python3.8 -m pytest -m not network -s -k not test_rusboost
============================= test session starts
==============================
platform linux -- Python 3.8.6, pytest-4.6.11, py-1.9.0, pluggy-0.13.0
rootdir: /tmp/autopkgtest-lxc.40qgsakn/downtmp/build.rOo/src, inifile:
setup.cfg
plugins: doctestplus-0.7.0
collected 1536 items / 6 deselected / 4 skipped / 1526 selected

imblearn/base.py .
imblearn/pipeline.py ..
imblearn/combine/_smote_enn.py .
imblearn/combine/_smote_tomek.py .
imblearn/combine/tests/test_smote_enn.py ........
imblearn/combine/tests/test_smote_tomek.py .......
imblearn/datasets/_imbalance.py .
imblearn/datasets/tests/test_imbalance.py ......ssss
imblearn/datasets/tests/test_zenodo.py X.....
imblearn/ensemble/_bagging.py .
imblearn/ensemble/_easy_ensemble.py .
imblearn/ensemble/_forest.py .
imblearn/ensemble/_weight_boosting.py .
imblearn/ensemble/tests/test_bagging.py ...................
imblearn/ensemble/tests/test_easy_ensemble.py ..............
imblearn/ensemble/tests/test_forest.py .............
imblearn/keras/_generator.py ss
imblearn/metrics/_classification.py ......
imblearn/metrics/tests/test_classification.py
............................................
imblearn/metrics/tests/test_score_objects.py ................
imblearn/over_sampling/_adasyn.py .
imblearn/over_sampling/_random_over_sampler.py .
imblearn/over_sampling/_smote.py .....
imblearn/over_sampling/tests/test_adasyn.py .....
imblearn/over_sampling/tests/test_borderline_smote.py ...
imblearn/over_sampling/tests/test_kmeans_smote.py ..............
imblearn/over_sampling/tests/test_random_over_sampler.py .s.....
imblearn/over_sampling/tests/test_smote.py .....
imblearn/over_sampling/tests/test_smote_nc.py ...........s....
imblearn/over_sampling/tests/test_svm_smote.py .
imblearn/tests/test_base.py ...........
imblearn/tests/test_common.py
..................................................................................................x...s...........................s..............s..................................................................................................................................s................................................................................................................................................................................................................................................................................................s..............s....................................................................................................................................................................................................................................................................s...........s......s.s......s...........s...........s......s......s...........s...........s...........s........X..s........X..s........x..s...........s...........s......s......s...........s...........s...........s...........s...........s...........s...........s.....
imblearn/tests/test_exceptions.py .
imblearn/tests/test_pipeline.py
.......................________________________________________________________________________________
[Memory] Calling sklearn.pipeline._fit_transform_one...
_fit_transform_one(<imblearn.tests.test_pipeline.DummyTransf object at
0x7f38086195e0>, array([[ 5.1, ...,  0.2],
       ...,
       [ 5.9, ...,  1.8]]), array([0, ..., 2]), None,
message_clsname='Pipeline', message=None)
________________________________________________fit_transform_one -
0.0s, 0.0min
[Memory]0.0s, 0.0min    : Loading _fit_transform_one from
/tmp/tmpv29hrjxa/joblib/sklearn/pipeline/_fit_transform_one/c75d30258914a75a13b1bfaf5a80958d
___________________________________fit_transform_one cache loaded -
0.0s, 0.0min
[Memory]0.0s, 0.0min    : Loading _fit_transform_one from
/tmp/tmpv29hrjxa/joblib/sklearn/pipeline/_fit_transform_one/c75d30258914a75a13b1bfaf5a80958d
___________________________________fit_transform_one cache loaded -
0.0s, 0.0min
.________________________________________________________________________________
[Memory] Calling imblearn.pipeline._fit_resample_one...
_fit_resample_one(<imblearn.tests.test_pipeline.DummySampler object at
0x7f380999fdc0>, array([[ 1.784347, ...,  1.567897],
       ...,
       [-1.222391, ..., -0.334621]]),
array([1, ..., 1]), message_clsname='Pipeline', message=None)
_________________________________________________fit_resample_one -
0.0s, 0.0min
[Memory]0.8s, 0.0min    : Loading _fit_resample_one from
/tmp/tmpkq2qbght/joblib/imblearn/pipeline/_fit_resample_one/ddda8cdf2815fcc615517bd1e7ff0181
____________________________________fit_resample_one cache loaded -
0.0s, 0.0min
[Memory]1.3s, 0.0min    : Loading _fit_resample_one from
/tmp/tmpkq2qbght/joblib/imblearn/pipeline/_fit_resample_one/ddda8cdf2815fcc615517bd1e7ff0181
____________________________________fit_resample_one cache loaded -
0.0s, 0.0min
......................................
imblearn/under_sampling/_prototype_generation/_cluster_centroids.py .
imblearn/under_sampling/_prototype_generation/tests/test_cluster_centroids.py
..........
imblearn/under_sampling/_prototype_selection/_condensed_nearest_neighbour.py
s
imblearn/under_sampling/_prototype_selection/_edited_nearest_neighbours.py
...
imblearn/under_sampling/_prototype_selection/_instance_hardness_threshold.py
.
imblearn/under_sampling/_prototype_selection/_nearmiss.py .
imblearn/under_sampling/_prototype_selection/_neighbourhood_cleaning_rule.py
.
imblearn/under_sampling/_prototype_selection/_one_sided_selection.py .
imblearn/under_sampling/_prototype_selection/_random_under_sampler.py .
imblearn/under_sampling/_prototype_selection/_tomek_links.py .
imblearn/under_sampling/_prototype_selection/tests/test_allknn.py .....
imblearn/under_sampling/_prototype_selection/tests/test_condensed_nearest_neighbour.py
....
imblearn/under_sampling/_prototype_selection/tests/test_edited_nearest_neighbours.py
.....
imblearn/under_sampling/_prototype_selection/tests/test_instance_hardness_threshold.py
......
imblearn/under_sampling/_prototype_selection/tests/test_nearmiss.py ......
imblearn/under_sampling/_prototype_selection/tests/test_neighbourhood_cleaning_rule.py
.....
imblearn/under_sampling/_prototype_selection/tests/test_one_sided_selection.py
....
imblearn/under_sampling/_prototype_selection/tests/test_random_under_sampler.py
s.....
imblearn/under_sampling/_prototype_selection/tests/test_repeated_edited_nearest_neighbours.py
........
imblearn/under_sampling/_prototype_selection/tests/test_tomek_links.py ..
imblearn/utils/estimator_checks.py .
imblearn/utils/testing.py .
imblearn/utils/tests/test_deprecation.py .
imblearn/utils/tests/test_docstring.py ...
imblearn/utils/tests/test_estimator_checks.py .
imblearn/utils/tests/test_show_versions.py ...
imblearn/utils/tests/test_testing.py ..
imblearn/utils/tests/test_validation.py
..................................................s.

=========================== short test summary info
============================
SKIPPED [2]
/tmp/autopkgtest-lxc.40qgsakn/downtmp/build.rOo/src/imblearn/keras/tests/test_generator.py:9:
could not import 'keras': No module named 'keras'
SKIPPED [2]
/tmp/autopkgtest-lxc.40qgsakn/downtmp/build.rOo/src/imblearn/tensorflow/tests/test_generator.py:16:
could not import 'tensorflow': No module named 'tensorflow'
SKIPPED [4]
/tmp/autopkgtest-lxc.40qgsakn/downtmp/build.rOo/src/imblearn/datasets/tests/test_imbalance.py:70:
could not import 'pandas': No module named 'pandas'
SKIPPED [2]
/tmp/autopkgtest-lxc.40qgsakn/downtmp/build.rOo/src/conftest.py:28: The
keras package is not installed.
SKIPPED [1]
/tmp/autopkgtest-lxc.40qgsakn/downtmp/build.rOo/src/imblearn/over_sampling/tests/test_random_over_sampler.py:46:
could not import 'pandas': No module named 'pandas'
SKIPPED [1]
/tmp/autopkgtest-lxc.40qgsakn/downtmp/build.rOo/src/imblearn/over_sampling/tests/test_smote_nc.py:182:
could not import 'pandas': No module named 'pandas'
SKIPPED [4] /usr/lib/python3/dist-packages/_pytest/nose.py:32: pandas is
not installed: not checking estimators for pandas objects.
SKIPPED [2] /usr/lib/python3/dist-packages/_pytest/nose.py:32: pandas is
not installed: not testing for input of type pandas.Series to class weight.
SKIPPED [22]
/tmp/autopkgtest-lxc.40qgsakn/downtmp/build.rOo/src/imblearn/utils/estimator_checks.py:263:
could not import 'pandas': No module named 'pandas'
SKIPPED [4]
/tmp/autopkgtest-lxc.40qgsakn/downtmp/build.rOo/src/imblearn/utils/estimator_checks.py:388:
could not import 'pandas': No module named 'pandas'
SKIPPED [1] /usr/lib/python3/dist-packages/_pytest/doctest.py:355: all
tests skipped by +SKIP option
SKIPPED [1]
/tmp/autopkgtest-lxc.40qgsakn/downtmp/build.rOo/src/imblearn/under_sampling/_prototype_selection/tests/test_random_under_sampler.py:37:
could not import 'pandas': No module named 'pandas'
SKIPPED [1]
/tmp/autopkgtest-lxc.40qgsakn/downtmp/build.rOo/src/imblearn/utils/tests/test_validation.py:344:
could not import 'pandas': No module named 'pandas'
= 1482 passed, 47 skipped, 6 deselected, 2 xfailed, 3 xpassed in 203.24
seconds =
autopkgtest [20:12:49]: test python3: -----------------------]

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: