Skip to content

Can't find module past #423

Open
Open
@bdpedigo

Description

graspologic builds are failing with

________________ ERROR collecting tests/cluster/test_autogmm.py ________________
ImportError while importing test module '/home/runner/work/graspologic/graspologic/tests/cluster/test_autogmm.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/opt/hostedtoolcache/Python/3.9.[20](https://github.com/graspologic-org/graspologic/actions/runs/12254240467/job/34184712749?pr=1093#step:6:21)/x64/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/cluster/test_autogmm.py:11: in <module>
    from graspologic.cluster.autogmm import AutoGMMCluster
graspologic/__init__.py:8: in <module>
    import graspologic.inference
graspologic/inference/__init__.py:6: in <module>
    from .latent_distribution_test import latent_distribution_test
graspologic/inference/latent_distribution_test.py:7: in <module>
    from hyppo.ksample import KSample
../../../.cache/pypoetry/virtualenvs/graspologic-pkHfzCJ8-py3.9/lib/python3.9/site-packages/hyppo/__init__.py:5: in <module>
    import hyppo.kgof
../../../.cache/pypoetry/virtualenvs/graspologic-pkHfzCJ8-py3.9/lib/python3.9/site-packages/hyppo/kgof/__init__.py:2: in <module>
    from .fssd import FSSD, FSSDH0SimCovObs
../../../.cache/pypoetry/virtualenvs/graspologic-pkHfzCJ8-py3.9/lib/python3.9/site-packages/hyppo/kgof/fssd.py:4: in <module>
    from past.utils import old_div
E   ModuleNotFoundError: No module named 'past'

I think it is missing from the dependencies

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions