2024-01-06T14:25:51,024 Created temporary directory: /tmp/pip-build-tracker-roaklmcq 2024-01-06T14:25:51,025 Initialized build tracking at /tmp/pip-build-tracker-roaklmcq 2024-01-06T14:25:51,025 Created build tracker: /tmp/pip-build-tracker-roaklmcq 2024-01-06T14:25:51,026 Entered build tracker: /tmp/pip-build-tracker-roaklmcq 2024-01-06T14:25:51,026 Created temporary directory: /tmp/pip-wheel-r5fanosb 2024-01-06T14:25:51,030 Created temporary directory: /tmp/pip-ephem-wheel-cache-8wdvvl5c 2024-01-06T14:25:51,054 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2024-01-06T14:25:51,057 2 location(s) to search for versions of kidiff: 2024-01-06T14:25:51,057 * https://pypi.org/simple/kidiff/ 2024-01-06T14:25:51,057 * https://www.piwheels.org/simple/kidiff/ 2024-01-06T14:25:51,058 Fetching project page and analyzing links: https://pypi.org/simple/kidiff/ 2024-01-06T14:25:51,058 Getting page https://pypi.org/simple/kidiff/ 2024-01-06T14:25:51,060 Found index url https://pypi.org/simple/ 2024-01-06T14:25:51,117 Fetched page https://pypi.org/simple/kidiff/ as application/vnd.pypi.simple.v1+json 2024-01-06T14:25:51,122 Skipping link: No binaries permitted for kidiff: https://files.pythonhosted.org/packages/ad/b6/a62932d208d5c4964ac630ce214545bab5060c02532c40d189d55194c5b8/kidiff-2.2.0-py3-none-any.whl (from https://pypi.org/simple/kidiff/) (requires-python:>=3.4) 2024-01-06T14:25:51,122 Found link https://files.pythonhosted.org/packages/24/1c/8f136aad24daf791046026dced1304b8b09273346b0d60cb02ce3e5ffe8e/kidiff-2.2.0.tar.gz (from https://pypi.org/simple/kidiff/) (requires-python:>=3.4), version: 2.2.0 2024-01-06T14:25:51,123 Skipping link: No binaries permitted for kidiff: https://files.pythonhosted.org/packages/53/ae/3ade919f2ad2a00a4642b471e023f9f3398442382a03eae5307fc2114f63/kidiff-2.3.0-py3-none-any.whl (from https://pypi.org/simple/kidiff/) (requires-python:>=3.4) 2024-01-06T14:25:51,123 Found link https://files.pythonhosted.org/packages/93/3a/58f2c3ec8d4824238b2cb2d746c133ba3158759af7fe2f43229e28215476/kidiff-2.3.0.tar.gz (from https://pypi.org/simple/kidiff/) (requires-python:>=3.4), version: 2.3.0 2024-01-06T14:25:51,124 Skipping link: No binaries permitted for kidiff: https://files.pythonhosted.org/packages/72/4e/91cba504beba9e544b01fa434a73dde4b8d26bc5f3af93a9b6bbf3cedaba/kidiff-2.3.1-py3-none-any.whl (from https://pypi.org/simple/kidiff/) (requires-python:>=3.4) 2024-01-06T14:25:51,124 Found link https://files.pythonhosted.org/packages/cf/1b/359e72cd9680e51fe04f2f0048abd54844fcc0a397918e2ddebf33969176/kidiff-2.3.1.tar.gz (from https://pypi.org/simple/kidiff/) (requires-python:>=3.4), version: 2.3.1 2024-01-06T14:25:51,124 Skipping link: No binaries permitted for kidiff: https://files.pythonhosted.org/packages/50/ae/5beec06cdec6b7cd103975dabbe7f1eb46dcab963114254afcb6dc2e3273/kidiff-2.4.1-py3-none-any.whl (from https://pypi.org/simple/kidiff/) (requires-python:>=3.4) 2024-01-06T14:25:51,125 Found link https://files.pythonhosted.org/packages/f7/80/1b775d4a6446d0cdf7a848df51c773164ad4c737d9e904bc49321c1aa824/kidiff-2.4.1.tar.gz (from https://pypi.org/simple/kidiff/) (requires-python:>=3.4), version: 2.4.1 2024-01-06T14:25:51,125 Skipping link: No binaries permitted for kidiff: https://files.pythonhosted.org/packages/5b/93/2dba5fa3a304d98d21c884fe5dd2cc09c640a32953169184be533cc2df4f/kidiff-2.4.2-py3-none-any.whl (from https://pypi.org/simple/kidiff/) (requires-python:>=3.4) 2024-01-06T14:25:51,126 Found link https://files.pythonhosted.org/packages/79/96/2890751cccfe048bbdba3f30acc4f3b1acb91dbe36b9f146f130ff572988/kidiff-2.4.2.tar.gz (from https://pypi.org/simple/kidiff/) (requires-python:>=3.4), version: 2.4.2 2024-01-06T14:25:51,126 Skipping link: No binaries permitted for kidiff: https://files.pythonhosted.org/packages/c5/62/b354ccf608e6a7181fcb1d77b7c4f30fa28dc3cc1b5625f426fad596625f/kidiff-2.4.3-py3-none-any.whl (from https://pypi.org/simple/kidiff/) (requires-python:>=3.4) 2024-01-06T14:25:51,126 Found link https://files.pythonhosted.org/packages/ca/15/b0c84ce220924702770d95a73c7723fb4c251ab9fcc6c2daf4ee33683873/kidiff-2.4.3.tar.gz (from https://pypi.org/simple/kidiff/) (requires-python:>=3.4), version: 2.4.3 2024-01-06T14:25:51,127 Skipping link: No binaries permitted for kidiff: https://files.pythonhosted.org/packages/94/7c/eab7b370361bb7f267c1965aa1b4288282dd138692c169350409fec7b005/kidiff-2.4.4-py3-none-any.whl (from https://pypi.org/simple/kidiff/) (requires-python:>=3.4) 2024-01-06T14:25:51,127 Found link https://files.pythonhosted.org/packages/94/e9/19e398ab16963a8980be88f34d2e29a011c5e1f8860e12a7e551246b6501/kidiff-2.4.4.tar.gz (from https://pypi.org/simple/kidiff/) (requires-python:>=3.4), version: 2.4.4 2024-01-06T14:25:51,128 Skipping link: No binaries permitted for kidiff: https://files.pythonhosted.org/packages/7b/fe/792b5042e7f4361a7d79b07319e38d8ff5680db49ed52cf0df7a0ef618d3/kidiff-2.4.5-py3-none-any.whl (from https://pypi.org/simple/kidiff/) (requires-python:>=3.4) 2024-01-06T14:25:51,128 Found link https://files.pythonhosted.org/packages/e7/22/0665bbc8d222eaaa6ca2c596dc729e0f69b215782664adcfd0ec10f2a440/kidiff-2.4.5.tar.gz (from https://pypi.org/simple/kidiff/) (requires-python:>=3.4), version: 2.4.5 2024-01-06T14:25:51,128 Skipping link: No binaries permitted for kidiff: https://files.pythonhosted.org/packages/e0/0f/aa5563bfe120088d2986c6d0f390397a939c1173b59e77c795d26e21682a/kidiff-2.4.6-py3-none-any.whl (from https://pypi.org/simple/kidiff/) (requires-python:>=3.4) 2024-01-06T14:25:51,129 Found link https://files.pythonhosted.org/packages/3a/39/cc913ada08b6a08478253fdbea29a173787b45eeb99bbf0ce8f5d436d956/kidiff-2.4.6.tar.gz (from https://pypi.org/simple/kidiff/) (requires-python:>=3.4), version: 2.4.6 2024-01-06T14:25:51,129 Skipping link: No binaries permitted for kidiff: https://files.pythonhosted.org/packages/c1/04/b7afdcb22a0c4982a18bc228cb19f82750a27d5422d72edec1fee1fecf7b/kidiff-2.4.7-py3-none-any.whl (from https://pypi.org/simple/kidiff/) (requires-python:>=3.4) 2024-01-06T14:25:51,130 Found link https://files.pythonhosted.org/packages/2f/64/83e887779ac7b80ce7e27e24a99bf1aa2671306438490745f79964ff9314/kidiff-2.4.7.tar.gz (from https://pypi.org/simple/kidiff/) (requires-python:>=3.4), version: 2.4.7 2024-01-06T14:25:51,130 Skipping link: No binaries permitted for kidiff: https://files.pythonhosted.org/packages/f6/b1/59b0295c0695febdf5aa2a8b007c3d946287d92e158969bb20a16a95e9f8/kidiff-2.5.0-py3-none-any.whl (from https://pypi.org/simple/kidiff/) (requires-python:>=3.4) 2024-01-06T14:25:51,130 Found link https://files.pythonhosted.org/packages/36/d8/6bbe122b39b68361392fcf4fc88f757be94c95357f0afcc541798bbd49d3/kidiff-2.5.0.tar.gz (from https://pypi.org/simple/kidiff/) (requires-python:>=3.4), version: 2.5.0 2024-01-06T14:25:51,131 Skipping link: No binaries permitted for kidiff: https://files.pythonhosted.org/packages/84/16/c774f9e1f82b891345387fe6cb66b4fedd245f39e5bd6441ac416c5506b4/kidiff-2.5.1-py3-none-any.whl (from https://pypi.org/simple/kidiff/) (requires-python:>=3.4) 2024-01-06T14:25:51,131 Found link https://files.pythonhosted.org/packages/55/f0/347a6fe18ea217a6c80ddc5edce521283844ac8c780a9ef8e9a3642a3f60/kidiff-2.5.1.tar.gz (from https://pypi.org/simple/kidiff/) (requires-python:>=3.4), version: 2.5.1 2024-01-06T14:25:51,132 Fetching project page and analyzing links: https://www.piwheels.org/simple/kidiff/ 2024-01-06T14:25:51,132 Getting page https://www.piwheels.org/simple/kidiff/ 2024-01-06T14:25:51,133 Found index url https://www.piwheels.org/simple/ 2024-01-06T14:25:51,232 Fetched page https://www.piwheels.org/simple/kidiff/ as text/html 2024-01-06T14:25:51,233 Skipping link: not a file: https://www.piwheels.org/simple/kidiff/ 2024-01-06T14:25:51,233 Skipping link: not a file: https://pypi.org/simple/kidiff/ 2024-01-06T14:25:51,251 Given no hashes to check 1 links for project 'kidiff': discarding no candidates 2024-01-06T14:25:51,268 Collecting kidiff==2.5.1 2024-01-06T14:25:51,270 Created temporary directory: /tmp/pip-unpack-h5o9516z 2024-01-06T14:25:51,317 Downloading kidiff-2.5.1.tar.gz (23 kB) 2024-01-06T14:25:51,355 Added kidiff==2.5.1 from https://files.pythonhosted.org/packages/55/f0/347a6fe18ea217a6c80ddc5edce521283844ac8c780a9ef8e9a3642a3f60/kidiff-2.5.1.tar.gz to build tracker '/tmp/pip-build-tracker-roaklmcq' 2024-01-06T14:25:51,357 Running setup.py (path:/tmp/pip-wheel-r5fanosb/kidiff_f06f472ebc2844d38f75580e368924c9/setup.py) egg_info for package kidiff 2024-01-06T14:25:51,358 Created temporary directory: /tmp/pip-pip-egg-info-nwf6u9_d 2024-01-06T14:25:51,358 Preparing metadata (setup.py): started 2024-01-06T14:25:51,359 Running command python setup.py egg_info 2024-01-06T14:25:52,061 Traceback (most recent call last): 2024-01-06T14:25:52,061 File "", line 2, in 2024-01-06T14:25:52,062 File "", line 34, in 2024-01-06T14:25:52,062 File "/tmp/pip-wheel-r5fanosb/kidiff_f06f472ebc2844d38f75580e368924c9/setup.py", line 4, in 2024-01-06T14:25:52,062 kidiff = importlib.import_module("kicad-diff") 2024-01-06T14:25:52,062 File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module 2024-01-06T14:25:52,063 return _bootstrap._gcd_import(name[level:], package, level) 2024-01-06T14:25:52,063 File "", line 1030, in _gcd_import 2024-01-06T14:25:52,064 File "", line 1007, in _find_and_load 2024-01-06T14:25:52,064 File "", line 986, in _find_and_load_unlocked 2024-01-06T14:25:52,064 File "", line 680, in _load_unlocked 2024-01-06T14:25:52,065 File "", line 790, in exec_module 2024-01-06T14:25:52,066 File "", line 228, in _call_with_frames_removed 2024-01-06T14:25:52,066 File "/tmp/pip-wheel-r5fanosb/kidiff_f06f472ebc2844d38f75580e368924c9/kicad-diff.py", line 45, in 2024-01-06T14:25:52,067 from pcbnew import (LoadBoard, PLOT_CONTROLLER, FromMM, PLOT_FORMAT_PDF, PLOT_FORMAT_SVG, Edge_Cuts, GetBuildVersion, ToMM, 2024-01-06T14:25:52,067 ModuleNotFoundError: No module named 'pcbnew' 2024-01-06T14:25:52,114 ERROR: python setup.py egg_info exited with 1 2024-01-06T14:25:52,131 [bold magenta]full command[/]: [blue]/usr/bin/python3 -c ' 2024-01-06T14:25:52,131 exec(compile('"'"''"'"''"'"' 2024-01-06T14:25:52,131 # This is -- a caller that pip uses to run setup.py 2024-01-06T14:25:52,131 # 2024-01-06T14:25:52,131 # - It imports setuptools before invoking setup.py, to enable projects that directly 2024-01-06T14:25:52,131 # import from `distutils.core` to work with newer packaging standards. 2024-01-06T14:25:52,131 # - It provides a clear error message when setuptools is not installed. 2024-01-06T14:25:52,131 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2024-01-06T14:25:52,131 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2024-01-06T14:25:52,131 # manifest_maker: standard file '"'"'-c'"'"' not found". 2024-01-06T14:25:52,131 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2024-01-06T14:25:52,131 import os, sys, tokenize 2024-01-06T14:25:52,131 2024-01-06T14:25:52,131 try: 2024-01-06T14:25:52,131 import setuptools 2024-01-06T14:25:52,131 except ImportError as error: 2024-01-06T14:25:52,131 print( 2024-01-06T14:25:52,131 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2024-01-06T14:25:52,131 "the build environment.", 2024-01-06T14:25:52,131 file=sys.stderr, 2024-01-06T14:25:52,131 ) 2024-01-06T14:25:52,131 sys.exit(1) 2024-01-06T14:25:52,131 2024-01-06T14:25:52,131 __file__ = %r 2024-01-06T14:25:52,131 sys.argv[0] = __file__ 2024-01-06T14:25:52,131 2024-01-06T14:25:52,131 if os.path.exists(__file__): 2024-01-06T14:25:52,131 filename = __file__ 2024-01-06T14:25:52,131 with tokenize.open(__file__) as f: 2024-01-06T14:25:52,131 setup_py_code = f.read() 2024-01-06T14:25:52,131 else: 2024-01-06T14:25:52,131 filename = "" 2024-01-06T14:25:52,131 setup_py_code = "from setuptools import setup; setup()" 2024-01-06T14:25:52,131 2024-01-06T14:25:52,131 exec(compile(setup_py_code, filename, "exec")) 2024-01-06T14:25:52,131 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-r5fanosb/kidiff_f06f472ebc2844d38f75580e368924c9/setup.py'"'"',), "", "exec"))' egg_info --egg-base /tmp/pip-pip-egg-info-nwf6u9_d[/] 2024-01-06T14:25:52,131 [bold magenta]cwd[/]: /tmp/pip-wheel-r5fanosb/kidiff_f06f472ebc2844d38f75580e368924c9/ 2024-01-06T14:25:52,131 Preparing metadata (setup.py): finished with status 'error' 2024-01-06T14:25:52,132 ERROR: metadata generation failed 2024-01-06T14:25:52,138 Exception information: 2024-01-06T14:25:52,138 Traceback (most recent call last): 2024-01-06T14:25:52,138 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/operations/build/metadata_legacy.py", line 64, in generate_metadata 2024-01-06T14:25:52,138 call_subprocess( 2024-01-06T14:25:52,138 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/utils/subprocess.py", line 224, in call_subprocess 2024-01-06T14:25:52,138 raise error 2024-01-06T14:25:52,138 pip._internal.exceptions.InstallationSubprocessError: python setup.py egg_info exited with 1 2024-01-06T14:25:52,138 2024-01-06T14:25:52,138 The above exception was the direct cause of the following exception: 2024-01-06T14:25:52,138 2024-01-06T14:25:52,138 Traceback (most recent call last): 2024-01-06T14:25:52,138 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2024-01-06T14:25:52,138 status = run_func(*args) 2024-01-06T14:25:52,138 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 245, in wrapper 2024-01-06T14:25:52,138 return func(self, options, args) 2024-01-06T14:25:52,138 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/commands/wheel.py", line 147, in run 2024-01-06T14:25:52,138 requirement_set = resolver.resolve(reqs, check_supported_wheels=True) 2024-01-06T14:25:52,138 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 95, in resolve 2024-01-06T14:25:52,138 result = self._result = resolver.resolve( 2024-01-06T14:25:52,138 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers.py", line 546, in resolve 2024-01-06T14:25:52,138 state = resolution.resolve(requirements, max_rounds=max_rounds) 2024-01-06T14:25:52,138 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers.py", line 397, in resolve 2024-01-06T14:25:52,138 self._add_to_criteria(self.state.criteria, r, parent=None) 2024-01-06T14:25:52,138 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers.py", line 173, in _add_to_criteria 2024-01-06T14:25:52,138 if not criterion.candidates: 2024-01-06T14:25:52,138 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_vendor/resolvelib/structs.py", line 156, in __bool__ 2024-01-06T14:25:52,138 return bool(self._sequence) 2024-01-06T14:25:52,138 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 155, in __bool__ 2024-01-06T14:25:52,138 return any(self) 2024-01-06T14:25:52,138 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 143, in 2024-01-06T14:25:52,138 return (c for c in iterator if id(c) not in self._incompatible_ids) 2024-01-06T14:25:52,138 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 47, in _iter_built 2024-01-06T14:25:52,138 candidate = func() 2024-01-06T14:25:52,138 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 211, in _make_candidate_from_link 2024-01-06T14:25:52,138 self._link_candidate_cache[link] = LinkCandidate( 2024-01-06T14:25:52,138 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 293, in __init__ 2024-01-06T14:25:52,138 super().__init__( 2024-01-06T14:25:52,138 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 156, in __init__ 2024-01-06T14:25:52,138 self.dist = self._prepare() 2024-01-06T14:25:52,138 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 225, in _prepare 2024-01-06T14:25:52,138 dist = self._prepare_distribution() 2024-01-06T14:25:52,138 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 304, in _prepare_distribution 2024-01-06T14:25:52,138 return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True) 2024-01-06T14:25:52,138 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/operations/prepare.py", line 525, in prepare_linked_requirement 2024-01-06T14:25:52,138 return self._prepare_linked_requirement(req, parallel_builds) 2024-01-06T14:25:52,138 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/operations/prepare.py", line 640, in _prepare_linked_requirement 2024-01-06T14:25:52,138 dist = _get_prepared_distribution( 2024-01-06T14:25:52,138 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/operations/prepare.py", line 71, in _get_prepared_distribution 2024-01-06T14:25:52,138 abstract_dist.prepare_distribution_metadata( 2024-01-06T14:25:52,138 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/distributions/sdist.py", line 67, in prepare_distribution_metadata 2024-01-06T14:25:52,138 self.req.prepare_metadata() 2024-01-06T14:25:52,138 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/req/req_install.py", line 583, in prepare_metadata 2024-01-06T14:25:52,138 self.metadata_directory = generate_metadata_legacy( 2024-01-06T14:25:52,138 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/operations/build/metadata_legacy.py", line 71, in generate_metadata 2024-01-06T14:25:52,138 raise MetadataGenerationFailed(package_details=details) from error 2024-01-06T14:25:52,138 pip._internal.exceptions.MetadataGenerationFailed: metadata generation failed 2024-01-06T14:25:52,148 Removed kidiff==2.5.1 from https://files.pythonhosted.org/packages/55/f0/347a6fe18ea217a6c80ddc5edce521283844ac8c780a9ef8e9a3642a3f60/kidiff-2.5.1.tar.gz from build tracker '/tmp/pip-build-tracker-roaklmcq' 2024-01-06T14:25:52,148 Removed build tracker: '/tmp/pip-build-tracker-roaklmcq'