Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with latest version of dill #682

Closed
amanjn98 opened this issue Sep 29, 2024 · 1 comment
Closed

Issue with latest version of dill #682

amanjn98 opened this issue Sep 29, 2024 · 1 comment
Milestone

Comments

@amanjn98
Copy link

amanjn98 commented Sep 29, 2024

Using the latest version of dill and pytest>=8.0.0 but don't know why getting below issue

/python3.9/site-packages/dill/__diff.py:101: in <genexpr>
    seq_id = dict((id_(key),id_(value)) for key, value in s.items())
E   ValueError: too many values to unpack (expected 2)
___________________________________________________________________ ERROR collecting /tests/.tox/6.0.20/lib/python3.9/site-packages/dill/tests/test_module.py ____________________________________________________________________
ImportError while importing test module '/tests/.tox/6.0.20/lib/python3.9/site-packages/dill/tests/test_module.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
../../../../../.pyenv/versions/3.9.6/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
.tox/6.0.20/lib/python3.9/site-packages/dill/tests/test_module.py:11: in <module>
    import test_mixins as module
.tox/6.0.20/lib/python3.9/site-packages/dill/__diff.py:220: in _imp
    mod = __import__(*args, **kwds)
E   ModuleNotFoundError: No module named 'test_mixins'

@mmckerns
Copy link
Member

Duplicate of #460

@mmckerns mmckerns marked this as a duplicate of #460 Sep 30, 2024
@mmckerns mmckerns added this to the dill-0.4.0 milestone Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants