Your message dated Tue, 7 Sep 2021 22:18:19 -0400
with message-id 
<CAB4XWXy78JcYc+rZkm4vr=j7drmyz0nguocrqsv7+w-1pru...@mail.gmail.com>
and subject line Re: Error importing plugin "pytest_tornasync": No module named 
'pytest_tornasync'
has caused the Debian Bug report #976995,
regarding Error importing plugin "pytest_tornasync": No module named 
'pytest_tornasync'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
976995: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=976995
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python3-pytest
Version: 4.6.11-1
Severity: grave

I was trying to update another package in the Debian Python Team, and
couldn't understand why its testsuite failed with the above error.

After some failed poking around, I put the following in a file named
test_foo.py:

def test_foo():
    pass

and ran 'pytest-3 test_foo.py' : same error. So I think the problem is
with python3-pytest and not with the original package.

I'm setting the severity to grave since it makes the package unusable.

Cheers,

JP

PS: the full trace is:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py",
line 572, in import_plugin
    __import__(importspec)
ModuleNotFoundError: No module named 'pytest_tornasync'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/pytest-3", line 11, in <module>
    load_entry_point('pytest==4.6.11', 'console_scripts', 'pytest')()
  File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py",
line 65, in main
    config = _prepareconfig(args, plugins)
  File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py",
line 213, in _prepareconfig
    return pluginmanager.hook.pytest_cmdline_parse(
  File "/usr/lib/python3/dist-packages/pluggy/hooks.py", line 286, in
__call__
    return self._hookexec(self, self.get_hookimpls(), kwargs)
  File "/usr/lib/python3/dist-packages/pluggy/manager.py", line 92, in
_hookexec
    return self._inner_hookexec(hook, methods, kwargs)
  File "/usr/lib/python3/dist-packages/pluggy/manager.py", line 83, in
<lambda>
    self._inner_hookexec = lambda hook, methods, kwargs:
hook.multicall(
  File "/usr/lib/python3/dist-packages/pluggy/callers.py", line 203, in
_multicall
    gen.send(outcome)
  File "/usr/lib/python3/dist-packages/_pytest/helpconfig.py", line 94,
in pytest_cmdline_parse
    config = outcome.get_result()
  File "/usr/lib/python3/dist-packages/pluggy/callers.py", line 80, in
get_result
    raise ex[1].with_traceback(ex[2])
  File "/usr/lib/python3/dist-packages/pluggy/callers.py", line 187, in
_multicall
    res = hook_impl.function(*args)
  File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py",
line 789, in pytest_cmdline_parse
    self.parse(args)
  File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py",
line 997, in parse
    self._preparse(args, addopts=addopts)
  File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py",
line 943, in _preparse
    self.pluginmanager.load_setuptools_entrypoints("pytest11")
  File "/usr/lib/python3/dist-packages/pluggy/manager.py", line 298, in
load_setuptools_entrypoints
    self.register(plugin, name=ep.name)
  File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py",
line 335, in register
    self.consider_module(plugin)
  File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py",
line 540, in consider_module
    self._import_plugin_specs(getattr(mod, "pytest_plugins", []))
  File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py",
line 545, in _import_plugin_specs
    self.import_plugin(import_spec)
  File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py",
line 581, in import_plugin
    six.reraise(ImportError, new_exc, tb)
  File "/usr/lib/python3/dist-packages/six.py", line 702, in reraise
    raise value.with_traceback(tb)
  File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py",
line 572, in import_plugin
    __import__(importspec)
ImportError: Error importing plugin "pytest_tornasync": No module named
'pytest_tornasync'

--- End Message ---
--- Begin Message ---
On Thu, 10 Dec 2020 18:21:22 +0100 Christian Kastner <[email protected]> wrote:
> Control: severity -1 important
> Tags: -1 unreproducible
>
> Hi Julien,
>
> I'm downgrading because the pytest currently does work with hundreds of
> packages, implying that it cannot be (generally) unusable.

I agree, no other reports of a similar issue have been reported, so
i'm going to close this report

--- End Message ---

Reply via email to