mlxtend icon indicating copy to clipboard operation
mlxtend copied to clipboard

tests are not passing in the branch `main`

Open NimaSarajpoor opened this issue 2 years ago • 5 comments

It seems that the test functions for feature_selection are not passing in the branch main.

I got:

# run in bash: pytest mlxtend/feature_selection/tests/.

####

================= 24 failed, 71 passed, 15 warnings in 34.95s =================

NimaSarajpoor avatar Nov 07 '22 22:11 NimaSarajpoor

Huh that's weird. I haven't touched anything recently. It might be due to some recent package updates. Some packages don't have pinned versions and could be the culprit (https://github.com/rasbt/mlxtend/blob/master/.github/workflows/python-package-conda.yml) have to look into that.

rasbt avatar Nov 08 '22 01:11 rasbt

or just to clarify, was it the CI or local testing?

rasbt avatar Nov 08 '22 01:11 rasbt

So, if I understand correctly, by "local testing" you meant the testing on just a part of software. Right? If yes, then yeah... it was local testing on feature_selection. I did not check the others.

NimaSarajpoor avatar Nov 08 '22 04:11 NimaSarajpoor

@rasbt Quick update: I just ran it in another PC and all tests are passing!

But, isn't it weird that I faced such issue in the other PC? I mean... I should have got an error regarding the version of a dependency instead of seeing some tests getting failed. Right?

NimaSarajpoor avatar Nov 08 '22 04:11 NimaSarajpoor

@NimaSarajpoor With "local" testing I meant locally on your computer 😅. It's weird that it worked on the other machine, but I am also glad to hear that there are no issues there

rasbt avatar Nov 08 '22 21:11 rasbt