2024-05-29T12:18:52,261 Created temporary directory: /tmp/pip-build-tracker-7u0wfys_ 2024-05-29T12:18:52,263 Initialized build tracking at /tmp/pip-build-tracker-7u0wfys_ 2024-05-29T12:18:52,263 Created build tracker: /tmp/pip-build-tracker-7u0wfys_ 2024-05-29T12:18:52,263 Entered build tracker: /tmp/pip-build-tracker-7u0wfys_ 2024-05-29T12:18:52,264 Created temporary directory: /tmp/pip-wheel-3zip_ycc 2024-05-29T12:18:52,268 Created temporary directory: /tmp/pip-ephem-wheel-cache-f8p9b1ig 2024-05-29T12:18:52,291 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2024-05-29T12:18:52,295 2 location(s) to search for versions of drf-2fa: 2024-05-29T12:18:52,295 * https://pypi.org/simple/drf-2fa/ 2024-05-29T12:18:52,295 * https://www.piwheels.org/simple/drf-2fa/ 2024-05-29T12:18:52,295 Fetching project page and analyzing links: https://pypi.org/simple/drf-2fa/ 2024-05-29T12:18:52,296 Getting page https://pypi.org/simple/drf-2fa/ 2024-05-29T12:18:52,298 Found index url https://pypi.org/simple/ 2024-05-29T12:18:52,349 Fetched page https://pypi.org/simple/drf-2fa/ as application/vnd.pypi.simple.v1+json 2024-05-29T12:18:52,351 Found link https://files.pythonhosted.org/packages/a2/63/60d825638a70387eb07a87a9c4fcaf22773d51819f56dedad1de99fd370f/drf-2fa-1.0.0.tar.gz (from https://pypi.org/simple/drf-2fa/), version: 1.0.0 2024-05-29T12:18:52,352 Skipping link: No binaries permitted for drf-2fa: https://files.pythonhosted.org/packages/68/26/7d29d279c5e47b461a77fb4dfca5247a34fcb1712f409b9d41d8afd0778e/drf_2fa-1.0.0-py3-none-any.whl (from https://pypi.org/simple/drf-2fa/) 2024-05-29T12:18:52,352 Found link https://files.pythonhosted.org/packages/8c/f2/6f8c917703b53e014c3d797fc034fca1f7a4fd6d5e42cf6961de94ebec67/drf-2fa-1.0.1.tar.gz (from https://pypi.org/simple/drf-2fa/), version: 1.0.1 2024-05-29T12:18:52,352 Skipping link: No binaries permitted for drf-2fa: https://files.pythonhosted.org/packages/a6/06/3e5e69249fa3fd371ec766e242dbc912b63125668d539f8e8906c765b266/drf_2fa-1.0.1-py3-none-any.whl (from https://pypi.org/simple/drf-2fa/) 2024-05-29T12:18:52,353 Found link https://files.pythonhosted.org/packages/70/26/96af4159fa05f8ab296e6a6f59b7ba60ad6b77a25c2d5613be17e6a6b08f/drf-2fa-1.0.2.tar.gz (from https://pypi.org/simple/drf-2fa/), version: 1.0.2 2024-05-29T12:18:52,353 Skipping link: No binaries permitted for drf-2fa: https://files.pythonhosted.org/packages/1b/56/ab238c4ab0b6ad6ead251d970359d6c4b8c6df6bca306a91efa9206d5045/drf_2fa-1.0.2-py3-none-any.whl (from https://pypi.org/simple/drf-2fa/) 2024-05-29T12:18:52,353 Found link https://files.pythonhosted.org/packages/b9/10/bff47f382d6da00bbf720ea7107f81db49478e066c6a9718969877c8de48/drf-2fa-1.0.3.tar.gz (from https://pypi.org/simple/drf-2fa/), version: 1.0.3 2024-05-29T12:18:52,353 Skipping link: No binaries permitted for drf-2fa: https://files.pythonhosted.org/packages/18/d5/2c99305a866d2afd6cd1d444dcbbe1f26ef3f9c2a4079760579c31901ea9/drf_2fa-1.0.3-py3-none-any.whl (from https://pypi.org/simple/drf-2fa/) 2024-05-29T12:18:52,354 Fetching project page and analyzing links: https://www.piwheels.org/simple/drf-2fa/ 2024-05-29T12:18:52,354 Getting page https://www.piwheels.org/simple/drf-2fa/ 2024-05-29T12:18:52,355 Found index url https://www.piwheels.org/simple/ 2024-05-29T12:18:52,431 Fetched page https://www.piwheels.org/simple/drf-2fa/ as text/html 2024-05-29T12:18:52,432 Skipping link: No binaries permitted for drf-2fa: https://www.piwheels.org/simple/drf-2fa/drf_2fa-1.0.1-py3-none-any.whl#sha256=aeb8e775341dc1e06c245e97670ff4b0ebb16e1011240c0e7b0d70e5f8048f3f (from https://www.piwheels.org/simple/drf-2fa/) 2024-05-29T12:18:52,433 Skipping link: not a file: https://www.piwheels.org/simple/drf-2fa/ 2024-05-29T12:18:52,433 Skipping link: not a file: https://pypi.org/simple/drf-2fa/ 2024-05-29T12:18:52,451 Given no hashes to check 1 links for project 'drf-2fa': discarding no candidates 2024-05-29T12:18:52,470 Collecting drf-2fa==1.0.0 2024-05-29T12:18:52,472 Created temporary directory: /tmp/pip-unpack-qxf2l567 2024-05-29T12:18:52,518 Downloading drf-2fa-1.0.0.tar.gz (9.1 kB) 2024-05-29T12:18:52,578 Added drf-2fa==1.0.0 from https://files.pythonhosted.org/packages/a2/63/60d825638a70387eb07a87a9c4fcaf22773d51819f56dedad1de99fd370f/drf-2fa-1.0.0.tar.gz to build tracker '/tmp/pip-build-tracker-7u0wfys_' 2024-05-29T12:18:52,580 Running setup.py (path:/tmp/pip-wheel-3zip_ycc/drf-2fa_c755a26af875414ea214ed5783690edb/setup.py) egg_info for package drf-2fa 2024-05-29T12:18:52,581 Created temporary directory: /tmp/pip-pip-egg-info-v4lihko7 2024-05-29T12:18:52,581 Preparing metadata (setup.py): started 2024-05-29T12:18:52,582 Running command python setup.py egg_info 2024-05-29T12:18:53,688 running egg_info 2024-05-29T12:18:53,689 creating /tmp/pip-pip-egg-info-v4lihko7/drf_2fa.egg-info 2024-05-29T12:18:53,713 writing /tmp/pip-pip-egg-info-v4lihko7/drf_2fa.egg-info/PKG-INFO 2024-05-29T12:18:53,716 writing dependency_links to /tmp/pip-pip-egg-info-v4lihko7/drf_2fa.egg-info/dependency_links.txt 2024-05-29T12:18:53,718 writing requirements to /tmp/pip-pip-egg-info-v4lihko7/drf_2fa.egg-info/requires.txt 2024-05-29T12:18:53,719 writing top-level names to /tmp/pip-pip-egg-info-v4lihko7/drf_2fa.egg-info/top_level.txt 2024-05-29T12:18:53,720 writing manifest file '/tmp/pip-pip-egg-info-v4lihko7/drf_2fa.egg-info/SOURCES.txt' 2024-05-29T12:18:53,773 error: package directory 'drf_2fa/templates' does not exist 2024-05-29T12:18:53,869 ERROR: python setup.py egg_info exited with 1 2024-05-29T12:18:53,886 [bold magenta]full command[/]: [blue]/usr/bin/python3 -c ' 2024-05-29T12:18:53,886 exec(compile('"'"''"'"''"'"' 2024-05-29T12:18:53,886 # This is -- a caller that pip uses to run setup.py 2024-05-29T12:18:53,886 # 2024-05-29T12:18:53,886 # - It imports setuptools before invoking setup.py, to enable projects that directly 2024-05-29T12:18:53,886 # import from `distutils.core` to work with newer packaging standards. 2024-05-29T12:18:53,886 # - It provides a clear error message when setuptools is not installed. 2024-05-29T12:18:53,886 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2024-05-29T12:18:53,886 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2024-05-29T12:18:53,886 # manifest_maker: standard file '"'"'-c'"'"' not found". 2024-05-29T12:18:53,886 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2024-05-29T12:18:53,886 import os, sys, tokenize 2024-05-29T12:18:53,886 2024-05-29T12:18:53,886 try: 2024-05-29T12:18:53,886 import setuptools 2024-05-29T12:18:53,886 except ImportError as error: 2024-05-29T12:18:53,886 print( 2024-05-29T12:18:53,886 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2024-05-29T12:18:53,886 "the build environment.", 2024-05-29T12:18:53,886 file=sys.stderr, 2024-05-29T12:18:53,886 ) 2024-05-29T12:18:53,886 sys.exit(1) 2024-05-29T12:18:53,886 2024-05-29T12:18:53,886 __file__ = %r 2024-05-29T12:18:53,886 sys.argv[0] = __file__ 2024-05-29T12:18:53,886 2024-05-29T12:18:53,886 if os.path.exists(__file__): 2024-05-29T12:18:53,886 filename = __file__ 2024-05-29T12:18:53,886 with tokenize.open(__file__) as f: 2024-05-29T12:18:53,886 setup_py_code = f.read() 2024-05-29T12:18:53,886 else: 2024-05-29T12:18:53,886 filename = "" 2024-05-29T12:18:53,886 setup_py_code = "from setuptools import setup; setup()" 2024-05-29T12:18:53,886 2024-05-29T12:18:53,886 exec(compile(setup_py_code, filename, "exec")) 2024-05-29T12:18:53,886 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-3zip_ycc/drf-2fa_c755a26af875414ea214ed5783690edb/setup.py'"'"',), "", "exec"))' egg_info --egg-base /tmp/pip-pip-egg-info-v4lihko7[/] 2024-05-29T12:18:53,886 [bold magenta]cwd[/]: /tmp/pip-wheel-3zip_ycc/drf-2fa_c755a26af875414ea214ed5783690edb/ 2024-05-29T12:18:53,887 Preparing metadata (setup.py): finished with status 'error' 2024-05-29T12:18:53,888 ERROR: metadata generation failed 2024-05-29T12:18:53,894 Exception information: 2024-05-29T12:18:53,894 Traceback (most recent call last): 2024-05-29T12:18:53,894 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/operations/build/metadata_legacy.py", line 64, in generate_metadata 2024-05-29T12:18:53,894 call_subprocess( 2024-05-29T12:18:53,894 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/utils/subprocess.py", line 224, in call_subprocess 2024-05-29T12:18:53,894 raise error 2024-05-29T12:18:53,894 pip._internal.exceptions.InstallationSubprocessError: python setup.py egg_info exited with 1 2024-05-29T12:18:53,894 2024-05-29T12:18:53,894 The above exception was the direct cause of the following exception: 2024-05-29T12:18:53,894 2024-05-29T12:18:53,894 Traceback (most recent call last): 2024-05-29T12:18:53,894 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2024-05-29T12:18:53,894 status = run_func(*args) 2024-05-29T12:18:53,894 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/cli/req_command.py", line 245, in wrapper 2024-05-29T12:18:53,894 return func(self, options, args) 2024-05-29T12:18:53,894 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/commands/wheel.py", line 147, in run 2024-05-29T12:18:53,894 requirement_set = resolver.resolve(reqs, check_supported_wheels=True) 2024-05-29T12:18:53,894 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/resolver.py", line 95, in resolve 2024-05-29T12:18:53,894 result = self._result = resolver.resolve( 2024-05-29T12:18:53,894 File "/usr/local/lib/python3.9/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 546, in resolve 2024-05-29T12:18:53,894 state = resolution.resolve(requirements, max_rounds=max_rounds) 2024-05-29T12:18:53,894 File "/usr/local/lib/python3.9/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 397, in resolve 2024-05-29T12:18:53,894 self._add_to_criteria(self.state.criteria, r, parent=None) 2024-05-29T12:18:53,894 File "/usr/local/lib/python3.9/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 173, in _add_to_criteria 2024-05-29T12:18:53,894 if not criterion.candidates: 2024-05-29T12:18:53,894 File "/usr/local/lib/python3.9/dist-packages/pip/_vendor/resolvelib/structs.py", line 156, in __bool__ 2024-05-29T12:18:53,894 return bool(self._sequence) 2024-05-29T12:18:53,894 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 155, in __bool__ 2024-05-29T12:18:53,894 return any(self) 2024-05-29T12:18:53,894 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 143, in 2024-05-29T12:18:53,894 return (c for c in iterator if id(c) not in self._incompatible_ids) 2024-05-29T12:18:53,894 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 47, in _iter_built 2024-05-29T12:18:53,894 candidate = func() 2024-05-29T12:18:53,894 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/factory.py", line 182, in _make_candidate_from_link 2024-05-29T12:18:53,894 base: Optional[BaseCandidate] = self._make_base_candidate_from_link( 2024-05-29T12:18:53,894 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/factory.py", line 228, in _make_base_candidate_from_link 2024-05-29T12:18:53,894 self._link_candidate_cache[link] = LinkCandidate( 2024-05-29T12:18:53,894 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 290, in __init__ 2024-05-29T12:18:53,894 super().__init__( 2024-05-29T12:18:53,894 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 156, in __init__ 2024-05-29T12:18:53,894 self.dist = self._prepare() 2024-05-29T12:18:53,894 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 222, in _prepare 2024-05-29T12:18:53,894 dist = self._prepare_distribution() 2024-05-29T12:18:53,894 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 301, in _prepare_distribution 2024-05-29T12:18:53,894 return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True) 2024-05-29T12:18:53,894 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/operations/prepare.py", line 525, in prepare_linked_requirement 2024-05-29T12:18:53,894 return self._prepare_linked_requirement(req, parallel_builds) 2024-05-29T12:18:53,894 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/operations/prepare.py", line 640, in _prepare_linked_requirement 2024-05-29T12:18:53,894 dist = _get_prepared_distribution( 2024-05-29T12:18:53,894 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/operations/prepare.py", line 71, in _get_prepared_distribution 2024-05-29T12:18:53,894 abstract_dist.prepare_distribution_metadata( 2024-05-29T12:18:53,894 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/distributions/sdist.py", line 67, in prepare_distribution_metadata 2024-05-29T12:18:53,894 self.req.prepare_metadata() 2024-05-29T12:18:53,894 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/req/req_install.py", line 585, in prepare_metadata 2024-05-29T12:18:53,894 self.metadata_directory = generate_metadata_legacy( 2024-05-29T12:18:53,894 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/operations/build/metadata_legacy.py", line 71, in generate_metadata 2024-05-29T12:18:53,894 raise MetadataGenerationFailed(package_details=details) from error 2024-05-29T12:18:53,894 pip._internal.exceptions.MetadataGenerationFailed: metadata generation failed 2024-05-29T12:18:53,903 Removed drf-2fa==1.0.0 from https://files.pythonhosted.org/packages/a2/63/60d825638a70387eb07a87a9c4fcaf22773d51819f56dedad1de99fd370f/drf-2fa-1.0.0.tar.gz from build tracker '/tmp/pip-build-tracker-7u0wfys_' 2024-05-29T12:18:53,904 Removed build tracker: '/tmp/pip-build-tracker-7u0wfys_'