Skip to content
This repository was archived by the owner on Dec 10, 2025. It is now read-only.
This repository was archived by the owner on Dec 10, 2025. It is now read-only.

Undeclared dependency six #128

@parthea

Description

@parthea

six is used in the code but is not explicitly listed as a dependency resulting in runtime errors in environments where it is not already installed.

REQUIREMENTS = ["google-cloud-bigtable >= 0.31.0"]

See build log here

==================================== ERRORS ====================================
__________ ERROR collecting samples/quickstart_happybase/main_test.py __________
ImportError while importing test module '/workspace/samples/quickstart_happybase/main_test.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/local/lib/python3.7/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
main_test.py:21: in <module>
    from main import main
main.py:20: in <module>
    from google.cloud import happybase
.nox/py-3-7/lib/python3.7/site-packages/google/cloud/happybase/__init__.py:156: in <module>
    from google.cloud.happybase.batch import Batch
.nox/py-3-7/lib/python3.7/site-packages/google/cloud/happybase/batch.py:21: in <module>
    import six
E   ModuleNotFoundError: No module named 'six'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions