You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug @w4nderlust I noticed that when you merged couple of my PRs, the unit tests tests/integration_tests/test_contrib_wandb.py failed with this error:
==================================== ERRORS ====================================
483________ ERROR collecting tests/integration_tests/test_contrib_wandb.py ________
484ImportError while importing test module '/home/travis/build/uber/ludwig/tests/integration_tests/test_contrib_wandb.py'.
485Hint: make sure your test modules/packages have valid Python names.
486Traceback:
487tests/integration_tests/test_contrib_wandb.py:12: in <module>
488 import wandb
489../../../virtualenv/python3.6.7/lib/python3.6/site-packages/wandb/__init__.py:45: in <module>
490 from wandb.apis import InternalApi, PublicApi, CommError
491../../../virtualenv/python3.6.7/lib/python3.6/site-packages/wandb/apis/__init__.py:97: in <module>
492 from .file_stream import FileStreamApi
493../../../virtualenv/python3.6.7/lib/python3.6/site-packages/wandb/apis/file_stream.py:11: in <module>
494 from wandb import util
495../../../virtualenv/python3.6.7/lib/python3.6/site-packages/wandb/util.py:46: in <module>
496 from wandb import wandb_config
497../../../virtualenv/python3.6.7/lib/python3.6/site-packages/wandb/wandb_config.py:2: in <module>
498 from six.moves.collections_abc import Sequence
499E ModuleNotFoundError: No module named 'six.moves.collections_abc'
500!!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!!
501=========================== 1 error in 3.80 seconds ============================
To Reproduce
Steps to reproduce the behavior:
Submit PR
Expected behavior
Unit test should not fail
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information): Travis-ci environment
and my local docker container
OS: [e.g. iOS] MacOS 10.15.3
Docker for Mac: 2.2.0.0
Python version: Py 3.6
Ludwig version 2.1
Additional context
Failure due mis-match dependency between package six 1.11.0 and wandb 0.8.26, which became available on PyPi on 10Feb. Version wandb 0.8.26 requires six 1.13.0. However, the environment build installs six 1.11.0.
One possible fix is to add six==1.13.0 to requirements_test.txt. I've tested this locally and all unit tests pass.
The text was updated successfully, but these errors were encountered:
jimthompson5802
changed the title
test_contrib_wandb.py unit test fails ModuleNotFoundError: No module named 'six.moves.collections_abc'
bug: test_contrib_wandb.py unit test fails ModuleNotFoundError: No module named 'six.moves.collections_abc'
Feb 11, 2020
Describe the bug
@w4nderlust I noticed that when you merged couple of my PRs, the unit tests
tests/integration_tests/test_contrib_wandb.py
failed with this error:To Reproduce
Steps to reproduce the behavior:
Submit PR
Expected behavior
Unit test should not fail
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Travis-ci environment
and my local docker container
Additional context
Failure due mis-match dependency between package
six 1.11.0
andwandb 0.8.26
, which became available on PyPi on 10Feb. Versionwandb 0.8.26
requiressix 1.13.0
. However, the environment build installssix 1.11.0
.One possible fix is to add
six==1.13.0
torequirements_test.txt
. I've tested this locally and all unit tests pass.If this seems reasonable, I can submit a PR
The text was updated successfully, but these errors were encountered: