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

Failure (ValueError) when running on Python 3.8 #2

Closed
jaraco opened this issue Sep 30, 2019 · 0 comments
Closed

Failure (ValueError) when running on Python 3.8 #2

jaraco opened this issue Sep 30, 2019 · 0 comments

Comments

@jaraco
Copy link
Owner

jaraco commented Sep 30, 2019

When running on Python 3.8:

.tox/python/lib/python3.8/site-packages/pluggy/hooks.py:286: in __call__
    return self._hookexec(self, self.get_hookimpls(), kwargs)
.tox/python/lib/python3.8/site-packages/pluggy/manager.py:92: in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
.tox/python/lib/python3.8/site-packages/pluggy/manager.py:83: in <lambda>
    self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
.tox/python/lib/python3.8/site-packages/_pytest/runner.py:125: in pytest_runtest_call
    item.runtest()
.tox/python/lib/python3.8/site-packages/pytest_checkdocs.py:17: in runtest
    self.rst2html(self.get_long_description())
.tox/python/lib/python3.8/site-packages/pytest_checkdocs.py:44: in get_long_description
    desc = self._find_local_distribution().metadata['Description']
.tox/python/lib/python3.8/site-packages/pytest_checkdocs.py:39: in _find_local_distribution
    dist, = importlib_metadata.distributions(path=['.', 'src'])
E   ValueError: too many values to unpack (expected 1)

The problem is that importlib_metadata and importlib.metadata are interfering and breaking assumptions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant