2025-09-08T14:04:00,180 Created temporary directory: /tmp/pip-build-tracker-e5qqvuq7 2025-09-08T14:04:00,181 Initialized build tracking at /tmp/pip-build-tracker-e5qqvuq7 2025-09-08T14:04:00,181 Created build tracker: /tmp/pip-build-tracker-e5qqvuq7 2025-09-08T14:04:00,181 Entered build tracker: /tmp/pip-build-tracker-e5qqvuq7 2025-09-08T14:04:00,181 Created temporary directory: /tmp/pip-wheel-3dtccvi8 2025-09-08T14:04:00,185 Created temporary directory: /tmp/pip-ephem-wheel-cache-o4hczm3t 2025-09-08T14:04:00,239 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2025-09-08T14:04:00,241 2 location(s) to search for versions of precommit-hook: 2025-09-08T14:04:00,241 * https://pypi.org/simple/precommit-hook/ 2025-09-08T14:04:00,241 * https://www.piwheels.org/simple/precommit-hook/ 2025-09-08T14:04:00,242 Fetching project page and analyzing links: https://pypi.org/simple/precommit-hook/ 2025-09-08T14:04:00,242 Getting page https://pypi.org/simple/precommit-hook/ 2025-09-08T14:04:00,243 Found index url https://pypi.org/simple/ 2025-09-08T14:04:00,391 Fetched page https://pypi.org/simple/precommit-hook/ as application/vnd.pypi.simple.v1+json 2025-09-08T14:04:00,393 Found link https://files.pythonhosted.org/packages/37/ea/0b21e7d16b124369ff5a314b0623d1d2ee92b4947d73e0b9a613f6eddae2/precommit-hook-0.1.7.tar.gz (from https://pypi.org/simple/precommit-hook/), version: 0.1.7 2025-09-08T14:04:00,394 Skipping link: No binaries permitted for precommit-hook: https://files.pythonhosted.org/packages/bc/94/3491430a53bebdce6040b05b6e9e1078f423ac71a4f36adc8107fcf2a633/precommit_hook-0.1.7-py2.py3-none-any.whl (from https://pypi.org/simple/precommit-hook/) 2025-09-08T14:04:00,394 Skipping link: No binaries permitted for precommit-hook: https://files.pythonhosted.org/packages/60/25/bda5449839ecaaf4cbe6c7a376c594159c6730674394e93e743702ce5922/precommit_hook-0.1.8-py2.py3-none-any.whl (from https://pypi.org/simple/precommit-hook/) 2025-09-08T14:04:00,394 Found link https://files.pythonhosted.org/packages/d6/18/d5dea282df1005dfb95a0d9ddfb1f056ea025e4ae7e65875b4a9c5114894/precommit-hook-0.2.1.tar.gz (from https://pypi.org/simple/precommit-hook/), version: 0.2.1 2025-09-08T14:04:00,395 Fetching project page and analyzing links: https://www.piwheels.org/simple/precommit-hook/ 2025-09-08T14:04:00,396 Getting page https://www.piwheels.org/simple/precommit-hook/ 2025-09-08T14:04:00,397 Found index url https://www.piwheels.org/simple/ 2025-09-08T14:04:00,506 Fetched page https://www.piwheels.org/simple/precommit-hook/ as text/html 2025-09-08T14:04:00,507 Skipping link: No binaries permitted for precommit-hook: https://archive1.piwheels.org/simple/precommit-hook/precommit_hook-0.1.7-py3-none-any.whl#sha256=fd15b6379d4aa37958f57c69d67ebee4c712477b4b7baf65cb9de2dfbac1d1f6 (from https://www.piwheels.org/simple/precommit-hook/) 2025-09-08T14:04:00,508 Skipping link: not a file: https://www.piwheels.org/simple/precommit-hook/ 2025-09-08T14:04:00,508 Skipping link: not a file: https://pypi.org/simple/precommit-hook/ 2025-09-08T14:04:00,531 Given no hashes to check 1 links for project 'precommit-hook': discarding no candidates 2025-09-08T14:04:00,532 Collecting precommit-hook==0.2.1 2025-09-08T14:04:00,534 Created temporary directory: /tmp/pip-unpack-h6j9omem 2025-09-08T14:04:00,674 Downloading precommit-hook-0.2.1.tar.gz (4.9 kB) 2025-09-08T14:04:00,704 Added precommit-hook==0.2.1 from https://files.pythonhosted.org/packages/d6/18/d5dea282df1005dfb95a0d9ddfb1f056ea025e4ae7e65875b4a9c5114894/precommit-hook-0.2.1.tar.gz to build tracker '/tmp/pip-build-tracker-e5qqvuq7' 2025-09-08T14:04:00,705 Running setup.py (path:/tmp/pip-wheel-3dtccvi8/precommit-hook_97eb547fbf7f40b48003b2eb6b27f8ce/setup.py) egg_info for package precommit-hook 2025-09-08T14:04:00,705 Created temporary directory: /tmp/pip-pip-egg-info-8sbc2l05 2025-09-08T14:04:00,705 Preparing metadata (setup.py): started 2025-09-08T14:04:00,706 Running command python setup.py egg_info 2025-09-08T14:04:01,234 Traceback (most recent call last): 2025-09-08T14:04:01,237 File "", line 2, in 2025-09-08T14:04:01,237 exec(compile(''' 2025-09-08T14:04:01,237 ~~~~^^^^^^^^^^^^ 2025-09-08T14:04:01,238 # This is -- a caller that pip uses to run setup.py 2025-09-08T14:04:01,238 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-08T14:04:01,238 ...<32 lines>... 2025-09-08T14:04:01,238 exec(compile(setup_py_code, filename, "exec")) 2025-09-08T14:04:01,238 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-08T14:04:01,238 ''' % ('/tmp/pip-wheel-3dtccvi8/precommit-hook_97eb547fbf7f40b48003b2eb6b27f8ce/setup.py',), "", "exec")) 2025-09-08T14:04:01,238 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-08T14:04:01,238 File "", line 35, in 2025-09-08T14:04:01,239 File "/tmp/pip-wheel-3dtccvi8/precommit-hook_97eb547fbf7f40b48003b2eb6b27f8ce/setup.py", line 4, in 2025-09-08T14:04:01,239 from app.scripts import Post_install 2025-09-08T14:04:01,239 File "/tmp/pip-wheel-3dtccvi8/precommit-hook_97eb547fbf7f40b48003b2eb6b27f8ce/app/scripts.py", line 11, in 2025-09-08T14:04:01,239 class Exec: 2025-09-08T14:04:01,239 ...<17 lines>... 2025-09-08T14:04:01,239 return True 2025-09-08T14:04:01,239 File "/tmp/pip-wheel-3dtccvi8/precommit-hook_97eb547fbf7f40b48003b2eb6b27f8ce/app/scripts.py", line 13, in Exec 2025-09-08T14:04:01,240 def add_pre_commit(path=os.environ["PWD"]): 2025-09-08T14:04:01,240 ~~~~~~~~~~^^^^^^^ 2025-09-08T14:04:01,240 File "", line 717, in __getitem__ 2025-09-08T14:04:01,240 KeyError: 'PWD' 2025-09-08T14:04:01,322 ERROR: python setup.py egg_info exited with 1 2025-09-08T14:04:01,334 [bold magenta]full command[/]: [blue]/usr/bin/python3 -c ' 2025-09-08T14:04:01,334 exec(compile('"'"''"'"''"'"' 2025-09-08T14:04:01,334 # This is -- a caller that pip uses to run setup.py 2025-09-08T14:04:01,334 # 2025-09-08T14:04:01,334 # - It imports setuptools before invoking setup.py, to enable projects that directly 2025-09-08T14:04:01,334 # import from `distutils.core` to work with newer packaging standards. 2025-09-08T14:04:01,334 # - It provides a clear error message when setuptools is not installed. 2025-09-08T14:04:01,334 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2025-09-08T14:04:01,334 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2025-09-08T14:04:01,334 # manifest_maker: standard file '"'"'-c'"'"' not found". 2025-09-08T14:04:01,334 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2025-09-08T14:04:01,334 import os, sys, tokenize, traceback 2025-09-08T14:04:01,334 2025-09-08T14:04:01,334 try: 2025-09-08T14:04:01,334 import setuptools 2025-09-08T14:04:01,334 except ImportError: 2025-09-08T14:04:01,334 print( 2025-09-08T14:04:01,334 "ERROR: Can not execute `setup.py` since setuptools failed to import in " 2025-09-08T14:04:01,334 "the build environment with exception:", 2025-09-08T14:04:01,334 file=sys.stderr, 2025-09-08T14:04:01,334 ) 2025-09-08T14:04:01,334 traceback.print_exc() 2025-09-08T14:04:01,334 sys.exit(1) 2025-09-08T14:04:01,334 2025-09-08T14:04:01,334 __file__ = %r 2025-09-08T14:04:01,334 sys.argv[0] = __file__ 2025-09-08T14:04:01,334 2025-09-08T14:04:01,334 if os.path.exists(__file__): 2025-09-08T14:04:01,334 filename = __file__ 2025-09-08T14:04:01,334 with tokenize.open(__file__) as f: 2025-09-08T14:04:01,334 setup_py_code = f.read() 2025-09-08T14:04:01,334 else: 2025-09-08T14:04:01,334 filename = "" 2025-09-08T14:04:01,334 setup_py_code = "from setuptools import setup; setup()" 2025-09-08T14:04:01,334 2025-09-08T14:04:01,334 exec(compile(setup_py_code, filename, "exec")) 2025-09-08T14:04:01,334 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-3dtccvi8/precommit-hook_97eb547fbf7f40b48003b2eb6b27f8ce/setup.py'"'"',), "", "exec"))' egg_info --egg-base /tmp/pip-pip-egg-info-8sbc2l05[/] 2025-09-08T14:04:01,334 [bold magenta]cwd[/]: /tmp/pip-wheel-3dtccvi8/precommit-hook_97eb547fbf7f40b48003b2eb6b27f8ce/ 2025-09-08T14:04:01,334 Preparing metadata (setup.py): finished with status 'error' 2025-09-08T14:04:01,335 ERROR: metadata generation failed 2025-09-08T14:04:01,340 Exception information: 2025-09-08T14:04:01,340 Traceback (most recent call last): 2025-09-08T14:04:01,340 File "/usr/lib/python3/dist-packages/pip/_internal/operations/build/metadata_legacy.py", line 63, in generate_metadata 2025-09-08T14:04:01,340 call_subprocess( 2025-09-08T14:04:01,340 ~~~~~~~~~~~~~~~^ 2025-09-08T14:04:01,340 args, 2025-09-08T14:04:01,340 ^^^^^ 2025-09-08T14:04:01,340 ...<2 lines>... 2025-09-08T14:04:01,340 spinner=spinner, 2025-09-08T14:04:01,340 ^^^^^^^^^^^^^^^^ 2025-09-08T14:04:01,340 ) 2025-09-08T14:04:01,340 ^ 2025-09-08T14:04:01,340 File "/usr/lib/python3/dist-packages/pip/_internal/utils/subprocess.py", line 209, in call_subprocess 2025-09-08T14:04:01,340 raise error 2025-09-08T14:04:01,340 pip._internal.exceptions.InstallationSubprocessError: python setup.py egg_info exited with 1 2025-09-08T14:04:01,340 2025-09-08T14:04:01,340 The above exception was the direct cause of the following exception: 2025-09-08T14:04:01,340 2025-09-08T14:04:01,340 Traceback (most recent call last): 2025-09-08T14:04:01,340 File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 105, in _run_wrapper 2025-09-08T14:04:01,340 status = _inner_run() 2025-09-08T14:04:01,340 File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 96, in _inner_run 2025-09-08T14:04:01,340 return self.run(options, args) 2025-09-08T14:04:01,340 ~~~~~~~~^^^^^^^^^^^^^^^ 2025-09-08T14:04:01,340 File "/usr/lib/python3/dist-packages/pip/_internal/cli/req_command.py", line 68, in wrapper 2025-09-08T14:04:01,340 return func(self, options, args) 2025-09-08T14:04:01,340 File "/usr/lib/python3/dist-packages/pip/_internal/commands/wheel.py", line 147, in run 2025-09-08T14:04:01,340 requirement_set = resolver.resolve(reqs, check_supported_wheels=True) 2025-09-08T14:04:01,340 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/resolver.py", line 96, in resolve 2025-09-08T14:04:01,340 result = self._result = resolver.resolve( 2025-09-08T14:04:01,340 ~~~~~~~~~~~~~~~~^ 2025-09-08T14:04:01,340 collected.requirements, max_rounds=limit_how_complex_resolution_can_be 2025-09-08T14:04:01,340 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-08T14:04:01,340 ) 2025-09-08T14:04:01,340 ^ 2025-09-08T14:04:01,340 File "/usr/lib/python3/dist-packages/pip/_vendor/resolvelib/resolvers/resolution.py", line 515, in resolve 2025-09-08T14:04:01,340 state = resolution.resolve(requirements, max_rounds=max_rounds) 2025-09-08T14:04:01,340 File "/usr/lib/python3/dist-packages/pip/_vendor/resolvelib/resolvers/resolution.py", line 388, in resolve 2025-09-08T14:04:01,340 self._add_to_criteria(self.state.criteria, r, parent=None) 2025-09-08T14:04:01,340 ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-08T14:04:01,340 File "/usr/lib/python3/dist-packages/pip/_vendor/resolvelib/resolvers/resolution.py", line 141, in _add_to_criteria 2025-09-08T14:04:01,340 if not criterion.candidates: 2025-09-08T14:04:01,340 ^^^^^^^^^^^^^^^^^^^^ 2025-09-08T14:04:01,340 File "/usr/lib/python3/dist-packages/pip/_vendor/resolvelib/structs.py", line 194, in __bool__ 2025-09-08T14:04:01,340 return bool(self._sequence) 2025-09-08T14:04:01,340 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 163, in __bool__ 2025-09-08T14:04:01,340 self._bool = any(self) 2025-09-08T14:04:01,340 ~~~^^^^^^ 2025-09-08T14:04:01,340 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 147, in 2025-09-08T14:04:01,340 return (c for c in iterator if id(c) not in self._incompatible_ids) 2025-09-08T14:04:01,340 ^^^^^^^^ 2025-09-08T14:04:01,340 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 37, in _iter_built 2025-09-08T14:04:01,340 candidate = func() 2025-09-08T14:04:01,340 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/factory.py", line 187, in _make_candidate_from_link 2025-09-08T14:04:01,340 base: Optional[BaseCandidate] = self._make_base_candidate_from_link( 2025-09-08T14:04:01,340 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 2025-09-08T14:04:01,340 link, template, name, version 2025-09-08T14:04:01,340 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-08T14:04:01,340 ) 2025-09-08T14:04:01,340 ^ 2025-09-08T14:04:01,340 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/factory.py", line 233, in _make_base_candidate_from_link 2025-09-08T14:04:01,340 self._link_candidate_cache[link] = LinkCandidate( 2025-09-08T14:04:01,340 ~~~~~~~~~~~~~^ 2025-09-08T14:04:01,340 link, 2025-09-08T14:04:01,340 ^^^^^ 2025-09-08T14:04:01,340 ...<3 lines>... 2025-09-08T14:04:01,340 version=version, 2025-09-08T14:04:01,340 ^^^^^^^^^^^^^^^^ 2025-09-08T14:04:01,340 ) 2025-09-08T14:04:01,340 ^ 2025-09-08T14:04:01,340 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 306, in __init__ 2025-09-08T14:04:01,340 super().__init__( 2025-09-08T14:04:01,340 ~~~~~~~~~~~~~~~~^ 2025-09-08T14:04:01,340 link=link, 2025-09-08T14:04:01,340 ^^^^^^^^^^ 2025-09-08T14:04:01,340 ...<4 lines>... 2025-09-08T14:04:01,340 version=version, 2025-09-08T14:04:01,340 ^^^^^^^^^^^^^^^^ 2025-09-08T14:04:01,340 ) 2025-09-08T14:04:01,340 ^ 2025-09-08T14:04:01,340 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 159, in __init__ 2025-09-08T14:04:01,340 self.dist = self._prepare() 2025-09-08T14:04:01,340 ~~~~~~~~~~~~~^^ 2025-09-08T14:04:01,340 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 236, in _prepare 2025-09-08T14:04:01,340 dist = self._prepare_distribution() 2025-09-08T14:04:01,340 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 317, in _prepare_distribution 2025-09-08T14:04:01,340 return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True) 2025-09-08T14:04:01,340 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-08T14:04:01,340 File "/usr/lib/python3/dist-packages/pip/_internal/operations/prepare.py", line 532, in prepare_linked_requirement 2025-09-08T14:04:01,340 return self._prepare_linked_requirement(req, parallel_builds) 2025-09-08T14:04:01,340 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^ 2025-09-08T14:04:01,340 File "/usr/lib/python3/dist-packages/pip/_internal/operations/prepare.py", line 647, in _prepare_linked_requirement 2025-09-08T14:04:01,340 dist = _get_prepared_distribution( 2025-09-08T14:04:01,340 req, 2025-09-08T14:04:01,340 ...<3 lines>... 2025-09-08T14:04:01,340 self.check_build_deps, 2025-09-08T14:04:01,340 ) 2025-09-08T14:04:01,340 File "/usr/lib/python3/dist-packages/pip/_internal/operations/prepare.py", line 71, in _get_prepared_distribution 2025-09-08T14:04:01,340 abstract_dist.prepare_distribution_metadata( 2025-09-08T14:04:01,340 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 2025-09-08T14:04:01,340 finder, build_isolation, check_build_deps 2025-09-08T14:04:01,340 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-08T14:04:01,340 ) 2025-09-08T14:04:01,340 ^ 2025-09-08T14:04:01,340 File "/usr/lib/python3/dist-packages/pip/_internal/distributions/sdist.py", line 69, in prepare_distribution_metadata 2025-09-08T14:04:01,340 self.req.prepare_metadata() 2025-09-08T14:04:01,340 ~~~~~~~~~~~~~~~~~~~~~~~~~^^ 2025-09-08T14:04:01,340 File "/usr/lib/python3/dist-packages/pip/_internal/req/req_install.py", line 581, in prepare_metadata 2025-09-08T14:04:01,340 self.metadata_directory = generate_metadata_legacy( 2025-09-08T14:04:01,340 ~~~~~~~~~~~~~~~~~~~~~~~~^ 2025-09-08T14:04:01,340 build_env=self.build_env, 2025-09-08T14:04:01,340 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-08T14:04:01,340 ...<3 lines>... 2025-09-08T14:04:01,340 details=details, 2025-09-08T14:04:01,340 ^^^^^^^^^^^^^^^^ 2025-09-08T14:04:01,340 ) 2025-09-08T14:04:01,340 ^ 2025-09-08T14:04:01,340 File "/usr/lib/python3/dist-packages/pip/_internal/operations/build/metadata_legacy.py", line 70, in generate_metadata 2025-09-08T14:04:01,340 raise MetadataGenerationFailed(package_details=details) from error 2025-09-08T14:04:01,340 pip._internal.exceptions.MetadataGenerationFailed: metadata generation failed 2025-09-08T14:04:01,362 Removed precommit-hook==0.2.1 from https://files.pythonhosted.org/packages/d6/18/d5dea282df1005dfb95a0d9ddfb1f056ea025e4ae7e65875b4a9c5114894/precommit-hook-0.2.1.tar.gz from build tracker '/tmp/pip-build-tracker-e5qqvuq7' 2025-09-08T14:04:01,362 Removed build tracker: '/tmp/pip-build-tracker-e5qqvuq7'