2025-09-09T06:45:30,091 Created temporary directory: /tmp/pip-build-tracker-idfx1cy5 2025-09-09T06:45:30,092 Initialized build tracking at /tmp/pip-build-tracker-idfx1cy5 2025-09-09T06:45:30,092 Created build tracker: /tmp/pip-build-tracker-idfx1cy5 2025-09-09T06:45:30,092 Entered build tracker: /tmp/pip-build-tracker-idfx1cy5 2025-09-09T06:45:30,092 Created temporary directory: /tmp/pip-wheel-gpzg7xkx 2025-09-09T06:45:30,095 Created temporary directory: /tmp/pip-ephem-wheel-cache-kchhx39v 2025-09-09T06:45:30,159 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2025-09-09T06:45:30,161 2 location(s) to search for versions of django-rest-magic: 2025-09-09T06:45:30,161 * https://pypi.org/simple/django-rest-magic/ 2025-09-09T06:45:30,161 * https://www.piwheels.org/simple/django-rest-magic/ 2025-09-09T06:45:30,162 Fetching project page and analyzing links: https://pypi.org/simple/django-rest-magic/ 2025-09-09T06:45:30,162 Getting page https://pypi.org/simple/django-rest-magic/ 2025-09-09T06:45:30,163 Found index url https://pypi.org/simple/ 2025-09-09T06:45:30,314 Fetched page https://pypi.org/simple/django-rest-magic/ as application/vnd.pypi.simple.v1+json 2025-09-09T06:45:30,316 Found link https://files.pythonhosted.org/packages/ce/e6/f0fd16100218001e09803ac3248fa19fb207a2db2afced8122d7ada2b65c/django-rest-magic-0.1.1.tar.gz (from https://pypi.org/simple/django-rest-magic/), version: 0.1.1 2025-09-09T06:45:30,317 Found link https://files.pythonhosted.org/packages/db/50/0f2217207c10b204abb38e83f0b53d134c5b66b1e6b89d58e53aab201d37/django-rest-magic-0.1.2.tar.gz (from https://pypi.org/simple/django-rest-magic/), version: 0.1.2 2025-09-09T06:45:30,317 Found link https://files.pythonhosted.org/packages/34/03/844f4e1d02a690dd24a031a92356a91fcd89e725a38915ee818a41c6b52d/django-rest-magic-0.1.4.tar.gz (from https://pypi.org/simple/django-rest-magic/), version: 0.1.4 2025-09-09T06:45:30,317 Found link https://files.pythonhosted.org/packages/e4/dd/2b0a4b51f3425ecf5f73953428e4e93b94da6d65adf09d62a6ad62c4c106/django-rest-magic-0.1.5.tar.gz (from https://pypi.org/simple/django-rest-magic/), version: 0.1.5 2025-09-09T06:45:30,318 Found link https://files.pythonhosted.org/packages/4b/d4/aa0e0116773706cf8e85f81e7f884d0f4ca801ff271b6c3d1b5847d2a22e/django-rest-magic-0.1.6.tar.gz (from https://pypi.org/simple/django-rest-magic/), version: 0.1.6 2025-09-09T06:45:30,318 Fetching project page and analyzing links: https://www.piwheels.org/simple/django-rest-magic/ 2025-09-09T06:45:30,319 Getting page https://www.piwheels.org/simple/django-rest-magic/ 2025-09-09T06:45:30,320 Found index url https://www.piwheels.org/simple/ 2025-09-09T06:45:30,422 Fetched page https://www.piwheels.org/simple/django-rest-magic/ as text/html 2025-09-09T06:45:30,423 Skipping link: No binaries permitted for django-rest-magic: https://archive1.piwheels.org/simple/django-rest-magic/django_rest_magic-0.1.6-py3-none-any.whl#sha256=640a793073a9a6eb5fc4a44634fb007993dcc22b0664ec1f1e3819498afa941e (from https://www.piwheels.org/simple/django-rest-magic/) 2025-09-09T06:45:30,423 Skipping link: not a file: https://www.piwheels.org/simple/django-rest-magic/ 2025-09-09T06:45:30,423 Skipping link: not a file: https://pypi.org/simple/django-rest-magic/ 2025-09-09T06:45:30,445 Given no hashes to check 1 links for project 'django-rest-magic': discarding no candidates 2025-09-09T06:45:30,446 Collecting django-rest-magic==0.1.1 2025-09-09T06:45:30,447 Created temporary directory: /tmp/pip-unpack-bokglzn7 2025-09-09T06:45:30,587 Downloading django-rest-magic-0.1.1.tar.gz (36 kB) 2025-09-09T06:45:30,639 Added django-rest-magic==0.1.1 from https://files.pythonhosted.org/packages/ce/e6/f0fd16100218001e09803ac3248fa19fb207a2db2afced8122d7ada2b65c/django-rest-magic-0.1.1.tar.gz to build tracker '/tmp/pip-build-tracker-idfx1cy5' 2025-09-09T06:45:30,641 Running setup.py (path:/tmp/pip-wheel-gpzg7xkx/django-rest-magic_3ef79c9d48bc4854818d4fc1b536953d/setup.py) egg_info for package django-rest-magic 2025-09-09T06:45:30,641 Created temporary directory: /tmp/pip-pip-egg-info-hp18xif1 2025-09-09T06:45:30,642 Preparing metadata (setup.py): started 2025-09-09T06:45:30,642 Running command python setup.py egg_info 2025-09-09T06:45:31,685 Traceback (most recent call last): 2025-09-09T06:45:31,687 File "", line 2, in 2025-09-09T06:45:31,687 exec(compile(''' 2025-09-09T06:45:31,687 ~~~~^^^^^^^^^^^^ 2025-09-09T06:45:31,688 # This is -- a caller that pip uses to run setup.py 2025-09-09T06:45:31,688 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-09T06:45:31,688 ...<32 lines>... 2025-09-09T06:45:31,688 exec(compile(setup_py_code, filename, "exec")) 2025-09-09T06:45:31,688 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-09T06:45:31,688 ''' % ('/tmp/pip-wheel-gpzg7xkx/django-rest-magic_3ef79c9d48bc4854818d4fc1b536953d/setup.py',), "", "exec")) 2025-09-09T06:45:31,688 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-09T06:45:31,688 File "", line 35, in 2025-09-09T06:45:31,688 File "/tmp/pip-wheel-gpzg7xkx/django-rest-magic_3ef79c9d48bc4854818d4fc1b536953d/setup.py", line 6, in 2025-09-09T06:45:31,689 import drf_magic 2025-09-09T06:45:31,689 File "/tmp/pip-wheel-gpzg7xkx/django-rest-magic_3ef79c9d48bc4854818d4fc1b536953d/drf_magic/__init__.py", line 1, in 2025-09-09T06:45:31,689 from .apps import MagicAppConfig 2025-09-09T06:45:31,689 File "/tmp/pip-wheel-gpzg7xkx/django-rest-magic_3ef79c9d48bc4854818d4fc1b536953d/drf_magic/apps.py", line 1, in 2025-09-09T06:45:31,689 from .access.apps import AutoAccessorAppConfig 2025-09-09T06:45:31,689 File "/tmp/pip-wheel-gpzg7xkx/django-rest-magic_3ef79c9d48bc4854818d4fc1b536953d/drf_magic/access/__init__.py", line 2, in 2025-09-09T06:45:31,689 from .accessors import ( 2025-09-09T06:45:31,689 BaseAccess, GenericDefaultAccess, check_user_access, instance_to_accessor 2025-09-09T06:45:31,690 ) 2025-09-09T06:45:31,690 File "/tmp/pip-wheel-gpzg7xkx/django-rest-magic_3ef79c9d48bc4854818d4fc1b536953d/drf_magic/access/accessors.py", line 4, in 2025-09-09T06:45:31,690 from django.core.exceptions import ObjectDoesNotExist 2025-09-09T06:45:31,690 ModuleNotFoundError: No module named 'django' 2025-09-09T06:45:31,844 ERROR: python setup.py egg_info exited with 1 2025-09-09T06:45:31,856 [bold magenta]full command[/]: [blue]/usr/bin/python3 -c ' 2025-09-09T06:45:31,856 exec(compile('"'"''"'"''"'"' 2025-09-09T06:45:31,856 # This is -- a caller that pip uses to run setup.py 2025-09-09T06:45:31,856 # 2025-09-09T06:45:31,856 # - It imports setuptools before invoking setup.py, to enable projects that directly 2025-09-09T06:45:31,856 # import from `distutils.core` to work with newer packaging standards. 2025-09-09T06:45:31,856 # - It provides a clear error message when setuptools is not installed. 2025-09-09T06:45:31,856 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2025-09-09T06:45:31,856 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2025-09-09T06:45:31,856 # manifest_maker: standard file '"'"'-c'"'"' not found". 2025-09-09T06:45:31,856 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2025-09-09T06:45:31,856 import os, sys, tokenize, traceback 2025-09-09T06:45:31,856 2025-09-09T06:45:31,856 try: 2025-09-09T06:45:31,856 import setuptools 2025-09-09T06:45:31,856 except ImportError: 2025-09-09T06:45:31,856 print( 2025-09-09T06:45:31,856 "ERROR: Can not execute `setup.py` since setuptools failed to import in " 2025-09-09T06:45:31,856 "the build environment with exception:", 2025-09-09T06:45:31,856 file=sys.stderr, 2025-09-09T06:45:31,856 ) 2025-09-09T06:45:31,856 traceback.print_exc() 2025-09-09T06:45:31,856 sys.exit(1) 2025-09-09T06:45:31,856 2025-09-09T06:45:31,856 __file__ = %r 2025-09-09T06:45:31,856 sys.argv[0] = __file__ 2025-09-09T06:45:31,856 2025-09-09T06:45:31,856 if os.path.exists(__file__): 2025-09-09T06:45:31,856 filename = __file__ 2025-09-09T06:45:31,856 with tokenize.open(__file__) as f: 2025-09-09T06:45:31,856 setup_py_code = f.read() 2025-09-09T06:45:31,856 else: 2025-09-09T06:45:31,856 filename = "" 2025-09-09T06:45:31,856 setup_py_code = "from setuptools import setup; setup()" 2025-09-09T06:45:31,856 2025-09-09T06:45:31,856 exec(compile(setup_py_code, filename, "exec")) 2025-09-09T06:45:31,856 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-gpzg7xkx/django-rest-magic_3ef79c9d48bc4854818d4fc1b536953d/setup.py'"'"',), "", "exec"))' egg_info --egg-base /tmp/pip-pip-egg-info-hp18xif1[/] 2025-09-09T06:45:31,856 [bold magenta]cwd[/]: /tmp/pip-wheel-gpzg7xkx/django-rest-magic_3ef79c9d48bc4854818d4fc1b536953d/ 2025-09-09T06:45:31,856 Preparing metadata (setup.py): finished with status 'error' 2025-09-09T06:45:31,857 ERROR: metadata generation failed 2025-09-09T06:45:31,862 Exception information: 2025-09-09T06:45:31,862 Traceback (most recent call last): 2025-09-09T06:45:31,862 File "/usr/lib/python3/dist-packages/pip/_internal/operations/build/metadata_legacy.py", line 63, in generate_metadata 2025-09-09T06:45:31,862 call_subprocess( 2025-09-09T06:45:31,862 ~~~~~~~~~~~~~~~^ 2025-09-09T06:45:31,862 args, 2025-09-09T06:45:31,862 ^^^^^ 2025-09-09T06:45:31,862 ...<2 lines>... 2025-09-09T06:45:31,862 spinner=spinner, 2025-09-09T06:45:31,862 ^^^^^^^^^^^^^^^^ 2025-09-09T06:45:31,862 ) 2025-09-09T06:45:31,862 ^ 2025-09-09T06:45:31,862 File "/usr/lib/python3/dist-packages/pip/_internal/utils/subprocess.py", line 209, in call_subprocess 2025-09-09T06:45:31,862 raise error 2025-09-09T06:45:31,862 pip._internal.exceptions.InstallationSubprocessError: python setup.py egg_info exited with 1 2025-09-09T06:45:31,862 2025-09-09T06:45:31,862 The above exception was the direct cause of the following exception: 2025-09-09T06:45:31,862 2025-09-09T06:45:31,862 Traceback (most recent call last): 2025-09-09T06:45:31,862 File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 105, in _run_wrapper 2025-09-09T06:45:31,862 status = _inner_run() 2025-09-09T06:45:31,862 File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 96, in _inner_run 2025-09-09T06:45:31,862 return self.run(options, args) 2025-09-09T06:45:31,862 ~~~~~~~~^^^^^^^^^^^^^^^ 2025-09-09T06:45:31,862 File "/usr/lib/python3/dist-packages/pip/_internal/cli/req_command.py", line 68, in wrapper 2025-09-09T06:45:31,862 return func(self, options, args) 2025-09-09T06:45:31,862 File "/usr/lib/python3/dist-packages/pip/_internal/commands/wheel.py", line 147, in run 2025-09-09T06:45:31,862 requirement_set = resolver.resolve(reqs, check_supported_wheels=True) 2025-09-09T06:45:31,862 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/resolver.py", line 96, in resolve 2025-09-09T06:45:31,862 result = self._result = resolver.resolve( 2025-09-09T06:45:31,862 ~~~~~~~~~~~~~~~~^ 2025-09-09T06:45:31,862 collected.requirements, max_rounds=limit_how_complex_resolution_can_be 2025-09-09T06:45:31,862 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-09T06:45:31,862 ) 2025-09-09T06:45:31,862 ^ 2025-09-09T06:45:31,862 File "/usr/lib/python3/dist-packages/pip/_vendor/resolvelib/resolvers/resolution.py", line 515, in resolve 2025-09-09T06:45:31,862 state = resolution.resolve(requirements, max_rounds=max_rounds) 2025-09-09T06:45:31,862 File "/usr/lib/python3/dist-packages/pip/_vendor/resolvelib/resolvers/resolution.py", line 388, in resolve 2025-09-09T06:45:31,862 self._add_to_criteria(self.state.criteria, r, parent=None) 2025-09-09T06:45:31,862 ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-09T06:45:31,862 File "/usr/lib/python3/dist-packages/pip/_vendor/resolvelib/resolvers/resolution.py", line 141, in _add_to_criteria 2025-09-09T06:45:31,862 if not criterion.candidates: 2025-09-09T06:45:31,862 ^^^^^^^^^^^^^^^^^^^^ 2025-09-09T06:45:31,862 File "/usr/lib/python3/dist-packages/pip/_vendor/resolvelib/structs.py", line 194, in __bool__ 2025-09-09T06:45:31,862 return bool(self._sequence) 2025-09-09T06:45:31,862 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 163, in __bool__ 2025-09-09T06:45:31,862 self._bool = any(self) 2025-09-09T06:45:31,862 ~~~^^^^^^ 2025-09-09T06:45:31,862 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 147, in 2025-09-09T06:45:31,862 return (c for c in iterator if id(c) not in self._incompatible_ids) 2025-09-09T06:45:31,862 ^^^^^^^^ 2025-09-09T06:45:31,862 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 37, in _iter_built 2025-09-09T06:45:31,862 candidate = func() 2025-09-09T06:45:31,862 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/factory.py", line 187, in _make_candidate_from_link 2025-09-09T06:45:31,862 base: Optional[BaseCandidate] = self._make_base_candidate_from_link( 2025-09-09T06:45:31,862 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 2025-09-09T06:45:31,862 link, template, name, version 2025-09-09T06:45:31,862 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-09T06:45:31,862 ) 2025-09-09T06:45:31,862 ^ 2025-09-09T06:45:31,862 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/factory.py", line 233, in _make_base_candidate_from_link 2025-09-09T06:45:31,862 self._link_candidate_cache[link] = LinkCandidate( 2025-09-09T06:45:31,862 ~~~~~~~~~~~~~^ 2025-09-09T06:45:31,862 link, 2025-09-09T06:45:31,862 ^^^^^ 2025-09-09T06:45:31,862 ...<3 lines>... 2025-09-09T06:45:31,862 version=version, 2025-09-09T06:45:31,862 ^^^^^^^^^^^^^^^^ 2025-09-09T06:45:31,862 ) 2025-09-09T06:45:31,862 ^ 2025-09-09T06:45:31,862 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 306, in __init__ 2025-09-09T06:45:31,862 super().__init__( 2025-09-09T06:45:31,862 ~~~~~~~~~~~~~~~~^ 2025-09-09T06:45:31,862 link=link, 2025-09-09T06:45:31,862 ^^^^^^^^^^ 2025-09-09T06:45:31,862 ...<4 lines>... 2025-09-09T06:45:31,862 version=version, 2025-09-09T06:45:31,862 ^^^^^^^^^^^^^^^^ 2025-09-09T06:45:31,862 ) 2025-09-09T06:45:31,862 ^ 2025-09-09T06:45:31,862 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 159, in __init__ 2025-09-09T06:45:31,862 self.dist = self._prepare() 2025-09-09T06:45:31,862 ~~~~~~~~~~~~~^^ 2025-09-09T06:45:31,862 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 236, in _prepare 2025-09-09T06:45:31,862 dist = self._prepare_distribution() 2025-09-09T06:45:31,862 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 317, in _prepare_distribution 2025-09-09T06:45:31,862 return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True) 2025-09-09T06:45:31,862 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-09T06:45:31,862 File "/usr/lib/python3/dist-packages/pip/_internal/operations/prepare.py", line 532, in prepare_linked_requirement 2025-09-09T06:45:31,862 return self._prepare_linked_requirement(req, parallel_builds) 2025-09-09T06:45:31,862 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^ 2025-09-09T06:45:31,862 File "/usr/lib/python3/dist-packages/pip/_internal/operations/prepare.py", line 647, in _prepare_linked_requirement 2025-09-09T06:45:31,862 dist = _get_prepared_distribution( 2025-09-09T06:45:31,862 req, 2025-09-09T06:45:31,862 ...<3 lines>... 2025-09-09T06:45:31,862 self.check_build_deps, 2025-09-09T06:45:31,862 ) 2025-09-09T06:45:31,862 File "/usr/lib/python3/dist-packages/pip/_internal/operations/prepare.py", line 71, in _get_prepared_distribution 2025-09-09T06:45:31,862 abstract_dist.prepare_distribution_metadata( 2025-09-09T06:45:31,862 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 2025-09-09T06:45:31,862 finder, build_isolation, check_build_deps 2025-09-09T06:45:31,862 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-09T06:45:31,862 ) 2025-09-09T06:45:31,862 ^ 2025-09-09T06:45:31,862 File "/usr/lib/python3/dist-packages/pip/_internal/distributions/sdist.py", line 69, in prepare_distribution_metadata 2025-09-09T06:45:31,862 self.req.prepare_metadata() 2025-09-09T06:45:31,862 ~~~~~~~~~~~~~~~~~~~~~~~~~^^ 2025-09-09T06:45:31,862 File "/usr/lib/python3/dist-packages/pip/_internal/req/req_install.py", line 581, in prepare_metadata 2025-09-09T06:45:31,862 self.metadata_directory = generate_metadata_legacy( 2025-09-09T06:45:31,862 ~~~~~~~~~~~~~~~~~~~~~~~~^ 2025-09-09T06:45:31,862 build_env=self.build_env, 2025-09-09T06:45:31,862 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-09T06:45:31,862 ...<3 lines>... 2025-09-09T06:45:31,862 details=details, 2025-09-09T06:45:31,862 ^^^^^^^^^^^^^^^^ 2025-09-09T06:45:31,862 ) 2025-09-09T06:45:31,862 ^ 2025-09-09T06:45:31,862 File "/usr/lib/python3/dist-packages/pip/_internal/operations/build/metadata_legacy.py", line 70, in generate_metadata 2025-09-09T06:45:31,862 raise MetadataGenerationFailed(package_details=details) from error 2025-09-09T06:45:31,862 pip._internal.exceptions.MetadataGenerationFailed: metadata generation failed 2025-09-09T06:45:31,886 Removed django-rest-magic==0.1.1 from https://files.pythonhosted.org/packages/ce/e6/f0fd16100218001e09803ac3248fa19fb207a2db2afced8122d7ada2b65c/django-rest-magic-0.1.1.tar.gz from build tracker '/tmp/pip-build-tracker-idfx1cy5' 2025-09-09T06:45:31,886 Removed build tracker: '/tmp/pip-build-tracker-idfx1cy5'