2025-09-09T03:40:08,250 Created temporary directory: /tmp/pip-build-tracker-a45a0a7d 2025-09-09T03:40:08,251 Initialized build tracking at /tmp/pip-build-tracker-a45a0a7d 2025-09-09T03:40:08,251 Created build tracker: /tmp/pip-build-tracker-a45a0a7d 2025-09-09T03:40:08,251 Entered build tracker: /tmp/pip-build-tracker-a45a0a7d 2025-09-09T03:40:08,251 Created temporary directory: /tmp/pip-wheel-eehy0hs_ 2025-09-09T03:40:08,254 Created temporary directory: /tmp/pip-ephem-wheel-cache-dgs8xce7 2025-09-09T03:40:08,313 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2025-09-09T03:40:08,315 2 location(s) to search for versions of gabd-probability: 2025-09-09T03:40:08,315 * https://pypi.org/simple/gabd-probability/ 2025-09-09T03:40:08,315 * https://www.piwheels.org/simple/gabd-probability/ 2025-09-09T03:40:08,315 Fetching project page and analyzing links: https://pypi.org/simple/gabd-probability/ 2025-09-09T03:40:08,316 Getting page https://pypi.org/simple/gabd-probability/ 2025-09-09T03:40:08,317 Found index url https://pypi.org/simple/ 2025-09-09T03:40:08,386 Fetched page https://pypi.org/simple/gabd-probability/ as application/vnd.pypi.simple.v1+json 2025-09-09T03:40:08,387 Found link https://files.pythonhosted.org/packages/37/42/7dcfde2c7fc5f940e5fec04b70a5b22ee7247b25cb2edc991b7d1f251165/gabd_probability-0.1.1.tar.gz (from https://pypi.org/simple/gabd-probability/), version: 0.1.1 2025-09-09T03:40:08,388 Found link https://files.pythonhosted.org/packages/d6/f5/f0bcd5de2192e0cece57bca7e0bcfa444788eac02f64cfac5c8d85fb0d11/gabd_probability-0.1.2.tar.gz (from https://pypi.org/simple/gabd-probability/) (requires-python:>=3.6), version: 0.1.2 2025-09-09T03:40:08,388 Found link https://files.pythonhosted.org/packages/26/57/bd75c0d88171e24f630091ddd2168b8ce870a0a052045941d31c9ebf9acc/gabd_probability-0.1.2.1.tar.gz (from https://pypi.org/simple/gabd-probability/) (requires-python:>=3.6), version: 0.1.2.1 2025-09-09T03:40:08,388 Found link https://files.pythonhosted.org/packages/e4/47/54791dfb957e93aed42783ee1e866cca585a4074e34930896304e984f1b4/gabd_probability-0.1.2.2.tar.gz (from https://pypi.org/simple/gabd-probability/) (requires-python:>=3.6), version: 0.1.2.2 2025-09-09T03:40:08,389 Fetching project page and analyzing links: https://www.piwheels.org/simple/gabd-probability/ 2025-09-09T03:40:08,389 Getting page https://www.piwheels.org/simple/gabd-probability/ 2025-09-09T03:40:08,390 Found index url https://www.piwheels.org/simple/ 2025-09-09T03:40:08,489 Fetched page https://www.piwheels.org/simple/gabd-probability/ as text/html 2025-09-09T03:40:08,490 Skipping link: No binaries permitted for gabd-probability: https://archive1.piwheels.org/simple/gabd-probability/gabd_probability-0.1.1-py3-none-any.whl#sha256=d1486fc672ce265aa10a89c9f00e8d3a9fd4935a0d14d20e07ba13b07272fe4d (from https://www.piwheels.org/simple/gabd-probability/) 2025-09-09T03:40:08,490 Skipping link: not a file: https://www.piwheels.org/simple/gabd-probability/ 2025-09-09T03:40:08,490 Skipping link: not a file: https://pypi.org/simple/gabd-probability/ 2025-09-09T03:40:08,514 Given no hashes to check 1 links for project 'gabd-probability': discarding no candidates 2025-09-09T03:40:08,515 Collecting gabd-probability==0.1.2.1 2025-09-09T03:40:08,517 Created temporary directory: /tmp/pip-unpack-69y7emei 2025-09-09T03:40:08,655 Downloading gabd_probability-0.1.2.1.tar.gz (3.6 kB) 2025-09-09T03:40:08,676 Added gabd-probability==0.1.2.1 from https://files.pythonhosted.org/packages/26/57/bd75c0d88171e24f630091ddd2168b8ce870a0a052045941d31c9ebf9acc/gabd_probability-0.1.2.1.tar.gz to build tracker '/tmp/pip-build-tracker-a45a0a7d' 2025-09-09T03:40:08,677 Running setup.py (path:/tmp/pip-wheel-eehy0hs_/gabd-probability_379f06617efd422697e2b61ef5f6b9b6/setup.py) egg_info for package gabd-probability 2025-09-09T03:40:08,678 Created temporary directory: /tmp/pip-pip-egg-info-ak_ejzkv 2025-09-09T03:40:08,678 Preparing metadata (setup.py): started 2025-09-09T03:40:08,679 Running command python setup.py egg_info 2025-09-09T03:40:09,203 Traceback (most recent call last): 2025-09-09T03:40:09,204 File "", line 2, in 2025-09-09T03:40:09,204 exec(compile(''' 2025-09-09T03:40:09,204 ~~~~^^^^^^^^^^^^ 2025-09-09T03:40:09,205 # This is -- a caller that pip uses to run setup.py 2025-09-09T03:40:09,205 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-09T03:40:09,205 ...<32 lines>... 2025-09-09T03:40:09,205 exec(compile(setup_py_code, filename, "exec")) 2025-09-09T03:40:09,205 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-09T03:40:09,205 ''' % ('/tmp/pip-wheel-eehy0hs_/gabd-probability_379f06617efd422697e2b61ef5f6b9b6/setup.py',), "", "exec")) 2025-09-09T03:40:09,205 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-09T03:40:09,205 File "", line 35, in 2025-09-09T03:40:09,205 File "/tmp/pip-wheel-eehy0hs_/gabd-probability_379f06617efd422697e2b61ef5f6b9b6/setup.py", line 3, in 2025-09-09T03:40:09,206 with open("/home/workspace/5_exercise_upload_to_pypi/gabd_probability/README.md", "r") as fh: 2025-09-09T03:40:09,206 ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-09T03:40:09,206 FileNotFoundError: [Errno 2] No such file or directory: '/home/workspace/5_exercise_upload_to_pypi/gabd_probability/README.md' 2025-09-09T03:40:09,289 ERROR: python setup.py egg_info exited with 1 2025-09-09T03:40:09,301 [bold magenta]full command[/]: [blue]/usr/bin/python3 -c ' 2025-09-09T03:40:09,301 exec(compile('"'"''"'"''"'"' 2025-09-09T03:40:09,301 # This is -- a caller that pip uses to run setup.py 2025-09-09T03:40:09,301 # 2025-09-09T03:40:09,301 # - It imports setuptools before invoking setup.py, to enable projects that directly 2025-09-09T03:40:09,301 # import from `distutils.core` to work with newer packaging standards. 2025-09-09T03:40:09,301 # - It provides a clear error message when setuptools is not installed. 2025-09-09T03:40:09,301 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2025-09-09T03:40:09,301 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2025-09-09T03:40:09,301 # manifest_maker: standard file '"'"'-c'"'"' not found". 2025-09-09T03:40:09,301 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2025-09-09T03:40:09,301 import os, sys, tokenize, traceback 2025-09-09T03:40:09,301 2025-09-09T03:40:09,301 try: 2025-09-09T03:40:09,301 import setuptools 2025-09-09T03:40:09,301 except ImportError: 2025-09-09T03:40:09,301 print( 2025-09-09T03:40:09,301 "ERROR: Can not execute `setup.py` since setuptools failed to import in " 2025-09-09T03:40:09,301 "the build environment with exception:", 2025-09-09T03:40:09,301 file=sys.stderr, 2025-09-09T03:40:09,301 ) 2025-09-09T03:40:09,301 traceback.print_exc() 2025-09-09T03:40:09,301 sys.exit(1) 2025-09-09T03:40:09,301 2025-09-09T03:40:09,301 __file__ = %r 2025-09-09T03:40:09,301 sys.argv[0] = __file__ 2025-09-09T03:40:09,301 2025-09-09T03:40:09,301 if os.path.exists(__file__): 2025-09-09T03:40:09,301 filename = __file__ 2025-09-09T03:40:09,301 with tokenize.open(__file__) as f: 2025-09-09T03:40:09,301 setup_py_code = f.read() 2025-09-09T03:40:09,301 else: 2025-09-09T03:40:09,301 filename = "" 2025-09-09T03:40:09,301 setup_py_code = "from setuptools import setup; setup()" 2025-09-09T03:40:09,301 2025-09-09T03:40:09,301 exec(compile(setup_py_code, filename, "exec")) 2025-09-09T03:40:09,301 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-eehy0hs_/gabd-probability_379f06617efd422697e2b61ef5f6b9b6/setup.py'"'"',), "", "exec"))' egg_info --egg-base /tmp/pip-pip-egg-info-ak_ejzkv[/] 2025-09-09T03:40:09,301 [bold magenta]cwd[/]: /tmp/pip-wheel-eehy0hs_/gabd-probability_379f06617efd422697e2b61ef5f6b9b6/ 2025-09-09T03:40:09,301 Preparing metadata (setup.py): finished with status 'error' 2025-09-09T03:40:09,302 ERROR: metadata generation failed 2025-09-09T03:40:09,307 Exception information: 2025-09-09T03:40:09,307 Traceback (most recent call last): 2025-09-09T03:40:09,307 File "/usr/lib/python3/dist-packages/pip/_internal/operations/build/metadata_legacy.py", line 63, in generate_metadata 2025-09-09T03:40:09,307 call_subprocess( 2025-09-09T03:40:09,307 ~~~~~~~~~~~~~~~^ 2025-09-09T03:40:09,307 args, 2025-09-09T03:40:09,307 ^^^^^ 2025-09-09T03:40:09,307 ...<2 lines>... 2025-09-09T03:40:09,307 spinner=spinner, 2025-09-09T03:40:09,307 ^^^^^^^^^^^^^^^^ 2025-09-09T03:40:09,307 ) 2025-09-09T03:40:09,307 ^ 2025-09-09T03:40:09,307 File "/usr/lib/python3/dist-packages/pip/_internal/utils/subprocess.py", line 209, in call_subprocess 2025-09-09T03:40:09,307 raise error 2025-09-09T03:40:09,307 pip._internal.exceptions.InstallationSubprocessError: python setup.py egg_info exited with 1 2025-09-09T03:40:09,307 2025-09-09T03:40:09,307 The above exception was the direct cause of the following exception: 2025-09-09T03:40:09,307 2025-09-09T03:40:09,307 Traceback (most recent call last): 2025-09-09T03:40:09,307 File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 105, in _run_wrapper 2025-09-09T03:40:09,307 status = _inner_run() 2025-09-09T03:40:09,307 File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 96, in _inner_run 2025-09-09T03:40:09,307 return self.run(options, args) 2025-09-09T03:40:09,307 ~~~~~~~~^^^^^^^^^^^^^^^ 2025-09-09T03:40:09,307 File "/usr/lib/python3/dist-packages/pip/_internal/cli/req_command.py", line 68, in wrapper 2025-09-09T03:40:09,307 return func(self, options, args) 2025-09-09T03:40:09,307 File "/usr/lib/python3/dist-packages/pip/_internal/commands/wheel.py", line 147, in run 2025-09-09T03:40:09,307 requirement_set = resolver.resolve(reqs, check_supported_wheels=True) 2025-09-09T03:40:09,307 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/resolver.py", line 96, in resolve 2025-09-09T03:40:09,307 result = self._result = resolver.resolve( 2025-09-09T03:40:09,307 ~~~~~~~~~~~~~~~~^ 2025-09-09T03:40:09,307 collected.requirements, max_rounds=limit_how_complex_resolution_can_be 2025-09-09T03:40:09,307 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-09T03:40:09,307 ) 2025-09-09T03:40:09,307 ^ 2025-09-09T03:40:09,307 File "/usr/lib/python3/dist-packages/pip/_vendor/resolvelib/resolvers/resolution.py", line 515, in resolve 2025-09-09T03:40:09,307 state = resolution.resolve(requirements, max_rounds=max_rounds) 2025-09-09T03:40:09,307 File "/usr/lib/python3/dist-packages/pip/_vendor/resolvelib/resolvers/resolution.py", line 388, in resolve 2025-09-09T03:40:09,307 self._add_to_criteria(self.state.criteria, r, parent=None) 2025-09-09T03:40:09,307 ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-09T03:40:09,307 File "/usr/lib/python3/dist-packages/pip/_vendor/resolvelib/resolvers/resolution.py", line 141, in _add_to_criteria 2025-09-09T03:40:09,307 if not criterion.candidates: 2025-09-09T03:40:09,307 ^^^^^^^^^^^^^^^^^^^^ 2025-09-09T03:40:09,307 File "/usr/lib/python3/dist-packages/pip/_vendor/resolvelib/structs.py", line 194, in __bool__ 2025-09-09T03:40:09,307 return bool(self._sequence) 2025-09-09T03:40:09,307 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 163, in __bool__ 2025-09-09T03:40:09,307 self._bool = any(self) 2025-09-09T03:40:09,307 ~~~^^^^^^ 2025-09-09T03:40:09,307 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 147, in 2025-09-09T03:40:09,307 return (c for c in iterator if id(c) not in self._incompatible_ids) 2025-09-09T03:40:09,307 ^^^^^^^^ 2025-09-09T03:40:09,307 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 37, in _iter_built 2025-09-09T03:40:09,307 candidate = func() 2025-09-09T03:40:09,307 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/factory.py", line 187, in _make_candidate_from_link 2025-09-09T03:40:09,307 base: Optional[BaseCandidate] = self._make_base_candidate_from_link( 2025-09-09T03:40:09,307 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 2025-09-09T03:40:09,307 link, template, name, version 2025-09-09T03:40:09,307 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-09T03:40:09,307 ) 2025-09-09T03:40:09,307 ^ 2025-09-09T03:40:09,307 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/factory.py", line 233, in _make_base_candidate_from_link 2025-09-09T03:40:09,307 self._link_candidate_cache[link] = LinkCandidate( 2025-09-09T03:40:09,307 ~~~~~~~~~~~~~^ 2025-09-09T03:40:09,307 link, 2025-09-09T03:40:09,307 ^^^^^ 2025-09-09T03:40:09,307 ...<3 lines>... 2025-09-09T03:40:09,307 version=version, 2025-09-09T03:40:09,307 ^^^^^^^^^^^^^^^^ 2025-09-09T03:40:09,307 ) 2025-09-09T03:40:09,307 ^ 2025-09-09T03:40:09,307 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 306, in __init__ 2025-09-09T03:40:09,307 super().__init__( 2025-09-09T03:40:09,307 ~~~~~~~~~~~~~~~~^ 2025-09-09T03:40:09,307 link=link, 2025-09-09T03:40:09,307 ^^^^^^^^^^ 2025-09-09T03:40:09,307 ...<4 lines>... 2025-09-09T03:40:09,307 version=version, 2025-09-09T03:40:09,307 ^^^^^^^^^^^^^^^^ 2025-09-09T03:40:09,307 ) 2025-09-09T03:40:09,307 ^ 2025-09-09T03:40:09,307 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 159, in __init__ 2025-09-09T03:40:09,307 self.dist = self._prepare() 2025-09-09T03:40:09,307 ~~~~~~~~~~~~~^^ 2025-09-09T03:40:09,307 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 236, in _prepare 2025-09-09T03:40:09,307 dist = self._prepare_distribution() 2025-09-09T03:40:09,307 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 317, in _prepare_distribution 2025-09-09T03:40:09,307 return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True) 2025-09-09T03:40:09,307 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-09T03:40:09,307 File "/usr/lib/python3/dist-packages/pip/_internal/operations/prepare.py", line 532, in prepare_linked_requirement 2025-09-09T03:40:09,307 return self._prepare_linked_requirement(req, parallel_builds) 2025-09-09T03:40:09,307 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^ 2025-09-09T03:40:09,307 File "/usr/lib/python3/dist-packages/pip/_internal/operations/prepare.py", line 647, in _prepare_linked_requirement 2025-09-09T03:40:09,307 dist = _get_prepared_distribution( 2025-09-09T03:40:09,307 req, 2025-09-09T03:40:09,307 ...<3 lines>... 2025-09-09T03:40:09,307 self.check_build_deps, 2025-09-09T03:40:09,307 ) 2025-09-09T03:40:09,307 File "/usr/lib/python3/dist-packages/pip/_internal/operations/prepare.py", line 71, in _get_prepared_distribution 2025-09-09T03:40:09,307 abstract_dist.prepare_distribution_metadata( 2025-09-09T03:40:09,307 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 2025-09-09T03:40:09,307 finder, build_isolation, check_build_deps 2025-09-09T03:40:09,307 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-09T03:40:09,307 ) 2025-09-09T03:40:09,307 ^ 2025-09-09T03:40:09,307 File "/usr/lib/python3/dist-packages/pip/_internal/distributions/sdist.py", line 69, in prepare_distribution_metadata 2025-09-09T03:40:09,307 self.req.prepare_metadata() 2025-09-09T03:40:09,307 ~~~~~~~~~~~~~~~~~~~~~~~~~^^ 2025-09-09T03:40:09,307 File "/usr/lib/python3/dist-packages/pip/_internal/req/req_install.py", line 581, in prepare_metadata 2025-09-09T03:40:09,307 self.metadata_directory = generate_metadata_legacy( 2025-09-09T03:40:09,307 ~~~~~~~~~~~~~~~~~~~~~~~~^ 2025-09-09T03:40:09,307 build_env=self.build_env, 2025-09-09T03:40:09,307 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-09T03:40:09,307 ...<3 lines>... 2025-09-09T03:40:09,307 details=details, 2025-09-09T03:40:09,307 ^^^^^^^^^^^^^^^^ 2025-09-09T03:40:09,307 ) 2025-09-09T03:40:09,307 ^ 2025-09-09T03:40:09,307 File "/usr/lib/python3/dist-packages/pip/_internal/operations/build/metadata_legacy.py", line 70, in generate_metadata 2025-09-09T03:40:09,307 raise MetadataGenerationFailed(package_details=details) from error 2025-09-09T03:40:09,307 pip._internal.exceptions.MetadataGenerationFailed: metadata generation failed 2025-09-09T03:40:09,332 Removed gabd-probability==0.1.2.1 from https://files.pythonhosted.org/packages/26/57/bd75c0d88171e24f630091ddd2168b8ce870a0a052045941d31c9ebf9acc/gabd_probability-0.1.2.1.tar.gz from build tracker '/tmp/pip-build-tracker-a45a0a7d' 2025-09-09T03:40:09,332 Removed build tracker: '/tmp/pip-build-tracker-a45a0a7d'