2024-05-21T15:48:27,821 Created temporary directory: /tmp/pip-build-tracker-1onsxrn0 2024-05-21T15:48:27,823 Initialized build tracking at /tmp/pip-build-tracker-1onsxrn0 2024-05-21T15:48:27,823 Created build tracker: /tmp/pip-build-tracker-1onsxrn0 2024-05-21T15:48:27,823 Entered build tracker: /tmp/pip-build-tracker-1onsxrn0 2024-05-21T15:48:27,824 Created temporary directory: /tmp/pip-wheel-lcb75wdx 2024-05-21T15:48:27,828 Created temporary directory: /tmp/pip-ephem-wheel-cache-b6c53js3 2024-05-21T15:48:27,855 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2024-05-21T15:48:27,859 2 location(s) to search for versions of wattpad-api: 2024-05-21T15:48:27,859 * https://pypi.org/simple/wattpad-api/ 2024-05-21T15:48:27,859 * https://www.piwheels.org/simple/wattpad-api/ 2024-05-21T15:48:27,859 Fetching project page and analyzing links: https://pypi.org/simple/wattpad-api/ 2024-05-21T15:48:27,860 Getting page https://pypi.org/simple/wattpad-api/ 2024-05-21T15:48:27,861 Found index url https://pypi.org/simple/ 2024-05-21T15:48:27,913 Fetched page https://pypi.org/simple/wattpad-api/ as application/vnd.pypi.simple.v1+json 2024-05-21T15:48:27,914 Skipping link: No binaries permitted for wattpad-api: https://files.pythonhosted.org/packages/15/a4/45bfa6c41e4dc9e6b864b42db8d5e4dc7c97346b79d73324ab1bfe501ecc/wattpad_api-1.0.0-py2.py3-none-any.whl (from https://pypi.org/simple/wattpad-api/) 2024-05-21T15:48:27,914 Found link https://files.pythonhosted.org/packages/8e/ad/d4bee430e82bf99c12e65b654ee9bcefad8692755c4b96bbcc9d3c0747f2/wattpad_api-1.0.0.tar.gz (from https://pypi.org/simple/wattpad-api/), version: 1.0.0 2024-05-21T15:48:27,915 Fetching project page and analyzing links: https://www.piwheels.org/simple/wattpad-api/ 2024-05-21T15:48:27,915 Getting page https://www.piwheels.org/simple/wattpad-api/ 2024-05-21T15:48:27,916 Found index url https://www.piwheels.org/simple/ 2024-05-21T15:48:27,982 Fetched page https://www.piwheels.org/simple/wattpad-api/ as text/html 2024-05-21T15:48:27,983 Skipping link: not a file: https://www.piwheels.org/simple/wattpad-api/ 2024-05-21T15:48:27,983 Skipping link: not a file: https://pypi.org/simple/wattpad-api/ 2024-05-21T15:48:28,009 Given no hashes to check 1 links for project 'wattpad-api': discarding no candidates 2024-05-21T15:48:28,033 Collecting wattpad-api==1.0.0 2024-05-21T15:48:28,036 Created temporary directory: /tmp/pip-unpack-grn6zssf 2024-05-21T15:48:28,095 Downloading wattpad_api-1.0.0.tar.gz (8.6 kB) 2024-05-21T15:48:28,154 Added wattpad-api==1.0.0 from https://files.pythonhosted.org/packages/8e/ad/d4bee430e82bf99c12e65b654ee9bcefad8692755c4b96bbcc9d3c0747f2/wattpad_api-1.0.0.tar.gz to build tracker '/tmp/pip-build-tracker-1onsxrn0' 2024-05-21T15:48:28,157 Running setup.py (path:/tmp/pip-wheel-lcb75wdx/wattpad-api_d65176e6b49844ba85f78b8d0c78ff8a/setup.py) egg_info for package wattpad-api 2024-05-21T15:48:28,158 Created temporary directory: /tmp/pip-pip-egg-info-d5lahsjh 2024-05-21T15:48:28,158 Preparing metadata (setup.py): started 2024-05-21T15:48:28,159 Running command python setup.py egg_info 2024-05-21T15:48:28,969 Traceback (most recent call last): 2024-05-21T15:48:28,970 File "", line 2, in 2024-05-21T15:48:28,970 File "", line 34, in 2024-05-21T15:48:28,970 File "/tmp/pip-wheel-lcb75wdx/wattpad-api_d65176e6b49844ba85f78b8d0c78ff8a/setup.py", line 2, in 2024-05-21T15:48:28,970 from wattpad import VERSION 2024-05-21T15:48:28,971 File "/tmp/pip-wheel-lcb75wdx/wattpad-api_d65176e6b49844ba85f78b8d0c78ff8a/wattpad/__init__.py", line 1, in 2024-05-21T15:48:28,971 from .backend import Wattpad 2024-05-21T15:48:28,971 File "/tmp/pip-wheel-lcb75wdx/wattpad-api_d65176e6b49844ba85f78b8d0c78ff8a/wattpad/backend/__init__.py", line 1, in 2024-05-21T15:48:28,971 from .core import Wattpad 2024-05-21T15:48:28,971 File "/tmp/pip-wheel-lcb75wdx/wattpad-api_d65176e6b49844ba85f78b8d0c78ff8a/wattpad/backend/core.py", line 4, in 2024-05-21T15:48:28,972 from requests.exceptions import JSONDecodeError 2024-05-21T15:48:28,972 ImportError: cannot import name 'JSONDecodeError' from 'requests.exceptions' (/usr/lib/python3/dist-packages/requests/exceptions.py) 2024-05-21T15:48:29,033 ERROR: python setup.py egg_info exited with 1 2024-05-21T15:48:29,051 [bold magenta]full command[/]: [blue]/usr/bin/python3 -c ' 2024-05-21T15:48:29,051 exec(compile('"'"''"'"''"'"' 2024-05-21T15:48:29,051 # This is -- a caller that pip uses to run setup.py 2024-05-21T15:48:29,051 # 2024-05-21T15:48:29,051 # - It imports setuptools before invoking setup.py, to enable projects that directly 2024-05-21T15:48:29,051 # import from `distutils.core` to work with newer packaging standards. 2024-05-21T15:48:29,051 # - It provides a clear error message when setuptools is not installed. 2024-05-21T15:48:29,051 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2024-05-21T15:48:29,051 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2024-05-21T15:48:29,051 # manifest_maker: standard file '"'"'-c'"'"' not found". 2024-05-21T15:48:29,051 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2024-05-21T15:48:29,051 import os, sys, tokenize 2024-05-21T15:48:29,051 2024-05-21T15:48:29,051 try: 2024-05-21T15:48:29,051 import setuptools 2024-05-21T15:48:29,051 except ImportError as error: 2024-05-21T15:48:29,051 print( 2024-05-21T15:48:29,051 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2024-05-21T15:48:29,051 "the build environment.", 2024-05-21T15:48:29,051 file=sys.stderr, 2024-05-21T15:48:29,051 ) 2024-05-21T15:48:29,051 sys.exit(1) 2024-05-21T15:48:29,051 2024-05-21T15:48:29,051 __file__ = %r 2024-05-21T15:48:29,051 sys.argv[0] = __file__ 2024-05-21T15:48:29,051 2024-05-21T15:48:29,051 if os.path.exists(__file__): 2024-05-21T15:48:29,051 filename = __file__ 2024-05-21T15:48:29,051 with tokenize.open(__file__) as f: 2024-05-21T15:48:29,051 setup_py_code = f.read() 2024-05-21T15:48:29,051 else: 2024-05-21T15:48:29,051 filename = "" 2024-05-21T15:48:29,051 setup_py_code = "from setuptools import setup; setup()" 2024-05-21T15:48:29,051 2024-05-21T15:48:29,051 exec(compile(setup_py_code, filename, "exec")) 2024-05-21T15:48:29,051 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-lcb75wdx/wattpad-api_d65176e6b49844ba85f78b8d0c78ff8a/setup.py'"'"',), "", "exec"))' egg_info --egg-base /tmp/pip-pip-egg-info-d5lahsjh[/] 2024-05-21T15:48:29,051 [bold magenta]cwd[/]: /tmp/pip-wheel-lcb75wdx/wattpad-api_d65176e6b49844ba85f78b8d0c78ff8a/ 2024-05-21T15:48:29,051 Preparing metadata (setup.py): finished with status 'error' 2024-05-21T15:48:29,052 ERROR: metadata generation failed 2024-05-21T15:48:29,058 Exception information: 2024-05-21T15:48:29,058 Traceback (most recent call last): 2024-05-21T15:48:29,058 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/operations/build/metadata_legacy.py", line 64, in generate_metadata 2024-05-21T15:48:29,058 call_subprocess( 2024-05-21T15:48:29,058 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/utils/subprocess.py", line 224, in call_subprocess 2024-05-21T15:48:29,058 raise error 2024-05-21T15:48:29,058 pip._internal.exceptions.InstallationSubprocessError: python setup.py egg_info exited with 1 2024-05-21T15:48:29,058 2024-05-21T15:48:29,058 The above exception was the direct cause of the following exception: 2024-05-21T15:48:29,058 2024-05-21T15:48:29,058 Traceback (most recent call last): 2024-05-21T15:48:29,058 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2024-05-21T15:48:29,058 status = run_func(*args) 2024-05-21T15:48:29,058 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/cli/req_command.py", line 245, in wrapper 2024-05-21T15:48:29,058 return func(self, options, args) 2024-05-21T15:48:29,058 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/commands/wheel.py", line 147, in run 2024-05-21T15:48:29,058 requirement_set = resolver.resolve(reqs, check_supported_wheels=True) 2024-05-21T15:48:29,058 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/resolver.py", line 95, in resolve 2024-05-21T15:48:29,058 result = self._result = resolver.resolve( 2024-05-21T15:48:29,058 File "/usr/local/lib/python3.9/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 546, in resolve 2024-05-21T15:48:29,058 state = resolution.resolve(requirements, max_rounds=max_rounds) 2024-05-21T15:48:29,058 File "/usr/local/lib/python3.9/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 397, in resolve 2024-05-21T15:48:29,058 self._add_to_criteria(self.state.criteria, r, parent=None) 2024-05-21T15:48:29,058 File "/usr/local/lib/python3.9/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 173, in _add_to_criteria 2024-05-21T15:48:29,058 if not criterion.candidates: 2024-05-21T15:48:29,058 File "/usr/local/lib/python3.9/dist-packages/pip/_vendor/resolvelib/structs.py", line 156, in __bool__ 2024-05-21T15:48:29,058 return bool(self._sequence) 2024-05-21T15:48:29,058 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 155, in __bool__ 2024-05-21T15:48:29,058 return any(self) 2024-05-21T15:48:29,058 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 143, in 2024-05-21T15:48:29,058 return (c for c in iterator if id(c) not in self._incompatible_ids) 2024-05-21T15:48:29,058 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 47, in _iter_built 2024-05-21T15:48:29,058 candidate = func() 2024-05-21T15:48:29,058 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/factory.py", line 182, in _make_candidate_from_link 2024-05-21T15:48:29,058 base: Optional[BaseCandidate] = self._make_base_candidate_from_link( 2024-05-21T15:48:29,058 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/factory.py", line 228, in _make_base_candidate_from_link 2024-05-21T15:48:29,058 self._link_candidate_cache[link] = LinkCandidate( 2024-05-21T15:48:29,058 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 290, in __init__ 2024-05-21T15:48:29,058 super().__init__( 2024-05-21T15:48:29,058 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 156, in __init__ 2024-05-21T15:48:29,058 self.dist = self._prepare() 2024-05-21T15:48:29,058 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 222, in _prepare 2024-05-21T15:48:29,058 dist = self._prepare_distribution() 2024-05-21T15:48:29,058 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 301, in _prepare_distribution 2024-05-21T15:48:29,058 return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True) 2024-05-21T15:48:29,058 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/operations/prepare.py", line 525, in prepare_linked_requirement 2024-05-21T15:48:29,058 return self._prepare_linked_requirement(req, parallel_builds) 2024-05-21T15:48:29,058 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/operations/prepare.py", line 640, in _prepare_linked_requirement 2024-05-21T15:48:29,058 dist = _get_prepared_distribution( 2024-05-21T15:48:29,058 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/operations/prepare.py", line 71, in _get_prepared_distribution 2024-05-21T15:48:29,058 abstract_dist.prepare_distribution_metadata( 2024-05-21T15:48:29,058 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/distributions/sdist.py", line 67, in prepare_distribution_metadata 2024-05-21T15:48:29,058 self.req.prepare_metadata() 2024-05-21T15:48:29,058 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/req/req_install.py", line 585, in prepare_metadata 2024-05-21T15:48:29,058 self.metadata_directory = generate_metadata_legacy( 2024-05-21T15:48:29,058 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/operations/build/metadata_legacy.py", line 71, in generate_metadata 2024-05-21T15:48:29,058 raise MetadataGenerationFailed(package_details=details) from error 2024-05-21T15:48:29,058 pip._internal.exceptions.MetadataGenerationFailed: metadata generation failed 2024-05-21T15:48:29,068 Removed wattpad-api==1.0.0 from https://files.pythonhosted.org/packages/8e/ad/d4bee430e82bf99c12e65b654ee9bcefad8692755c4b96bbcc9d3c0747f2/wattpad_api-1.0.0.tar.gz from build tracker '/tmp/pip-build-tracker-1onsxrn0' 2024-05-21T15:48:29,068 Removed build tracker: '/tmp/pip-build-tracker-1onsxrn0'