You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/home/ancieg/pyproject-parser/.venv/lib64/python3/site-packages/_pytest/config/__init__.py", line 782, in import_plugin
__import__(importspec)
ModuleNotFoundError: No module named 'consolekit'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/ancieg/pyproject-parser/.venv/bin/pytest", line 8, in <module>
sys.exit(console_main())
File "/home/ancieg/pyproject-parser/.venv/lib64/python3/site-packages/_pytest/config/__init__.py", line 189, in console_main
code = main()
File "/home/ancieg/pyproject-parser/.venv/lib64/python3/site-packages/_pytest/config/__init__.py", line 147, in main
config = _prepareconfig(args, plugins)
File "/home/ancieg/pyproject-parser/.venv/lib64/python3/site-packages/_pytest/config/__init__.py", line 328, in _prepareconfig
config = pluginmanager.hook.pytest_cmdline_parse(
File "/home/ancieg/pyproject-parser/.venv/lib64/python3/site-packages/pluggy/_hooks.py", line 433, in __call__
return self._hookexec(self.name, self._hookimpls, kwargs, firstresult)
File "/home/ancieg/pyproject-parser/.venv/lib64/python3/site-packages/pluggy/_manager.py", line 112, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/home/ancieg/pyproject-parser/.venv/lib64/python3/site-packages/pluggy/_callers.py", line 133, in _multicall
teardown[0].send(outcome)
File "/home/ancieg/pyproject-parser/.venv/lib64/python3/site-packages/_pytest/helpconfig.py", line 103, in pytest_cmdline_parse
config: Config = outcome.get_result()
File "/home/ancieg/pyproject-parser/.venv/lib64/python3/site-packages/pluggy/_result.py", line 108, in get_result
raise exc.with_traceback(exc.__traceback__)
File "/home/ancieg/pyproject-parser/.venv/lib64/python3/site-packages/pluggy/_callers.py", line 80, in _multicall
res = hook_impl.function(*args)
File "/home/ancieg/pyproject-parser/.venv/lib64/python3/site-packages/_pytest/config/__init__.py", line 1075, in pytest_cmdline_parse
self.parse(args)
File "/home/ancieg/pyproject-parser/.venv/lib64/python3/site-packages/_pytest/config/__init__.py", line 1425, in parse
self._preparse(args, addopts=addopts)
File "/home/ancieg/pyproject-parser/.venv/lib64/python3/site-packages/_pytest/config/__init__.py", line 1327, in _preparse
self.hook.pytest_load_initial_conftests(
File "/home/ancieg/pyproject-parser/.venv/lib64/python3/site-packages/pluggy/_hooks.py", line 433, in __call__
return self._hookexec(self.name, self._hookimpls, kwargs, firstresult)
File "/home/ancieg/pyproject-parser/.venv/lib64/python3/site-packages/pluggy/_manager.py", line 112, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/home/ancieg/pyproject-parser/.venv/lib64/python3/site-packages/pluggy/_callers.py", line 155, in _multicall
return outcome.get_result()
File "/home/ancieg/pyproject-parser/.venv/lib64/python3/site-packages/pluggy/_result.py", line 108, in get_result
raise exc.with_traceback(exc.__traceback__)
File "/home/ancieg/pyproject-parser/.venv/lib64/python3/site-packages/pluggy/_callers.py", line 80, in _multicall
res = hook_impl.function(*args)
File "/home/ancieg/pyproject-parser/.venv/lib64/python3/site-packages/_pytest/config/__init__.py", line 1153, in pytest_load_initial_conftests
self.pluginmanager._set_initial_conftests(
File "/home/ancieg/pyproject-parser/.venv/lib64/python3/site-packages/_pytest/config/__init__.py", line 564, in _set_initial_conftests
self._try_load_conftest(anchor, importmode, rootpath)
File "/home/ancieg/pyproject-parser/.venv/lib64/python3/site-packages/_pytest/config/__init__.py", line 586, in _try_load_conftest
self._getconftestmodules(x, importmode, rootpath)
File "/home/ancieg/pyproject-parser/.venv/lib64/python3/site-packages/_pytest/config/__init__.py", line 610, in _getconftestmodules
mod = self._importconftest(conftestpath, importmode, rootpath)
File "/home/ancieg/pyproject-parser/.venv/lib64/python3/site-packages/_pytest/config/__init__.py", line 658, in _importconftest
self.consider_conftest(mod)
File "/home/ancieg/pyproject-parser/.venv/lib64/python3/site-packages/_pytest/config/__init__.py", line 740, in consider_conftest
self.register(conftestmodule, name=conftestmodule.__file__)
File "/home/ancieg/pyproject-parser/.venv/lib64/python3/site-packages/_pytest/config/__init__.py", line 495, in register
self.consider_module(plugin)
File "/home/ancieg/pyproject-parser/.venv/lib64/python3/site-packages/_pytest/config/__init__.py", line 748, in consider_module
self._import_plugin_specs(getattr(mod, "pytest_plugins", []))
File "/home/ancieg/pyproject-parser/.venv/lib64/python3/site-packages/_pytest/config/__init__.py", line 755, in _import_plugin_specs
self.import_plugin(import_spec)
File "/home/ancieg/pyproject-parser/.venv/lib64/python3/site-packages/_pytest/config/__init__.py", line 784, in import_plugin
raise ImportError(
File "/home/ancieg/pyproject-parser/.venv/lib64/python3/site-packages/_pytest/config/__init__.py", line 782, in import_plugin
__import__(importspec)
ImportError: Error importing plugin "consolekit.testing": No module named 'consolekit'
Expected result:
The tests passed successfully.
Reproduces how often:
Always.
Version
Operating System: ALT Workstation K 10.2 (Sorbaronia Mitschurinii)
Python: 3.9.16
pyproject-parser: v0.9.1 (f24f2e8)
Installation source
$ git clone https://github.com/repo-helper/pyproject-parser && cd pyproject-parser
Other Additional Information:
When I installed consolekit and run pytest again, the error changed (summary only):
============================================================================== short test summary info ===============================================================================
SKIPPED [1] tests/test_utils.py:47: could not import 'readme_renderer': No module named 'readme_renderer'
SKIPPED [1] tests/test_utils.py:36: could not import 'readme_renderer': No module named 'readme_renderer'
SKIPPED [2] tests/test_config.py:363: Message differs on Windows.
SKIPPED [1] tests/test_config.py:465: Error differs on 3.6
SKIPPED [1] tests/test_config.py:363: Error differs on 3.6
SKIPPED [2] tests/test_pyproject_class.py:76: Error differs on 3.6
SKIPPED [2] tests/test_pyproject_class.py:76: Message differs on Windows.
FAILED tests/test_cli.py::test_info_readme_license[False-0-1-project.license.file] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info[None-first_build_requirement] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[True-0-1-project.license.text] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[False-4-1-project.readme.file] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[True-4-1-project.readme.file] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[False-0-1-project.license.text] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[False-2-0-project.license.text] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[False-0-1-project.readme] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_check_extra_deprecation_warning[duplicate_extra_3] - FileNotFoundError: [Errno 2] No such file or directory: 'pyproject-parser'
FAILED tests/test_cli.py::test_info_readme_license[False-4-1-project.readme] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[False-4-0-project.license.file] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info[0-project] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[False-4-1-project.readme.text] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info[2-build-system] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[False-None-0-project.readme.file] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info[4-build-system] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info[None-all] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[False-None-0-project.license.text] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[True-2-0-project.readme.file] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[True-4-0-project.readme] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[False-0-0-project.readme] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[True-4-0-project.readme.text] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[True-None-0-project.readme.text] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info[None-first_author] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[False-4-0-project.license.text] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[True-None-1-project.readme] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[False-4-0-project.readme.text] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[True-2-1-project.readme.text] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[False-None-0-project.license.file] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[True-None-0-project.readme] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[True-2-0-project.license] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[True-4-1-project.readme] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info[0-all] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[False-2-1-project.license.text] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[False-2-0-project.readme.file] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info[None-fourth_keyword] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[True-None-1-project.license.file] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info[4-fourth_keyword] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info[2-first_author] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[False-2-0-project.readme.text] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[False-0-0-project.readme.text] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[True-4-0-project.license.text] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info[0-tool.whey.base-classifiers] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[True-4-0-project.license.file] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[True-0-0-project.readme.text] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[True-2-1-project.license.text] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info[0-first_author] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info[2-fourth_keyword] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[True-None-1-project.readme.file] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[False-4-0-project.license] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info[4-build-system.requires] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info[0-project.authors] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[False-4-0-project.readme] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[False-0-0-project.license] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[False-0-0-project.license.text] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info[4-project] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[True-0-0-project.license.file] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[False-None-1-project.readme] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[True-None-0-project.license.file] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[False-None-0-project.readme.text] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[True-2-0-project.readme.text] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[True-0-1-project.readme] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info[0-project.urls.Source Code] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[True-4-1-project.readme.text] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info[2-project.urls.Source Code] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[False-0-1-project.license] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info[0-build-system.requires] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[True-4-0-project.readme.file] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[False-4-0-project.readme.file] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[True-None-0-project.readme.file] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[False-None-1-project.readme.text] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[True-None-1-project.readme.text] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info[2-tool.whey.base-classifiers] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info[None-project.urls.Source Code] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info[4-tool.whey.base-classifiers] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info[0-fourth_keyword] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[True-0-1-project.readme.file] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[False-2-1-project.readme.file] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[False-2-0-project.license] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[True-2-0-project.license.file] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[True-4-1-project.license] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_check_extra_deprecation_warning[duplicate_extra_2] - FileNotFoundError: [Errno 2] No such file or directory: 'pyproject-parser'
FAILED tests/test_cli.py::test_info[None-build-system] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[False-4-1-project.license.file] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info[4-project.urls.Source Code] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[True-0-1-project.readme.text] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[False-4-1-project.license.text] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[False-2-1-project.readme.text] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[False-0-0-project.readme.file] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info[0-first_build_requirement] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_check_extra_deprecation_warning[duplicate_extra_1] - FileNotFoundError: [Errno 2] No such file or directory: 'pyproject-parser'
FAILED tests/test_cli.py::test_info_readme_license[False-2-1-project.readme] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[False-None-1-project.license.file] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[True-None-0-project.license] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[False-2-1-project.license.file] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[True-4-1-project.license.file] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[False-2-1-project.license] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[True-2-1-project.license] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[True-None-0-project.license.text] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[False-0-1-project.readme.text] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info[None-project.authors] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info[2-build-system.requires] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[True-0-0-project.license] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[False-None-1-project.readme.file] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[False-0-1-project.readme.file] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info[2-project] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info[0-build-system] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[True-2-1-project.license.file] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info[4-project.authors] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[False-0-0-project.license.file] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[True-2-1-project.readme.file] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info[2-project.authors] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[False-2-0-project.license.file] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[True-4-1-project.license.text] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[True-0-1-project.license.file] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info[4-all] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info[None-project] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[False-2-0-project.readme] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info[None-tool.whey.base-classifiers] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info[None-build-system.requires] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[True-None-1-project.license.text] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[False-4-1-project.license] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[True-0-0-project.license.text] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info[4-first_author] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[True-None-1-project.license] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[True-0-1-project.license] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[True-4-0-project.license] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[True-2-1-project.readme] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info[2-all] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[False-None-0-project.license] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[True-2-0-project.readme] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[False-None-1-project.license] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[True-0-0-project.readme.file] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[False-None-0-project.readme] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[True-0-0-project.readme] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[False-None-1-project.license.text] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info[4-first_build_requirement] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info_readme_license[True-2-0-project.license.text] - ModuleNotFoundError: No module named 'sdjson'
FAILED tests/test_cli.py::test_info[2-first_build_requirement] - ModuleNotFoundError: No module named 'sdjson'
==================================================================== 139 failed, 397 passed, 10 skipped in 15.45s ====================================================================
After sdjson installation the error changed again:
============================================================================== short test summary info ===============================================================================
SKIPPED [2] tests/test_pyproject_class.py:76: Error differs on 3.6
SKIPPED [2] tests/test_pyproject_class.py:76: Message differs on Windows.
SKIPPED [2] tests/test_config.py:363: Message differs on Windows.
SKIPPED [1] tests/test_config.py:465: Error differs on 3.6
SKIPPED [1] tests/test_config.py:363: Error differs on 3.6
SKIPPED [1] tests/test_utils.py:36: could not import 'readme_renderer': No module named 'readme_renderer'
SKIPPED [1] tests/test_utils.py:47: could not import 'readme_renderer': No module named 'readme_renderer'
FAILED tests/test_cli.py::test_check_extra_deprecation_warning[duplicate_extra_3] - FileNotFoundError: [Errno 2] No such file or directory: 'pyproject-parser'
FAILED tests/test_cli.py::test_check_extra_deprecation_warning[duplicate_extra_2] - FileNotFoundError: [Errno 2] No such file or directory: 'pyproject-parser'
FAILED tests/test_cli.py::test_check_extra_deprecation_warning[duplicate_extra_1] - FileNotFoundError: [Errno 2] No such file or directory: 'pyproject-parser'
===================================================================== 3 failed, 533 passed, 10 skipped in 6.09s ======================================================================
The text was updated successfully, but these errors were encountered:
Description
cachecontrol
andsdjson
are missed in tests/requirements.txtSteps to Reproduce
$ git clone https://github.com/repo-helper/pyproject-parser && cd pyproject-parser
$ python3 -m venv .venv && source .venv/bin/activate
$ python3 -m pip -r requirements.txt -r tests/requirements.txt
$ python3 -m pytest -vra
Actual result:
Expected result:
The tests passed successfully.
Reproduces how often:
Always.
Version
ALT Workstation K 10.2 (Sorbaronia Mitschurinii)
3.9.16
v0.9.1 (f24f2e8)
Installation source
$ git clone https://github.com/repo-helper/pyproject-parser && cd pyproject-parser
Other Additional Information:
When I installed
consolekit
and runpytest
again, the error changed (summary only):After
sdjson
installation the error changed again:The text was updated successfully, but these errors were encountered: