2023-09-09T22:37:22,064 Created temporary directory: /tmp/pip-build-tracker-lkazbclt 2023-09-09T22:37:22,066 Initialized build tracking at /tmp/pip-build-tracker-lkazbclt 2023-09-09T22:37:22,066 Created build tracker: /tmp/pip-build-tracker-lkazbclt 2023-09-09T22:37:22,067 Entered build tracker: /tmp/pip-build-tracker-lkazbclt 2023-09-09T22:37:22,067 Created temporary directory: /tmp/pip-wheel-jsd0du6k 2023-09-09T22:37:22,070 Created temporary directory: /tmp/pip-ephem-wheel-cache-rc2w2nye 2023-09-09T22:37:22,092 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-09-09T22:37:22,096 2 location(s) to search for versions of kfits: 2023-09-09T22:37:22,096 * https://pypi.org/simple/kfits/ 2023-09-09T22:37:22,096 * https://www.piwheels.org/simple/kfits/ 2023-09-09T22:37:22,097 Fetching project page and analyzing links: https://pypi.org/simple/kfits/ 2023-09-09T22:37:22,098 Getting page https://pypi.org/simple/kfits/ 2023-09-09T22:37:22,099 Found index url https://pypi.org/simple/ 2023-09-09T22:37:22,241 Fetched page https://pypi.org/simple/kfits/ as application/vnd.pypi.simple.v1+json 2023-09-09T22:37:22,244 Found link https://files.pythonhosted.org/packages/54/92/5fd4750eb2ba4873632da8f737b58dd56dbe965b465e47021fecabbab25d/kfits-1.0.tar.gz (from https://pypi.org/simple/kfits/), version: 1.0 2023-09-09T22:37:22,244 Found link https://files.pythonhosted.org/packages/33/dd/f40b1ec010e2a07a7019bb745d0986d10afd12aa1c268df7451694a39b83/kfits-1.1.tar.gz (from https://pypi.org/simple/kfits/), version: 1.1 2023-09-09T22:37:22,245 Found link https://files.pythonhosted.org/packages/a6/fd/4c166b5c7c22a817fa2fa0e7c5b6784824ef3bd8de878cf36774977340ed/kfits-1.2.tar.gz (from https://pypi.org/simple/kfits/), version: 1.2 2023-09-09T22:37:22,246 Found link https://files.pythonhosted.org/packages/1f/c1/d11f38c897a4075581d8a3e2e3ca197d1ee4d84a8d89872b0946af3ddebb/kfits-1.2.1.tar.gz (from https://pypi.org/simple/kfits/), version: 1.2.1 2023-09-09T22:37:22,246 Found link https://files.pythonhosted.org/packages/12/a2/0327dbe189150483f1dc493eb0fe02e4cc24d464073d4068c1f037a6ac8a/kfits-1.2.2.tar.gz (from https://pypi.org/simple/kfits/), version: 1.2.2 2023-09-09T22:37:22,247 Found link https://files.pythonhosted.org/packages/21/8a/54ddbf38b9cd30d23d2e4e14c41d51e38176aa8f0dc524b3524b627c0de7/kfits-1.2.3.tar.gz (from https://pypi.org/simple/kfits/), version: 1.2.3 2023-09-09T22:37:22,248 Found link https://files.pythonhosted.org/packages/2b/43/6d16347cc8a60f9474e6667ca7ff09045e1d98200f0539042115d73d0b4a/kfits-1.2.4.tar.gz (from https://pypi.org/simple/kfits/), version: 1.2.4 2023-09-09T22:37:22,249 Fetching project page and analyzing links: https://www.piwheels.org/simple/kfits/ 2023-09-09T22:37:22,250 Getting page https://www.piwheels.org/simple/kfits/ 2023-09-09T22:37:22,251 Found index url https://www.piwheels.org/simple/ 2023-09-09T22:37:22,518 Fetched page https://www.piwheels.org/simple/kfits/ as text/html 2023-09-09T22:37:22,520 Skipping link: not a file: https://www.piwheels.org/simple/kfits/ 2023-09-09T22:37:22,520 Skipping link: not a file: https://pypi.org/simple/kfits/ 2023-09-09T22:37:22,540 Given no hashes to check 1 links for project 'kfits': discarding no candidates 2023-09-09T22:37:22,558 Collecting kfits==1.2 2023-09-09T22:37:22,561 Created temporary directory: /tmp/pip-unpack-6bhr9y2_ 2023-09-09T22:37:23,292 Downloading kfits-1.2.tar.gz (1.7 MB) 2023-09-09T22:37:23,993 Added kfits==1.2 from https://files.pythonhosted.org/packages/a6/fd/4c166b5c7c22a817fa2fa0e7c5b6784824ef3bd8de878cf36774977340ed/kfits-1.2.tar.gz to build tracker '/tmp/pip-build-tracker-lkazbclt' 2023-09-09T22:37:23,994 Running setup.py (path:/tmp/pip-wheel-jsd0du6k/kfits_d68584bab9d94fd4a47bead7e6eae9c1/setup.py) egg_info for package kfits 2023-09-09T22:37:23,995 Created temporary directory: /tmp/pip-pip-egg-info-qxq_436l 2023-09-09T22:37:23,996 Preparing metadata (setup.py): started 2023-09-09T22:37:23,997 Running command python setup.py egg_info 2023-09-09T22:37:24,402 Traceback (most recent call last): 2023-09-09T22:37:24,402 File "", line 2, in 2023-09-09T22:37:24,403 File "", line 34, in 2023-09-09T22:37:24,404 File "/tmp/pip-wheel-jsd0du6k/kfits_d68584bab9d94fd4a47bead7e6eae9c1/setup.py", line 12, in 2023-09-09T22:37:24,405 long_description = file('README.md','r').read(), 2023-09-09T22:37:24,406 ^^^^ 2023-09-09T22:37:24,406 NameError: name 'file' is not defined. Did you mean: 'filter'? 2023-09-09T22:37:24,476 ERROR: [present-rich] python setup.py egg_info exited with 1 2023-09-09T22:37:24,488 [bold magenta]full command[/]: [blue]/usr/bin/python3 -c ' 2023-09-09T22:37:24,488 exec(compile('"'"''"'"''"'"' 2023-09-09T22:37:24,488 # This is -- a caller that pip uses to run setup.py 2023-09-09T22:37:24,488 # 2023-09-09T22:37:24,488 # - It imports setuptools before invoking setup.py, to enable projects that directly 2023-09-09T22:37:24,488 # import from `distutils.core` to work with newer packaging standards. 2023-09-09T22:37:24,488 # - It provides a clear error message when setuptools is not installed. 2023-09-09T22:37:24,488 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2023-09-09T22:37:24,488 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2023-09-09T22:37:24,488 # manifest_maker: standard file '"'"'-c'"'"' not found". 2023-09-09T22:37:24,488 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2023-09-09T22:37:24,488 import os, sys, tokenize 2023-09-09T22:37:24,488 2023-09-09T22:37:24,488 try: 2023-09-09T22:37:24,488 import setuptools 2023-09-09T22:37:24,488 except ImportError as error: 2023-09-09T22:37:24,488 print( 2023-09-09T22:37:24,488 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2023-09-09T22:37:24,488 "the build environment.", 2023-09-09T22:37:24,488 file=sys.stderr, 2023-09-09T22:37:24,488 ) 2023-09-09T22:37:24,488 sys.exit(1) 2023-09-09T22:37:24,488 2023-09-09T22:37:24,488 __file__ = %r 2023-09-09T22:37:24,488 sys.argv[0] = __file__ 2023-09-09T22:37:24,488 2023-09-09T22:37:24,488 if os.path.exists(__file__): 2023-09-09T22:37:24,488 filename = __file__ 2023-09-09T22:37:24,488 with tokenize.open(__file__) as f: 2023-09-09T22:37:24,488 setup_py_code = f.read() 2023-09-09T22:37:24,488 else: 2023-09-09T22:37:24,488 filename = "" 2023-09-09T22:37:24,488 setup_py_code = "from setuptools import setup; setup()" 2023-09-09T22:37:24,488 2023-09-09T22:37:24,488 exec(compile(setup_py_code, filename, "exec")) 2023-09-09T22:37:24,488 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-jsd0du6k/kfits_d68584bab9d94fd4a47bead7e6eae9c1/setup.py'"'"',), "", "exec"))' egg_info --egg-base /tmp/pip-pip-egg-info-qxq_436l[/] 2023-09-09T22:37:24,489 [bold magenta]cwd[/]: /tmp/pip-wheel-jsd0du6k/kfits_d68584bab9d94fd4a47bead7e6eae9c1/ 2023-09-09T22:37:24,489 Preparing metadata (setup.py): finished with status 'error' 2023-09-09T22:37:24,491 ERROR: [present-rich] metadata generation failed 2023-09-09T22:37:24,496 Exception information: 2023-09-09T22:37:24,496 Traceback (most recent call last): 2023-09-09T22:37:24,496 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/build/metadata_legacy.py", line 64, in generate_metadata 2023-09-09T22:37:24,496 call_subprocess( 2023-09-09T22:37:24,496 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/utils/subprocess.py", line 224, in call_subprocess 2023-09-09T22:37:24,496 raise error 2023-09-09T22:37:24,496 pip._internal.exceptions.InstallationSubprocessError: python setup.py egg_info exited with 1 2023-09-09T22:37:24,496 2023-09-09T22:37:24,496 The above exception was the direct cause of the following exception: 2023-09-09T22:37:24,496 2023-09-09T22:37:24,496 Traceback (most recent call last): 2023-09-09T22:37:24,496 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2023-09-09T22:37:24,496 status = run_func(*args) 2023-09-09T22:37:24,496 ^^^^^^^^^^^^^^^ 2023-09-09T22:37:24,496 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 248, in wrapper 2023-09-09T22:37:24,496 return func(self, options, args) 2023-09-09T22:37:24,496 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-09T22:37:24,496 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 147, in run 2023-09-09T22:37:24,496 requirement_set = resolver.resolve(reqs, check_supported_wheels=True) 2023-09-09T22:37:24,496 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-09T22:37:24,496 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/resolver.py", line 92, in resolve 2023-09-09T22:37:24,496 result = self._result = resolver.resolve( 2023-09-09T22:37:24,496 ^^^^^^^^^^^^^^^^^ 2023-09-09T22:37:24,496 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 546, in resolve 2023-09-09T22:37:24,496 state = resolution.resolve(requirements, max_rounds=max_rounds) 2023-09-09T22:37:24,496 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-09T22:37:24,496 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 397, in resolve 2023-09-09T22:37:24,496 self._add_to_criteria(self.state.criteria, r, parent=None) 2023-09-09T22:37:24,496 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 173, in _add_to_criteria 2023-09-09T22:37:24,496 if not criterion.candidates: 2023-09-09T22:37:24,496 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/resolvelib/structs.py", line 156, in __bool__ 2023-09-09T22:37:24,496 return bool(self._sequence) 2023-09-09T22:37:24,496 ^^^^^^^^^^^^^^^^^^^^ 2023-09-09T22:37:24,496 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 155, in __bool__ 2023-09-09T22:37:24,496 return any(self) 2023-09-09T22:37:24,496 ^^^^^^^^^ 2023-09-09T22:37:24,496 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 143, in 2023-09-09T22:37:24,496 return (c for c in iterator if id(c) not in self._incompatible_ids) 2023-09-09T22:37:24,496 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-09T22:37:24,496 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 47, in _iter_built 2023-09-09T22:37:24,496 candidate = func() 2023-09-09T22:37:24,496 ^^^^^^ 2023-09-09T22:37:24,496 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/factory.py", line 206, in _make_candidate_from_link 2023-09-09T22:37:24,496 self._link_candidate_cache[link] = LinkCandidate( 2023-09-09T22:37:24,496 ^^^^^^^^^^^^^^ 2023-09-09T22:37:24,496 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 293, in __init__ 2023-09-09T22:37:24,496 super().__init__( 2023-09-09T22:37:24,496 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 156, in __init__ 2023-09-09T22:37:24,496 self.dist = self._prepare() 2023-09-09T22:37:24,496 ^^^^^^^^^^^^^^^ 2023-09-09T22:37:24,496 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 225, in _prepare 2023-09-09T22:37:24,496 dist = self._prepare_distribution() 2023-09-09T22:37:24,496 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-09T22:37:24,496 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 304, in _prepare_distribution 2023-09-09T22:37:24,496 return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True) 2023-09-09T22:37:24,496 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-09T22:37:24,496 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/prepare.py", line 538, in prepare_linked_requirement 2023-09-09T22:37:24,496 return self._prepare_linked_requirement(req, parallel_builds) 2023-09-09T22:37:24,496 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-09T22:37:24,496 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/prepare.py", line 653, in _prepare_linked_requirement 2023-09-09T22:37:24,496 dist = _get_prepared_distribution( 2023-09-09T22:37:24,496 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-09T22:37:24,496 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/prepare.py", line 69, in _get_prepared_distribution 2023-09-09T22:37:24,496 abstract_dist.prepare_distribution_metadata( 2023-09-09T22:37:24,496 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/distributions/sdist.py", line 61, in prepare_distribution_metadata 2023-09-09T22:37:24,496 self.req.prepare_metadata() 2023-09-09T22:37:24,496 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/req/req_install.py", line 568, in prepare_metadata 2023-09-09T22:37:24,496 self.metadata_directory = generate_metadata_legacy( 2023-09-09T22:37:24,496 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-09T22:37:24,496 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/build/metadata_legacy.py", line 71, in generate_metadata 2023-09-09T22:37:24,496 raise MetadataGenerationFailed(package_details=details) from error 2023-09-09T22:37:24,496 pip._internal.exceptions.MetadataGenerationFailed: metadata generation failed 2023-09-09T22:37:24,509 Removed kfits==1.2 from https://files.pythonhosted.org/packages/a6/fd/4c166b5c7c22a817fa2fa0e7c5b6784824ef3bd8de878cf36774977340ed/kfits-1.2.tar.gz from build tracker '/tmp/pip-build-tracker-lkazbclt' 2023-09-09T22:37:24,510 Removed build tracker: '/tmp/pip-build-tracker-lkazbclt'