Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Paste
P1424
(An Untitled Masterwork)
Active
Public
Actions
Authored by
bchauvet
on Aug 17 2022, 1:00 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Subscribers
None
(swh) ben@ben-deb:~/swh-environment/swh-web(rename-denied-status *)$ pytest swh/web/tests/add_forge_now/test_models.py::test_allowed_next_statuses
Traceback (most recent call last):
File "/home/ben/.virtualenvs/swh/bin/pytest", line 8, in <module>
sys.exit(console_main())
File "/home/ben/.virtualenvs/swh/lib/python3.9/site-packages/_pytest/config/__init__.py", line 187, in console_main
code = main()
File "/home/ben/.virtualenvs/swh/lib/python3.9/site-packages/_pytest/config/__init__.py", line 145, in main
config = _prepareconfig(args, plugins)
File "/home/ben/.virtualenvs/swh/lib/python3.9/site-packages/_pytest/config/__init__.py", line 324, in _prepareconfig
config = pluginmanager.hook.pytest_cmdline_parse(
File "/home/ben/.virtualenvs/swh/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "/home/ben/.virtualenvs/swh/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/home/ben/.virtualenvs/swh/lib/python3.9/site-packages/pluggy/_callers.py", line 55, in _multicall
gen.send(outcome)
File "/home/ben/.virtualenvs/swh/lib/python3.9/site-packages/_pytest/helpconfig.py", line 102, in pytest_cmdline_parse
config: Config = outcome.get_result()
File "/home/ben/.virtualenvs/swh/lib/python3.9/site-packages/pluggy/_result.py", line 60, in get_result
raise ex[1].with_traceback(ex[2])
File "/home/ben/.virtualenvs/swh/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
res = hook_impl.function(*args)
File "/home/ben/.virtualenvs/swh/lib/python3.9/site-packages/_pytest/config/__init__.py", line 1016, in pytest_cmdline_parse
self.parse(args)
File "/home/ben/.virtualenvs/swh/lib/python3.9/site-packages/_pytest/config/__init__.py", line 1304, in parse
self._preparse(args, addopts=addopts)
File "/home/ben/.virtualenvs/swh/lib/python3.9/site-packages/_pytest/config/__init__.py", line 1187, in _preparse
self.pluginmanager.load_setuptools_entrypoints("pytest11")
File "/home/ben/.virtualenvs/swh/lib/python3.9/site-packages/pluggy/_manager.py", line 287, in load_setuptools_entrypoints
plugin = ep.load()
File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load
module = import_module(match.group('module'))
File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 790, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "/home/ben/swh-environment/swh-journal/swh/journal/pytest_plugin.py", line 16, in <module>
from swh.journal.serializers import kafka_to_key, kafka_to_value, pprint_key
File "/home/ben/swh-environment/swh-journal/swh/journal/serializers.py", line 12, in <module>
from swh.model.model import KeyType
File "/home/ben/swh-environment/swh-model/swh/model/model.py", line 34, in <module>
from .swhids import CoreSWHID
ModuleNotFoundError: No module named 'swh.model.swhids'
Event Timeline
bchauvet
created this paste.
Aug 17 2022, 1:00 PM
2022-08-17 13:00:37 (UTC+2)
Log In to Comment