Bugzilla – Bug 1158578
python-swifter build fails on 1-core VM
Last modified: 2020-03-29 01:53:02 UTC
Steps To Reproduce: osc build --noservice -j1 --vm-type=kvm actual results: [snip] [ 1265s] ====================================================================== [ 1265s] FAIL: test_nonvectorized_text_apply_on_large_dataframe (swifter.swifter_tests.TestSwifter) [ 1265s] ---------------------------------------------------------------------- [ 1265s] Traceback (most recent call last): [ 1265s] File "/home/abuild/rpmbuild/BUILD/swifter-0.296/swifter/swifter_tests.py", line 219, in test_nonvectorized_text_apply_on_large_dataframe [ 1265s] self.assertLess(swifter_time, pd_time) [ 1265s] AssertionError: 90.86491084098816 not less than 80.60593891143799 [ 1265s] [ 1265s] ====================================================================== [ 1265s] FAIL: test_vectorized_math_apply_on_large_rolling_dataframe (swifter.swifter_tests.TestSwifter) [ 1265s] ---------------------------------------------------------------------- [ 1265s] Traceback (most recent call last): [ 1265s] File "/home/abuild/rpmbuild/BUILD/swifter-0.296/swifter/swifter_tests.py", line 237, in test_vectorized_math_apply_on_large_rolling_dataframe [ 1265s] self.assertLess(swifter_time, pd_time) [ 1265s] AssertionError: 8.690391063690186 not less than 8.230899572372437 [ 1265s] [ 1265s] ---------------------------------------------------------------------- [ 1265s] Ran 13 tests in 1189.797s [ 1265s] [ 1265s] FAILED (failures=5)
filed upstream https://github.com/jmcarpenter2/swifter/issues/102
upstream made a patch to skip performance tests on 1-core systems