2023-09-08T15:30:40,167 Created temporary directory: /tmp/pip-build-tracker-dk8i22ga 2023-09-08T15:30:40,168 Initialized build tracking at /tmp/pip-build-tracker-dk8i22ga 2023-09-08T15:30:40,168 Created build tracker: /tmp/pip-build-tracker-dk8i22ga 2023-09-08T15:30:40,169 Entered build tracker: /tmp/pip-build-tracker-dk8i22ga 2023-09-08T15:30:40,169 Created temporary directory: /tmp/pip-wheel-y3bszain 2023-09-08T15:30:40,173 Created temporary directory: /tmp/pip-ephem-wheel-cache-umnmpt2l 2023-09-08T15:30:40,194 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-09-08T15:30:40,197 2 location(s) to search for versions of micropython-shutil: 2023-09-08T15:30:40,197 * https://pypi.org/simple/micropython-shutil/ 2023-09-08T15:30:40,197 * https://www.piwheels.org/simple/micropython-shutil/ 2023-09-08T15:30:40,198 Fetching project page and analyzing links: https://pypi.org/simple/micropython-shutil/ 2023-09-08T15:30:40,199 Getting page https://pypi.org/simple/micropython-shutil/ 2023-09-08T15:30:40,200 Found index url https://pypi.org/simple/ 2023-09-08T15:30:40,342 Fetched page https://pypi.org/simple/micropython-shutil/ as application/vnd.pypi.simple.v1+json 2023-09-08T15:30:40,344 Found link https://files.pythonhosted.org/packages/69/ca/757025f437b121f941cc83a7723940657a18f9ed5c9bd4b54d4833dc7b4f/micropython-shutil-0.0.0.tar.gz (from https://pypi.org/simple/micropython-shutil/), version: 0.0.0 2023-09-08T15:30:40,345 Found link https://files.pythonhosted.org/packages/08/bf/4b1897e47bce90cf6f1866457d98ba44820a5c5e12d6d2e439e3ccb6d5e9/micropython-shutil-0.0.1.tar.gz (from https://pypi.org/simple/micropython-shutil/), version: 0.0.1 2023-09-08T15:30:40,346 Found link https://files.pythonhosted.org/packages/bf/df/f046eb42d1c42b239274cfeab792503c9a9e9f5caf86f9f226cba958ffee/micropython-shutil-0.0.2.tar.gz (from https://pypi.org/simple/micropython-shutil/), version: 0.0.2 2023-09-08T15:30:40,346 Found link https://files.pythonhosted.org/packages/41/d3/306812a32c24113f1f8ebcd519c13fe84186a71ebaf78dc5f15e9156ee96/micropython-shutil-0.0.3.tar.gz (from https://pypi.org/simple/micropython-shutil/), version: 0.0.3 2023-09-08T15:30:40,347 Found link https://files.pythonhosted.org/packages/45/77/5be3b936705edc2f52fb312ade9ecab89ad6b4df2c782d755a3fb22bbce2/micropython-shutil-0.1.tar.gz (from https://pypi.org/simple/micropython-shutil/), version: 0.1 2023-09-08T15:30:40,348 Fetching project page and analyzing links: https://www.piwheels.org/simple/micropython-shutil/ 2023-09-08T15:30:40,349 Getting page https://www.piwheels.org/simple/micropython-shutil/ 2023-09-08T15:30:40,350 Found index url https://www.piwheels.org/simple/ 2023-09-08T15:30:42,669 Fetched page https://www.piwheels.org/simple/micropython-shutil/ as text/html 2023-09-08T15:30:42,671 Skipping link: not a file: https://www.piwheels.org/simple/micropython-shutil/ 2023-09-08T15:30:42,672 Skipping link: not a file: https://pypi.org/simple/micropython-shutil/ 2023-09-08T15:30:42,706 Given no hashes to check 1 links for project 'micropython-shutil': discarding no candidates 2023-09-08T15:30:42,738 Collecting micropython-shutil==0.0.1 2023-09-08T15:30:42,742 Created temporary directory: /tmp/pip-unpack-qkvyxylh 2023-09-08T15:30:42,964 Downloading micropython-shutil-0.0.1.tar.gz (1.2 kB) 2023-09-08T15:30:42,984 Added micropython-shutil==0.0.1 from https://files.pythonhosted.org/packages/08/bf/4b1897e47bce90cf6f1866457d98ba44820a5c5e12d6d2e439e3ccb6d5e9/micropython-shutil-0.0.1.tar.gz to build tracker '/tmp/pip-build-tracker-dk8i22ga' 2023-09-08T15:30:42,985 Running setup.py (path:/tmp/pip-wheel-y3bszain/micropython-shutil_6c58043d76e84a8db10c3b0c575026a1/setup.py) egg_info for package micropython-shutil 2023-09-08T15:30:42,986 Created temporary directory: /tmp/pip-pip-egg-info-y4s_y4zj 2023-09-08T15:30:42,987 Preparing metadata (setup.py): started 2023-09-08T15:30:42,988 Running command python setup.py egg_info 2023-09-08T15:30:43,085 Traceback (most recent call last): 2023-09-08T15:30:43,086 File "", line 2, in 2023-09-08T15:30:43,086 File "", line 14, in 2023-09-08T15:30:43,087 File "/usr/local/lib/python3.11/dist-packages/setuptools/__init__.py", line 7, in 2023-09-08T15:30:43,088 import _distutils_hack.override # noqa: F401 2023-09-08T15:30:43,088 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-08T15:30:43,089 File "/usr/local/lib/python3.11/dist-packages/_distutils_hack/override.py", line 1, in 2023-09-08T15:30:43,089 __import__('_distutils_hack').do_override() 2023-09-08T15:30:43,089 File "/usr/local/lib/python3.11/dist-packages/_distutils_hack/__init__.py", line 77, in do_override 2023-09-08T15:30:43,090 ensure_local_distutils() 2023-09-08T15:30:43,090 File "/usr/local/lib/python3.11/dist-packages/_distutils_hack/__init__.py", line 60, in ensure_local_distutils 2023-09-08T15:30:43,091 importlib.import_module('distutils') 2023-09-08T15:30:43,091 File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module 2023-09-08T15:30:43,092 return _bootstrap._gcd_import(name[level:], package, level) 2023-09-08T15:30:43,092 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-08T15:30:43,093 File "", line 1206, in _gcd_import 2023-09-08T15:30:43,093 File "", line 1178, in _find_and_load 2023-09-08T15:30:43,093 File "", line 1140, in _find_and_load_unlocked 2023-09-08T15:30:43,094 File "", line 1080, in _find_spec 2023-09-08T15:30:43,094 File "/usr/local/lib/python3.11/dist-packages/_distutils_hack/__init__.py", line 97, in find_spec 2023-09-08T15:30:43,095 return method() 2023-09-08T15:30:43,096 ^^^^^^^^ 2023-09-08T15:30:43,097 File "/usr/local/lib/python3.11/dist-packages/_distutils_hack/__init__.py", line 104, in spec_for_distutils 2023-09-08T15:30:43,097 import importlib.abc 2023-09-08T15:30:43,098 File "/usr/lib/python3.11/importlib/abc.py", line 19, in 2023-09-08T15:30:43,099 from .resources.abc import ResourceReader, Traversable, TraversableResources 2023-09-08T15:30:43,100 File "/usr/lib/python3.11/importlib/resources/__init__.py", line 3, in 2023-09-08T15:30:43,101 from ._common import ( 2023-09-08T15:30:43,102 File "/usr/lib/python3.11/importlib/resources/_common.py", line 3, in 2023-09-08T15:30:43,103 import tempfile 2023-09-08T15:30:43,103 File "/usr/lib/python3.11/tempfile.py", line 45, in 2023-09-08T15:30:43,104 _rmtree = _shutil.rmtree 2023-09-08T15:30:43,105 ^^^^^^^^^^^^^^ 2023-09-08T15:30:43,106 AttributeError: module 'shutil' has no attribute 'rmtree' 2023-09-08T15:30:43,113 ERROR: [present-rich] python setup.py egg_info exited with 1 2023-09-08T15:30:43,126 [bold magenta]full command[/]: [blue]/usr/bin/python3 -c ' 2023-09-08T15:30:43,126 exec(compile('"'"''"'"''"'"' 2023-09-08T15:30:43,126 # This is -- a caller that pip uses to run setup.py 2023-09-08T15:30:43,126 # 2023-09-08T15:30:43,126 # - It imports setuptools before invoking setup.py, to enable projects that directly 2023-09-08T15:30:43,126 # import from `distutils.core` to work with newer packaging standards. 2023-09-08T15:30:43,126 # - It provides a clear error message when setuptools is not installed. 2023-09-08T15:30:43,126 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2023-09-08T15:30:43,126 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2023-09-08T15:30:43,126 # manifest_maker: standard file '"'"'-c'"'"' not found". 2023-09-08T15:30:43,126 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2023-09-08T15:30:43,126 import os, sys, tokenize 2023-09-08T15:30:43,126 2023-09-08T15:30:43,126 try: 2023-09-08T15:30:43,126 import setuptools 2023-09-08T15:30:43,126 except ImportError as error: 2023-09-08T15:30:43,126 print( 2023-09-08T15:30:43,126 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2023-09-08T15:30:43,126 "the build environment.", 2023-09-08T15:30:43,126 file=sys.stderr, 2023-09-08T15:30:43,126 ) 2023-09-08T15:30:43,126 sys.exit(1) 2023-09-08T15:30:43,126 2023-09-08T15:30:43,126 __file__ = %r 2023-09-08T15:30:43,126 sys.argv[0] = __file__ 2023-09-08T15:30:43,126 2023-09-08T15:30:43,126 if os.path.exists(__file__): 2023-09-08T15:30:43,126 filename = __file__ 2023-09-08T15:30:43,126 with tokenize.open(__file__) as f: 2023-09-08T15:30:43,126 setup_py_code = f.read() 2023-09-08T15:30:43,126 else: 2023-09-08T15:30:43,126 filename = "" 2023-09-08T15:30:43,126 setup_py_code = "from setuptools import setup; setup()" 2023-09-08T15:30:43,126 2023-09-08T15:30:43,126 exec(compile(setup_py_code, filename, "exec")) 2023-09-08T15:30:43,126 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-y3bszain/micropython-shutil_6c58043d76e84a8db10c3b0c575026a1/setup.py'"'"',), "", "exec"))' egg_info --egg-base /tmp/pip-pip-egg-info-y4s_y4zj[/] 2023-09-08T15:30:43,127 [bold magenta]cwd[/]: /tmp/pip-wheel-y3bszain/micropython-shutil_6c58043d76e84a8db10c3b0c575026a1/ 2023-09-08T15:30:43,127 Preparing metadata (setup.py): finished with status 'error' 2023-09-08T15:30:43,129 ERROR: [present-rich] metadata generation failed 2023-09-08T15:30:43,134 Exception information: 2023-09-08T15:30:43,134 Traceback (most recent call last): 2023-09-08T15:30:43,134 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/build/metadata_legacy.py", line 64, in generate_metadata 2023-09-08T15:30:43,134 call_subprocess( 2023-09-08T15:30:43,134 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/utils/subprocess.py", line 224, in call_subprocess 2023-09-08T15:30:43,134 raise error 2023-09-08T15:30:43,134 pip._internal.exceptions.InstallationSubprocessError: python setup.py egg_info exited with 1 2023-09-08T15:30:43,134 2023-09-08T15:30:43,134 The above exception was the direct cause of the following exception: 2023-09-08T15:30:43,134 2023-09-08T15:30:43,134 Traceback (most recent call last): 2023-09-08T15:30:43,134 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2023-09-08T15:30:43,134 status = run_func(*args) 2023-09-08T15:30:43,134 ^^^^^^^^^^^^^^^ 2023-09-08T15:30:43,134 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 248, in wrapper 2023-09-08T15:30:43,134 return func(self, options, args) 2023-09-08T15:30:43,134 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-08T15:30:43,134 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 147, in run 2023-09-08T15:30:43,134 requirement_set = resolver.resolve(reqs, check_supported_wheels=True) 2023-09-08T15:30:43,134 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-08T15:30:43,134 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/resolver.py", line 92, in resolve 2023-09-08T15:30:43,134 result = self._result = resolver.resolve( 2023-09-08T15:30:43,134 ^^^^^^^^^^^^^^^^^ 2023-09-08T15:30:43,134 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 546, in resolve 2023-09-08T15:30:43,134 state = resolution.resolve(requirements, max_rounds=max_rounds) 2023-09-08T15:30:43,134 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-08T15:30:43,134 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 397, in resolve 2023-09-08T15:30:43,134 self._add_to_criteria(self.state.criteria, r, parent=None) 2023-09-08T15:30:43,134 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 173, in _add_to_criteria 2023-09-08T15:30:43,134 if not criterion.candidates: 2023-09-08T15:30:43,134 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/resolvelib/structs.py", line 156, in __bool__ 2023-09-08T15:30:43,134 return bool(self._sequence) 2023-09-08T15:30:43,134 ^^^^^^^^^^^^^^^^^^^^ 2023-09-08T15:30:43,134 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 155, in __bool__ 2023-09-08T15:30:43,134 return any(self) 2023-09-08T15:30:43,134 ^^^^^^^^^ 2023-09-08T15:30:43,134 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 143, in 2023-09-08T15:30:43,134 return (c for c in iterator if id(c) not in self._incompatible_ids) 2023-09-08T15:30:43,134 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-08T15:30:43,134 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 47, in _iter_built 2023-09-08T15:30:43,134 candidate = func() 2023-09-08T15:30:43,134 ^^^^^^ 2023-09-08T15:30:43,134 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/factory.py", line 206, in _make_candidate_from_link 2023-09-08T15:30:43,134 self._link_candidate_cache[link] = LinkCandidate( 2023-09-08T15:30:43,134 ^^^^^^^^^^^^^^ 2023-09-08T15:30:43,134 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 293, in __init__ 2023-09-08T15:30:43,134 super().__init__( 2023-09-08T15:30:43,134 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 156, in __init__ 2023-09-08T15:30:43,134 self.dist = self._prepare() 2023-09-08T15:30:43,134 ^^^^^^^^^^^^^^^ 2023-09-08T15:30:43,134 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 225, in _prepare 2023-09-08T15:30:43,134 dist = self._prepare_distribution() 2023-09-08T15:30:43,134 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-08T15:30:43,134 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 304, in _prepare_distribution 2023-09-08T15:30:43,134 return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True) 2023-09-08T15:30:43,134 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-08T15:30:43,134 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/prepare.py", line 538, in prepare_linked_requirement 2023-09-08T15:30:43,134 return self._prepare_linked_requirement(req, parallel_builds) 2023-09-08T15:30:43,134 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-08T15:30:43,134 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/prepare.py", line 653, in _prepare_linked_requirement 2023-09-08T15:30:43,134 dist = _get_prepared_distribution( 2023-09-08T15:30:43,134 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-08T15:30:43,134 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/prepare.py", line 69, in _get_prepared_distribution 2023-09-08T15:30:43,134 abstract_dist.prepare_distribution_metadata( 2023-09-08T15:30:43,134 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/distributions/sdist.py", line 61, in prepare_distribution_metadata 2023-09-08T15:30:43,134 self.req.prepare_metadata() 2023-09-08T15:30:43,134 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/req/req_install.py", line 568, in prepare_metadata 2023-09-08T15:30:43,134 self.metadata_directory = generate_metadata_legacy( 2023-09-08T15:30:43,134 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-08T15:30:43,134 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/build/metadata_legacy.py", line 71, in generate_metadata 2023-09-08T15:30:43,134 raise MetadataGenerationFailed(package_details=details) from error 2023-09-08T15:30:43,134 pip._internal.exceptions.MetadataGenerationFailed: metadata generation failed 2023-09-08T15:30:43,146 Removed micropython-shutil==0.0.1 from https://files.pythonhosted.org/packages/08/bf/4b1897e47bce90cf6f1866457d98ba44820a5c5e12d6d2e439e3ccb6d5e9/micropython-shutil-0.0.1.tar.gz from build tracker '/tmp/pip-build-tracker-dk8i22ga' 2023-09-08T15:30:43,147 Removed build tracker: '/tmp/pip-build-tracker-dk8i22ga'