❯ tox -e py38
py38 develop-inst-nodeps: /home/jugmac00/All/output_plone/plone/diazo
ERROR: invocation failed (exit code 2), logfile: /home/jugmac00/All/output_plone/plone/diazo/.tox/py38/log/py38-5.log
============================================================================ log start ============================================================================
Obtaining file:///home/jugmac00/All/output_plone/plone/diazo
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
ERROR: Exception:
Traceback (most recent call last):
File "/home/jugmac00/All/output_plone/plone/diazo/.tox/py38/lib/python3.8/site-packages/pip/_internal/cli/base_command.py", line 189, in _main
status = self.run(options, args)
File "/home/jugmac00/All/output_plone/plone/diazo/.tox/py38/lib/python3.8/site-packages/pip/_internal/cli/req_command.py", line 178, in wrapper
return func(self, options, args)
File "/home/jugmac00/All/output_plone/plone/diazo/.tox/py38/lib/python3.8/site-packages/pip/_internal/commands/install.py", line 316, in run
requirement_set = resolver.resolve(
File "/home/jugmac00/All/output_plone/plone/diazo/.tox/py38/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 100, in resolve
r = self.factory.make_requirement_from_install_req(
File "/home/jugmac00/All/output_plone/plone/diazo/.tox/py38/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 301, in make_requirement_from_install_req
cand = self._make_candidate_from_link(
File "/home/jugmac00/All/output_plone/plone/diazo/.tox/py38/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 155, in _make_candidate_from_link
self._editable_candidate_cache[link] = EditableCandidate(
File "/home/jugmac00/All/output_plone/plone/diazo/.tox/py38/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 328, in __init__
super().__init__(
File "/home/jugmac00/All/output_plone/plone/diazo/.tox/py38/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 144, in __init__
self.dist = self._prepare()
File "/home/jugmac00/All/output_plone/plone/diazo/.tox/py38/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 226, in _prepare
dist = self._prepare_distribution()
File "/home/jugmac00/All/output_plone/plone/diazo/.tox/py38/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 339, in _prepare_distribution
return self._factory.preparer.prepare_editable_requirement(self._ireq)
File "/home/jugmac00/All/output_plone/plone/diazo/.tox/py38/lib/python3.8/site-packages/pip/_internal/operations/prepare.py", line 552, in prepare_editable_requirement
dist = _get_prepared_distribution(
File "/home/jugmac00/All/output_plone/plone/diazo/.tox/py38/lib/python3.8/site-packages/pip/_internal/operations/prepare.py", line 66, in _get_prepared_distribution
abstract_dist.prepare_distribution_metadata(finder, build_isolation)
File "/home/jugmac00/All/output_plone/plone/diazo/.tox/py38/lib/python3.8/site-packages/pip/_internal/distributions/sdist.py", line 39, in prepare_distribution_metadata
self._setup_isolation(finder)
File "/home/jugmac00/All/output_plone/plone/diazo/.tox/py38/lib/python3.8/site-packages/pip/_internal/distributions/sdist.py", line 97, in _setup_isolation
reqs = backend.get_requires_for_build_wheel()
File "/home/jugmac00/All/output_plone/plone/diazo/.tox/py38/lib/python3.8/site-packages/pip/_vendor/pep517/wrappers.py", line 177, in get_requires_for_build_wheel
return self._call_hook('get_requires_for_build_wheel', {
File "/home/jugmac00/All/output_plone/plone/diazo/.tox/py38/lib/python3.8/site-packages/pip/_vendor/pep517/wrappers.py", line 284, in _call_hook
raise BackendUnavailable(data.get('traceback', ''))
pip._vendor.pep517.wrappers.BackendUnavailable: Traceback (most recent call last):
File "/home/jugmac00/All/output_plone/plone/diazo/.tox/py38/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py", line 86, in _build_backend
obj = import_module(mod_path)
File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 961, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 783, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/tmp/pip-build-env-xwuw10ir/overlay/lib/python3.8/site-packages/setuptools/__init__.py", line 18, in <module>
from setuptools.dist import Distribution
File "/home/jugmac00/All/output_plone/plone/diazo/.tox/py38/lib/python3.8/site-packages/_virtualenv.py", line 74, in exec_module
old(module)
File "/tmp/pip-build-env-xwuw10ir/overlay/lib/python3.8/site-packages/setuptools/dist.py", line 32, in <module>
from setuptools import windows_support
File "/tmp/pip-build-env-xwuw10ir/overlay/lib/python3.8/site-packages/setuptools/windows_support.py", line 2, in <module>
import ctypes
File "/usr/lib/python3.8/ctypes/__init__.py", line 7, in <module>
from _ctypes import Union, Structure, Array
ModuleNotFoundError: No module named '_ctypes'
============================================================================= log end =============================================================================
_____________________________________________________________________________ summary _____________________________________________________________________________
ERROR: py38: InvocationError for command /home/jugmac00/All/output_plone/plone/diazo/.tox/py38/bin/python -m pip install --no-deps -e '/home/jugmac00/All/output_plone/plone/diazo[test]' (exited with code 2)
I had a look at the documentation about what I need to install additionally, but docs were written for Python 2.6 and I am not sure what I need to install.
I had a look at the documentation about what I need to install additionally, but docs were written for Python 2.6 and I am not sure what I need to install.
I run Ubuntu 18.04.
I noticed the broken tox when tried to run tox for all Zope and Plone repos this weekend, see here https://jugmac00.github.io/blog/testing-the-tox-4-pre-release-at-scale/