2022-11-24T00:15:55,947 Created temporary directory: /tmp/pip-ephem-wheel-cache-_o6dhvo1 2022-11-24T00:15:55,951 Created temporary directory: /tmp/pip-build-tracker-cai9y47e 2022-11-24T00:15:55,952 Initialized build tracking at /tmp/pip-build-tracker-cai9y47e 2022-11-24T00:15:55,952 Created build tracker: /tmp/pip-build-tracker-cai9y47e 2022-11-24T00:15:55,953 Entered build tracker: /tmp/pip-build-tracker-cai9y47e 2022-11-24T00:15:55,954 Created temporary directory: /tmp/pip-wheel-wmwvq1ga 2022-11-24T00:15:55,962 DEPRECATION: --no-binary currently disables reading from the cache of locally built wheels. In the future --no-binary will not influence the wheel cache. pip 23.1 will enforce this behaviour change. A possible replacement is to use the --no-cache-dir option. You can use the flag --use-feature=no-binary-enable-wheel-cache to test the upcoming behaviour. Discussion can be found at https://github.com/pypa/pip/issues/11453 2022-11-24T00:15:55,967 Created temporary directory: /tmp/pip-ephem-wheel-cache-76s2kavs 2022-11-24T00:15:56,025 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2022-11-24T00:15:56,032 2 location(s) to search for versions of sqlgrep: 2022-11-24T00:15:56,032 * https://pypi.org/simple/sqlgrep/ 2022-11-24T00:15:56,032 * https://www.piwheels.org/simple/sqlgrep/ 2022-11-24T00:15:56,033 Fetching project page and analyzing links: https://pypi.org/simple/sqlgrep/ 2022-11-24T00:15:56,034 Getting page https://pypi.org/simple/sqlgrep/ 2022-11-24T00:15:56,037 Found index url https://pypi.org/simple 2022-11-24T00:15:56,148 Fetched page https://pypi.org/simple/sqlgrep/ as application/vnd.pypi.simple.v1+json 2022-11-24T00:15:56,152 Skipping link: No binaries permitted for sqlgrep: https://files.pythonhosted.org/packages/5f/c7/57393f2bb46f78bc129e4f23afef9be8db27aa28ef399d8cbaa0cb79faca/sqlgrep-0.0.1-py3-none-any.whl (from https://pypi.org/simple/sqlgrep/) (requires-python:>=3.6) 2022-11-24T00:15:56,154 Found link https://files.pythonhosted.org/packages/c8/80/f9dfd9c20a5f12adb1b793f33549f3fdea0f197a7bb328b82853bf0c125d/sqlgrep-0.0.1.tar.gz (from https://pypi.org/simple/sqlgrep/) (requires-python:>=3.6), version: 0.0.1 2022-11-24T00:15:56,154 Skipping link: No binaries permitted for sqlgrep: https://files.pythonhosted.org/packages/44/90/fbbd0981eeb21d6d54ba759986c668e2588250a36e54e6e874a8b6cfd21b/sqlgrep-0.0.2-py3-none-any.whl (from https://pypi.org/simple/sqlgrep/) (requires-python:>=3.6) 2022-11-24T00:15:56,156 Found link https://files.pythonhosted.org/packages/88/19/f053e6486c119ac15de65e06dc215de8d4ed535cc1d8d4b7463ec8955a5d/sqlgrep-0.0.2.tar.gz (from https://pypi.org/simple/sqlgrep/) (requires-python:>=3.6), version: 0.0.2 2022-11-24T00:15:56,157 Fetching project page and analyzing links: https://www.piwheels.org/simple/sqlgrep/ 2022-11-24T00:15:56,157 Getting page https://www.piwheels.org/simple/sqlgrep/ 2022-11-24T00:15:56,159 Found index url https://www.piwheels.org/simple 2022-11-24T00:15:58,450 Fetched page https://www.piwheels.org/simple/sqlgrep/ as text/html 2022-11-24T00:15:58,452 Skipping link: not a file: https://www.piwheels.org/simple/sqlgrep/ 2022-11-24T00:15:58,453 Skipping link: not a file: https://pypi.org/simple/sqlgrep/ 2022-11-24T00:15:58,492 Given no hashes to check 1 links for project 'sqlgrep': discarding no candidates 2022-11-24T00:15:58,526 Collecting sqlgrep==0.0.2 2022-11-24T00:15:58,533 Created temporary directory: /tmp/pip-unpack-xaja7a49 2022-11-24T00:15:58,795 Downloading sqlgrep-0.0.2.tar.gz (5.0 kB) 2022-11-24T00:15:58,858 Added sqlgrep==0.0.2 from https://files.pythonhosted.org/packages/88/19/f053e6486c119ac15de65e06dc215de8d4ed535cc1d8d4b7463ec8955a5d/sqlgrep-0.0.2.tar.gz to build tracker '/tmp/pip-build-tracker-cai9y47e' 2022-11-24T00:15:58,862 Running setup.py (path:/tmp/pip-wheel-wmwvq1ga/sqlgrep_b1e696476b5647c1adffcb6fbb02fa1b/setup.py) egg_info for package sqlgrep 2022-11-24T00:15:58,863 Created temporary directory: /tmp/pip-pip-egg-info-baa5hw8m 2022-11-24T00:15:58,864 Preparing metadata (setup.py): started 2022-11-24T00:15:58,866 Running command python setup.py egg_info 2022-11-24T00:16:01,062 Traceback (most recent call last): 2022-11-24T00:16:01,064 File "", line 36, in 2022-11-24T00:16:01,064 File "", line 34, in 2022-11-24T00:16:01,064 File "/tmp/pip-wheel-wmwvq1ga/sqlgrep_b1e696476b5647c1adffcb6fbb02fa1b/setup.py", line 18, in 2022-11-24T00:16:01,065 version=get_version('bin/sqlgrep'), 2022-11-24T00:16:01,065 File "/tmp/pip-wheel-wmwvq1ga/sqlgrep_b1e696476b5647c1adffcb6fbb02fa1b/setup.py", line 13, in get_version 2022-11-24T00:16:01,065 foo = SourceFileLoader(os.path.basename(path),"bin/sqlgrep").load_module() 2022-11-24T00:16:01,066 File "", line 407, in _check_name_wrapper 2022-11-24T00:16:01,066 File "", line 907, in load_module 2022-11-24T00:16:01,067 File "", line 732, in load_module 2022-11-24T00:16:01,067 File "", line 265, in _load_module_shim 2022-11-24T00:16:01,068 File "", line 696, in _load 2022-11-24T00:16:01,069 File "", line 677, in _load_unlocked 2022-11-24T00:16:01,069 File "", line 728, in exec_module 2022-11-24T00:16:01,070 File "", line 219, in _call_with_frames_removed 2022-11-24T00:16:01,070 File "bin/sqlgrep", line 5, in 2022-11-24T00:16:01,070 import mysql.connector 2022-11-24T00:16:01,071 ModuleNotFoundError: No module named 'mysql' 2022-11-24T00:16:01,218 ERROR: [present-rich] python setup.py egg_info exited with 1 2022-11-24T00:16:01,262 [bold magenta]full command[/]: [blue]/usr/bin/python3 -c ' 2022-11-24T00:16:01,262 exec(compile('"'"''"'"''"'"' 2022-11-24T00:16:01,262 # This is -- a caller that pip uses to run setup.py 2022-11-24T00:16:01,262 # 2022-11-24T00:16:01,262 # - It imports setuptools before invoking setup.py, to enable projects that directly 2022-11-24T00:16:01,262 # import from `distutils.core` to work with newer packaging standards. 2022-11-24T00:16:01,262 # - It provides a clear error message when setuptools is not installed. 2022-11-24T00:16:01,262 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2022-11-24T00:16:01,262 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2022-11-24T00:16:01,262 # manifest_maker: standard file '"'"'-c'"'"' not found". 2022-11-24T00:16:01,262 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2022-11-24T00:16:01,262 import os, sys, tokenize 2022-11-24T00:16:01,262 2022-11-24T00:16:01,262 try: 2022-11-24T00:16:01,262 import setuptools 2022-11-24T00:16:01,262 except ImportError as error: 2022-11-24T00:16:01,262 print( 2022-11-24T00:16:01,262 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2022-11-24T00:16:01,262 "the build environment.", 2022-11-24T00:16:01,262 file=sys.stderr, 2022-11-24T00:16:01,262 ) 2022-11-24T00:16:01,262 sys.exit(1) 2022-11-24T00:16:01,262 2022-11-24T00:16:01,262 __file__ = %r 2022-11-24T00:16:01,262 sys.argv[0] = __file__ 2022-11-24T00:16:01,262 2022-11-24T00:16:01,262 if os.path.exists(__file__): 2022-11-24T00:16:01,262 filename = __file__ 2022-11-24T00:16:01,262 with tokenize.open(__file__) as f: 2022-11-24T00:16:01,262 setup_py_code = f.read() 2022-11-24T00:16:01,262 else: 2022-11-24T00:16:01,262 filename = "" 2022-11-24T00:16:01,262 setup_py_code = "from setuptools import setup; setup()" 2022-11-24T00:16:01,262 2022-11-24T00:16:01,262 exec(compile(setup_py_code, filename, "exec")) 2022-11-24T00:16:01,262 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-wmwvq1ga/sqlgrep_b1e696476b5647c1adffcb6fbb02fa1b/setup.py'"'"',), "", "exec"))' egg_info --egg-base /tmp/pip-pip-egg-info-baa5hw8m[/] 2022-11-24T00:16:01,263 [bold magenta]cwd[/]: /tmp/pip-wheel-wmwvq1ga/sqlgrep_b1e696476b5647c1adffcb6fbb02fa1b/ 2022-11-24T00:16:01,263 Preparing metadata (setup.py): finished with status 'error' 2022-11-24T00:16:01,266 ERROR: [present-rich] metadata generation failed 2022-11-24T00:16:01,281 Exception information: 2022-11-24T00:16:01,281 Traceback (most recent call last): 2022-11-24T00:16:01,281 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/operations/build/metadata_legacy.py", line 68, in generate_metadata 2022-11-24T00:16:01,281 spinner=spinner, 2022-11-24T00:16:01,281 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/utils/subprocess.py", line 224, in call_subprocess 2022-11-24T00:16:01,281 raise error 2022-11-24T00:16:01,281 pip._internal.exceptions.InstallationSubprocessError: python setup.py egg_info exited with 1 2022-11-24T00:16:01,281 2022-11-24T00:16:01,281 The above exception was the direct cause of the following exception: 2022-11-24T00:16:01,281 2022-11-24T00:16:01,281 Traceback (most recent call last): 2022-11-24T00:16:01,281 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/cli/base_command.py", line 160, in exc_logging_wrapper 2022-11-24T00:16:01,281 status = run_func(*args) 2022-11-24T00:16:01,281 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/cli/req_command.py", line 247, in wrapper 2022-11-24T00:16:01,281 return func(self, options, args) 2022-11-24T00:16:01,281 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/commands/wheel.py", line 170, in run 2022-11-24T00:16:01,281 requirement_set = resolver.resolve(reqs, check_supported_wheels=True) 2022-11-24T00:16:01,281 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 93, in resolve 2022-11-24T00:16:01,281 collected.requirements, max_rounds=try_to_avoid_resolution_too_deep 2022-11-24T00:16:01,281 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_vendor/resolvelib/resolvers.py", line 481, in resolve 2022-11-24T00:16:01,281 state = resolution.resolve(requirements, max_rounds=max_rounds) 2022-11-24T00:16:01,281 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_vendor/resolvelib/resolvers.py", line 348, in resolve 2022-11-24T00:16:01,281 self._add_to_criteria(self.state.criteria, r, parent=None) 2022-11-24T00:16:01,281 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_vendor/resolvelib/resolvers.py", line 172, in _add_to_criteria 2022-11-24T00:16:01,281 if not criterion.candidates: 2022-11-24T00:16:01,281 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_vendor/resolvelib/structs.py", line 151, in __bool__ 2022-11-24T00:16:01,281 return bool(self._sequence) 2022-11-24T00:16:01,281 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 155, in __bool__ 2022-11-24T00:16:01,281 return any(self) 2022-11-24T00:16:01,281 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 143, in 2022-11-24T00:16:01,281 return (c for c in iterator if id(c) not in self._incompatible_ids) 2022-11-24T00:16:01,281 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 47, in _iter_built 2022-11-24T00:16:01,281 candidate = func() 2022-11-24T00:16:01,281 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 211, in _make_candidate_from_link 2022-11-24T00:16:01,281 version=version, 2022-11-24T00:16:01,281 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 303, in __init__ 2022-11-24T00:16:01,281 version=version, 2022-11-24T00:16:01,281 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 162, in __init__ 2022-11-24T00:16:01,281 self.dist = self._prepare() 2022-11-24T00:16:01,281 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 231, in _prepare 2022-11-24T00:16:01,281 dist = self._prepare_distribution() 2022-11-24T00:16:01,281 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 308, in _prepare_distribution 2022-11-24T00:16:01,281 return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True) 2022-11-24T00:16:01,281 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/operations/prepare.py", line 491, in prepare_linked_requirement 2022-11-24T00:16:01,281 return self._prepare_linked_requirement(req, parallel_builds) 2022-11-24T00:16:01,281 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/operations/prepare.py", line 582, in _prepare_linked_requirement 2022-11-24T00:16:01,281 self.check_build_deps, 2022-11-24T00:16:01,281 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/operations/prepare.py", line 70, in _get_prepared_distribution 2022-11-24T00:16:01,281 finder, build_isolation, check_build_deps 2022-11-24T00:16:01,281 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/distributions/sdist.py", line 61, in prepare_distribution_metadata 2022-11-24T00:16:01,281 self.req.prepare_metadata() 2022-11-24T00:16:01,281 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/req/req_install.py", line 546, in prepare_metadata 2022-11-24T00:16:01,281 details=details, 2022-11-24T00:16:01,281 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/operations/build/metadata_legacy.py", line 71, in generate_metadata 2022-11-24T00:16:01,281 raise MetadataGenerationFailed(package_details=details) from error 2022-11-24T00:16:01,281 pip._internal.exceptions.MetadataGenerationFailed: metadata generation failed 2022-11-24T00:16:01,305 Removed sqlgrep==0.0.2 from https://files.pythonhosted.org/packages/88/19/f053e6486c119ac15de65e06dc215de8d4ed535cc1d8d4b7463ec8955a5d/sqlgrep-0.0.2.tar.gz from build tracker '/tmp/pip-build-tracker-cai9y47e' 2022-11-24T00:16:01,306 Removed build tracker: '/tmp/pip-build-tracker-cai9y47e'