deeplake: [BUG] Tests fail in Windows Enviroment specifically

πŸ›πŸ› Bug Report

In the current test sequence, 11 tests fail with the error AttributeError: module 'numcodecs' has no attribute 'MsgPack', however, this error does not exist in colab environments

βš—οΈ Current Behavior

When pytest . is run on a Windows 10 environment, 11 tests fail and 6 of them have the error message as described above.

Expected behavior/code These errors should not be thrown

βš™οΈ Environment

  • Python version(s):
    • Python 3.7.9
  • OS: Windows 10

πŸ–Ό Additional context/Screenshots (optional)

Add any other context about the problem here. If applicable, add screenshots to help explain.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 21 (21 by maintainers)

Most upvoted comments

@KrishnaChaitanya1 thanks for sharing that. Clearly @DebadityaPal’s solution helps here but let’s try to resolve this one last failing test.

@DebadityaPal I’ve just checked that msgpack gets installed by default through one of the packages in the requirements so explicitly adding it to requirements.txt might be a partial fix.