2025-09-07T21:12:24,849 Created temporary directory: /tmp/pip-build-tracker-5mxxrxv7 2025-09-07T21:12:24,849 Initialized build tracking at /tmp/pip-build-tracker-5mxxrxv7 2025-09-07T21:12:24,850 Created build tracker: /tmp/pip-build-tracker-5mxxrxv7 2025-09-07T21:12:24,850 Entered build tracker: /tmp/pip-build-tracker-5mxxrxv7 2025-09-07T21:12:24,850 Created temporary directory: /tmp/pip-wheel-ja8a9e0n 2025-09-07T21:12:24,853 Created temporary directory: /tmp/pip-ephem-wheel-cache-_l9umoqd 2025-09-07T21:12:24,909 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2025-09-07T21:12:24,911 2 location(s) to search for versions of django-rules: 2025-09-07T21:12:24,911 * https://pypi.org/simple/django-rules/ 2025-09-07T21:12:24,911 * https://www.piwheels.org/simple/django-rules/ 2025-09-07T21:12:24,912 Fetching project page and analyzing links: https://pypi.org/simple/django-rules/ 2025-09-07T21:12:24,912 Getting page https://pypi.org/simple/django-rules/ 2025-09-07T21:12:24,913 Found index url https://pypi.org/simple/ 2025-09-07T21:12:25,058 Fetched page https://pypi.org/simple/django-rules/ as application/vnd.pypi.simple.v1+json 2025-09-07T21:12:25,060 Found link https://files.pythonhosted.org/packages/fe/91/0e4015f36365766fa294077ebcae2888885dc3df9c06b27de6e30826ac0f/django-rules-0.1.tar.gz (from https://pypi.org/simple/django-rules/), version: 0.1 2025-09-07T21:12:25,061 Found link https://files.pythonhosted.org/packages/78/f3/0a77aafe3dfdff29ec67ae445ab7fd9184eeeba6e34fe50488bbd5afac8c/django-rules-0.2.tar.gz (from https://pypi.org/simple/django-rules/), version: 0.2 2025-09-07T21:12:25,062 Fetching project page and analyzing links: https://www.piwheels.org/simple/django-rules/ 2025-09-07T21:12:25,062 Getting page https://www.piwheels.org/simple/django-rules/ 2025-09-07T21:12:25,064 Found index url https://www.piwheels.org/simple/ 2025-09-07T21:12:25,168 Fetched page https://www.piwheels.org/simple/django-rules/ as text/html 2025-09-07T21:12:25,169 Skipping link: No binaries permitted for django-rules: https://archive1.piwheels.org/simple/django-rules/django_rules-0.1-py3-none-any.whl#sha256=1363514b1f906822ed955e43639540317cefedfca0f0f6f1cfe960bed0e77890 (from https://www.piwheels.org/simple/django-rules/) 2025-09-07T21:12:25,169 Skipping link: not a file: https://www.piwheels.org/simple/django-rules/ 2025-09-07T21:12:25,170 Skipping link: not a file: https://pypi.org/simple/django-rules/ 2025-09-07T21:12:25,194 Given no hashes to check 1 links for project 'django-rules': discarding no candidates 2025-09-07T21:12:25,195 Collecting django-rules==0.2 2025-09-07T21:12:25,197 Created temporary directory: /tmp/pip-unpack-e6u19w5j 2025-09-07T21:12:25,364 Downloading django-rules-0.2.tar.gz (25 kB) 2025-09-07T21:12:25,401 Added django-rules==0.2 from https://files.pythonhosted.org/packages/78/f3/0a77aafe3dfdff29ec67ae445ab7fd9184eeeba6e34fe50488bbd5afac8c/django-rules-0.2.tar.gz to build tracker '/tmp/pip-build-tracker-5mxxrxv7' 2025-09-07T21:12:25,402 Running setup.py (path:/tmp/pip-wheel-ja8a9e0n/django-rules_45efc9deff274ab48c6c3cbb23cb290a/setup.py) egg_info for package django-rules 2025-09-07T21:12:25,402 Created temporary directory: /tmp/pip-pip-egg-info-71k70bu5 2025-09-07T21:12:25,402 Preparing metadata (setup.py): started 2025-09-07T21:12:25,403 Running command python setup.py egg_info 2025-09-07T21:12:25,909 Traceback (most recent call last): 2025-09-07T21:12:25,910 File "", line 2, in 2025-09-07T21:12:25,910 exec(compile(''' 2025-09-07T21:12:25,910 ~~~~^^^^^^^^^^^^ 2025-09-07T21:12:25,910 # This is -- a caller that pip uses to run setup.py 2025-09-07T21:12:25,911 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-07T21:12:25,911 ...<32 lines>... 2025-09-07T21:12:25,911 exec(compile(setup_py_code, filename, "exec")) 2025-09-07T21:12:25,911 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-07T21:12:25,911 ''' % ('/tmp/pip-wheel-ja8a9e0n/django-rules_45efc9deff274ab48c6c3cbb23cb290a/setup.py',), "", "exec")) 2025-09-07T21:12:25,911 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-07T21:12:25,911 File "", line 35, in 2025-09-07T21:12:25,911 File "/tmp/pip-wheel-ja8a9e0n/django-rules_45efc9deff274ab48c6c3cbb23cb290a/setup.py", line 6, in 2025-09-07T21:12:25,911 reload(sys).setdefaultencoding("UTF-8") 2025-09-07T21:12:25,912 ^^^^^^ 2025-09-07T21:12:25,912 NameError: name 'reload' is not defined 2025-09-07T21:12:25,995 ERROR: python setup.py egg_info exited with 1 2025-09-07T21:12:26,008 [bold magenta]full command[/]: [blue]/usr/bin/python3 -c ' 2025-09-07T21:12:26,008 exec(compile('"'"''"'"''"'"' 2025-09-07T21:12:26,008 # This is -- a caller that pip uses to run setup.py 2025-09-07T21:12:26,008 # 2025-09-07T21:12:26,008 # - It imports setuptools before invoking setup.py, to enable projects that directly 2025-09-07T21:12:26,008 # import from `distutils.core` to work with newer packaging standards. 2025-09-07T21:12:26,008 # - It provides a clear error message when setuptools is not installed. 2025-09-07T21:12:26,008 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2025-09-07T21:12:26,008 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2025-09-07T21:12:26,008 # manifest_maker: standard file '"'"'-c'"'"' not found". 2025-09-07T21:12:26,008 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2025-09-07T21:12:26,008 import os, sys, tokenize, traceback 2025-09-07T21:12:26,008 2025-09-07T21:12:26,008 try: 2025-09-07T21:12:26,008 import setuptools 2025-09-07T21:12:26,008 except ImportError: 2025-09-07T21:12:26,008 print( 2025-09-07T21:12:26,008 "ERROR: Can not execute `setup.py` since setuptools failed to import in " 2025-09-07T21:12:26,008 "the build environment with exception:", 2025-09-07T21:12:26,008 file=sys.stderr, 2025-09-07T21:12:26,008 ) 2025-09-07T21:12:26,008 traceback.print_exc() 2025-09-07T21:12:26,008 sys.exit(1) 2025-09-07T21:12:26,008 2025-09-07T21:12:26,008 __file__ = %r 2025-09-07T21:12:26,008 sys.argv[0] = __file__ 2025-09-07T21:12:26,008 2025-09-07T21:12:26,008 if os.path.exists(__file__): 2025-09-07T21:12:26,008 filename = __file__ 2025-09-07T21:12:26,008 with tokenize.open(__file__) as f: 2025-09-07T21:12:26,008 setup_py_code = f.read() 2025-09-07T21:12:26,008 else: 2025-09-07T21:12:26,008 filename = "" 2025-09-07T21:12:26,008 setup_py_code = "from setuptools import setup; setup()" 2025-09-07T21:12:26,008 2025-09-07T21:12:26,008 exec(compile(setup_py_code, filename, "exec")) 2025-09-07T21:12:26,008 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-ja8a9e0n/django-rules_45efc9deff274ab48c6c3cbb23cb290a/setup.py'"'"',), "", "exec"))' egg_info --egg-base /tmp/pip-pip-egg-info-71k70bu5[/] 2025-09-07T21:12:26,008 [bold magenta]cwd[/]: /tmp/pip-wheel-ja8a9e0n/django-rules_45efc9deff274ab48c6c3cbb23cb290a/ 2025-09-07T21:12:26,008 Preparing metadata (setup.py): finished with status 'error' 2025-09-07T21:12:26,009 ERROR: metadata generation failed 2025-09-07T21:12:26,015 Exception information: 2025-09-07T21:12:26,015 Traceback (most recent call last): 2025-09-07T21:12:26,015 File "/usr/lib/python3/dist-packages/pip/_internal/operations/build/metadata_legacy.py", line 63, in generate_metadata 2025-09-07T21:12:26,015 call_subprocess( 2025-09-07T21:12:26,015 ~~~~~~~~~~~~~~~^ 2025-09-07T21:12:26,015 args, 2025-09-07T21:12:26,015 ^^^^^ 2025-09-07T21:12:26,015 ...<2 lines>... 2025-09-07T21:12:26,015 spinner=spinner, 2025-09-07T21:12:26,015 ^^^^^^^^^^^^^^^^ 2025-09-07T21:12:26,015 ) 2025-09-07T21:12:26,015 ^ 2025-09-07T21:12:26,015 File "/usr/lib/python3/dist-packages/pip/_internal/utils/subprocess.py", line 209, in call_subprocess 2025-09-07T21:12:26,015 raise error 2025-09-07T21:12:26,015 pip._internal.exceptions.InstallationSubprocessError: python setup.py egg_info exited with 1 2025-09-07T21:12:26,015 2025-09-07T21:12:26,015 The above exception was the direct cause of the following exception: 2025-09-07T21:12:26,015 2025-09-07T21:12:26,015 Traceback (most recent call last): 2025-09-07T21:12:26,015 File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 105, in _run_wrapper 2025-09-07T21:12:26,015 status = _inner_run() 2025-09-07T21:12:26,015 File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 96, in _inner_run 2025-09-07T21:12:26,015 return self.run(options, args) 2025-09-07T21:12:26,015 ~~~~~~~~^^^^^^^^^^^^^^^ 2025-09-07T21:12:26,015 File "/usr/lib/python3/dist-packages/pip/_internal/cli/req_command.py", line 68, in wrapper 2025-09-07T21:12:26,015 return func(self, options, args) 2025-09-07T21:12:26,015 File "/usr/lib/python3/dist-packages/pip/_internal/commands/wheel.py", line 147, in run 2025-09-07T21:12:26,015 requirement_set = resolver.resolve(reqs, check_supported_wheels=True) 2025-09-07T21:12:26,015 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/resolver.py", line 96, in resolve 2025-09-07T21:12:26,015 result = self._result = resolver.resolve( 2025-09-07T21:12:26,015 ~~~~~~~~~~~~~~~~^ 2025-09-07T21:12:26,015 collected.requirements, max_rounds=limit_how_complex_resolution_can_be 2025-09-07T21:12:26,015 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-07T21:12:26,015 ) 2025-09-07T21:12:26,015 ^ 2025-09-07T21:12:26,015 File "/usr/lib/python3/dist-packages/pip/_vendor/resolvelib/resolvers/resolution.py", line 515, in resolve 2025-09-07T21:12:26,015 state = resolution.resolve(requirements, max_rounds=max_rounds) 2025-09-07T21:12:26,015 File "/usr/lib/python3/dist-packages/pip/_vendor/resolvelib/resolvers/resolution.py", line 388, in resolve 2025-09-07T21:12:26,015 self._add_to_criteria(self.state.criteria, r, parent=None) 2025-09-07T21:12:26,015 ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-07T21:12:26,015 File "/usr/lib/python3/dist-packages/pip/_vendor/resolvelib/resolvers/resolution.py", line 141, in _add_to_criteria 2025-09-07T21:12:26,015 if not criterion.candidates: 2025-09-07T21:12:26,015 ^^^^^^^^^^^^^^^^^^^^ 2025-09-07T21:12:26,015 File "/usr/lib/python3/dist-packages/pip/_vendor/resolvelib/structs.py", line 194, in __bool__ 2025-09-07T21:12:26,015 return bool(self._sequence) 2025-09-07T21:12:26,015 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 163, in __bool__ 2025-09-07T21:12:26,015 self._bool = any(self) 2025-09-07T21:12:26,015 ~~~^^^^^^ 2025-09-07T21:12:26,015 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 147, in 2025-09-07T21:12:26,015 return (c for c in iterator if id(c) not in self._incompatible_ids) 2025-09-07T21:12:26,015 ^^^^^^^^ 2025-09-07T21:12:26,015 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 37, in _iter_built 2025-09-07T21:12:26,015 candidate = func() 2025-09-07T21:12:26,015 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/factory.py", line 187, in _make_candidate_from_link 2025-09-07T21:12:26,015 base: Optional[BaseCandidate] = self._make_base_candidate_from_link( 2025-09-07T21:12:26,015 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 2025-09-07T21:12:26,015 link, template, name, version 2025-09-07T21:12:26,015 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-07T21:12:26,015 ) 2025-09-07T21:12:26,015 ^ 2025-09-07T21:12:26,015 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/factory.py", line 233, in _make_base_candidate_from_link 2025-09-07T21:12:26,015 self._link_candidate_cache[link] = LinkCandidate( 2025-09-07T21:12:26,015 ~~~~~~~~~~~~~^ 2025-09-07T21:12:26,015 link, 2025-09-07T21:12:26,015 ^^^^^ 2025-09-07T21:12:26,015 ...<3 lines>... 2025-09-07T21:12:26,015 version=version, 2025-09-07T21:12:26,015 ^^^^^^^^^^^^^^^^ 2025-09-07T21:12:26,015 ) 2025-09-07T21:12:26,015 ^ 2025-09-07T21:12:26,015 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 306, in __init__ 2025-09-07T21:12:26,015 super().__init__( 2025-09-07T21:12:26,015 ~~~~~~~~~~~~~~~~^ 2025-09-07T21:12:26,015 link=link, 2025-09-07T21:12:26,015 ^^^^^^^^^^ 2025-09-07T21:12:26,015 ...<4 lines>... 2025-09-07T21:12:26,015 version=version, 2025-09-07T21:12:26,015 ^^^^^^^^^^^^^^^^ 2025-09-07T21:12:26,015 ) 2025-09-07T21:12:26,015 ^ 2025-09-07T21:12:26,015 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 159, in __init__ 2025-09-07T21:12:26,015 self.dist = self._prepare() 2025-09-07T21:12:26,015 ~~~~~~~~~~~~~^^ 2025-09-07T21:12:26,015 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 236, in _prepare 2025-09-07T21:12:26,015 dist = self._prepare_distribution() 2025-09-07T21:12:26,015 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 317, in _prepare_distribution 2025-09-07T21:12:26,015 return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True) 2025-09-07T21:12:26,015 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-07T21:12:26,015 File "/usr/lib/python3/dist-packages/pip/_internal/operations/prepare.py", line 532, in prepare_linked_requirement 2025-09-07T21:12:26,015 return self._prepare_linked_requirement(req, parallel_builds) 2025-09-07T21:12:26,015 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^ 2025-09-07T21:12:26,015 File "/usr/lib/python3/dist-packages/pip/_internal/operations/prepare.py", line 647, in _prepare_linked_requirement 2025-09-07T21:12:26,015 dist = _get_prepared_distribution( 2025-09-07T21:12:26,015 req, 2025-09-07T21:12:26,015 ...<3 lines>... 2025-09-07T21:12:26,015 self.check_build_deps, 2025-09-07T21:12:26,015 ) 2025-09-07T21:12:26,015 File "/usr/lib/python3/dist-packages/pip/_internal/operations/prepare.py", line 71, in _get_prepared_distribution 2025-09-07T21:12:26,015 abstract_dist.prepare_distribution_metadata( 2025-09-07T21:12:26,015 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 2025-09-07T21:12:26,015 finder, build_isolation, check_build_deps 2025-09-07T21:12:26,015 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-07T21:12:26,015 ) 2025-09-07T21:12:26,015 ^ 2025-09-07T21:12:26,015 File "/usr/lib/python3/dist-packages/pip/_internal/distributions/sdist.py", line 69, in prepare_distribution_metadata 2025-09-07T21:12:26,015 self.req.prepare_metadata() 2025-09-07T21:12:26,015 ~~~~~~~~~~~~~~~~~~~~~~~~~^^ 2025-09-07T21:12:26,015 File "/usr/lib/python3/dist-packages/pip/_internal/req/req_install.py", line 581, in prepare_metadata 2025-09-07T21:12:26,015 self.metadata_directory = generate_metadata_legacy( 2025-09-07T21:12:26,015 ~~~~~~~~~~~~~~~~~~~~~~~~^ 2025-09-07T21:12:26,015 build_env=self.build_env, 2025-09-07T21:12:26,015 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-07T21:12:26,015 ...<3 lines>... 2025-09-07T21:12:26,015 details=details, 2025-09-07T21:12:26,015 ^^^^^^^^^^^^^^^^ 2025-09-07T21:12:26,015 ) 2025-09-07T21:12:26,015 ^ 2025-09-07T21:12:26,015 File "/usr/lib/python3/dist-packages/pip/_internal/operations/build/metadata_legacy.py", line 70, in generate_metadata 2025-09-07T21:12:26,015 raise MetadataGenerationFailed(package_details=details) from error 2025-09-07T21:12:26,015 pip._internal.exceptions.MetadataGenerationFailed: metadata generation failed 2025-09-07T21:12:26,036 Removed django-rules==0.2 from https://files.pythonhosted.org/packages/78/f3/0a77aafe3dfdff29ec67ae445ab7fd9184eeeba6e34fe50488bbd5afac8c/django-rules-0.2.tar.gz from build tracker '/tmp/pip-build-tracker-5mxxrxv7' 2025-09-07T21:12:26,036 Removed build tracker: '/tmp/pip-build-tracker-5mxxrxv7'