2024-01-21T11:37:28,717 Created temporary directory: /tmp/pip-build-tracker-_a013azm 2024-01-21T11:37:28,718 Initialized build tracking at /tmp/pip-build-tracker-_a013azm 2024-01-21T11:37:28,719 Created build tracker: /tmp/pip-build-tracker-_a013azm 2024-01-21T11:37:28,719 Entered build tracker: /tmp/pip-build-tracker-_a013azm 2024-01-21T11:37:28,720 Created temporary directory: /tmp/pip-wheel-xldn_i6t 2024-01-21T11:37:28,723 Created temporary directory: /tmp/pip-ephem-wheel-cache-s7qccysb 2024-01-21T11:37:28,747 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2024-01-21T11:37:28,751 2 location(s) to search for versions of mlx-llm-server: 2024-01-21T11:37:28,751 * https://pypi.org/simple/mlx-llm-server/ 2024-01-21T11:37:28,751 * https://www.piwheels.org/simple/mlx-llm-server/ 2024-01-21T11:37:28,752 Fetching project page and analyzing links: https://pypi.org/simple/mlx-llm-server/ 2024-01-21T11:37:28,752 Getting page https://pypi.org/simple/mlx-llm-server/ 2024-01-21T11:37:28,754 Found index url https://pypi.org/simple/ 2024-01-21T11:37:28,970 Fetched page https://pypi.org/simple/mlx-llm-server/ as application/vnd.pypi.simple.v1+json 2024-01-21T11:37:28,972 Found link https://files.pythonhosted.org/packages/36/e9/4eac73cd0b7f34b16d3a4e971a6eada2ed29f7fe3fe2cb18214719d527f1/mlx-llm-server-0.1.2.tar.gz (from https://pypi.org/simple/mlx-llm-server/) (requires-python:>=3.10), version: 0.1.2 2024-01-21T11:37:28,972 Skipping link: No binaries permitted for mlx-llm-server: https://files.pythonhosted.org/packages/fd/0b/ee296cb4df572236fc714bd897c51f2c03986d6992da9702156be3168ef3/mlx_llm_server-0.1.2-py3-none-any.whl (from https://pypi.org/simple/mlx-llm-server/) (requires-python:>=3.10) 2024-01-21T11:37:28,973 Fetching project page and analyzing links: https://www.piwheels.org/simple/mlx-llm-server/ 2024-01-21T11:37:28,974 Getting page https://www.piwheels.org/simple/mlx-llm-server/ 2024-01-21T11:37:28,975 Found index url https://www.piwheels.org/simple/ 2024-01-21T11:37:29,124 Fetched page https://www.piwheels.org/simple/mlx-llm-server/ as text/html 2024-01-21T11:37:29,125 Skipping link: not a file: https://www.piwheels.org/simple/mlx-llm-server/ 2024-01-21T11:37:29,126 Skipping link: not a file: https://pypi.org/simple/mlx-llm-server/ 2024-01-21T11:37:29,145 Given no hashes to check 1 links for project 'mlx-llm-server': discarding no candidates 2024-01-21T11:37:29,164 Collecting mlx-llm-server==0.1.2 2024-01-21T11:37:29,167 Created temporary directory: /tmp/pip-unpack-zyczqzot 2024-01-21T11:37:29,376 Downloading mlx-llm-server-0.1.2.tar.gz (5.3 kB) 2024-01-21T11:37:29,408 Added mlx-llm-server==0.1.2 from https://files.pythonhosted.org/packages/36/e9/4eac73cd0b7f34b16d3a4e971a6eada2ed29f7fe3fe2cb18214719d527f1/mlx-llm-server-0.1.2.tar.gz to build tracker '/tmp/pip-build-tracker-_a013azm' 2024-01-21T11:37:29,410 Running setup.py (path:/tmp/pip-wheel-xldn_i6t/mlx-llm-server_3cc23238a22d428287db6531501e267d/setup.py) egg_info for package mlx-llm-server 2024-01-21T11:37:29,411 Created temporary directory: /tmp/pip-pip-egg-info-69zddo_6 2024-01-21T11:37:29,411 Preparing metadata (setup.py): started 2024-01-21T11:37:29,413 Running command python setup.py egg_info 2024-01-21T11:37:29,888 /tmp/pip-wheel-xldn_i6t/mlx-llm-server_3cc23238a22d428287db6531501e267d/setup.py:2: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html 2024-01-21T11:37:29,889 import pkg_resources 2024-01-21T11:37:30,056 Traceback (most recent call last): 2024-01-21T11:37:30,057 File "", line 2, in 2024-01-21T11:37:30,058 File "", line 34, in 2024-01-21T11:37:30,059 File "/tmp/pip-wheel-xldn_i6t/mlx-llm-server_3cc23238a22d428287db6531501e267d/setup.py", line 9, in 2024-01-21T11:37:30,060 with open(this_directory / "requirements.txt") as fid: 2024-01-21T11:37:30,061 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-01-21T11:37:30,062 FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-wheel-xldn_i6t/mlx-llm-server_3cc23238a22d428287db6531501e267d/requirements.txt' 2024-01-21T11:37:30,139 ERROR: python setup.py egg_info exited with 1 2024-01-21T11:37:30,152 [bold magenta]full command[/]: [blue]/usr/bin/python3 -c ' 2024-01-21T11:37:30,152 exec(compile('"'"''"'"''"'"' 2024-01-21T11:37:30,152 # This is -- a caller that pip uses to run setup.py 2024-01-21T11:37:30,152 # 2024-01-21T11:37:30,152 # - It imports setuptools before invoking setup.py, to enable projects that directly 2024-01-21T11:37:30,152 # import from `distutils.core` to work with newer packaging standards. 2024-01-21T11:37:30,152 # - It provides a clear error message when setuptools is not installed. 2024-01-21T11:37:30,152 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2024-01-21T11:37:30,152 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2024-01-21T11:37:30,152 # manifest_maker: standard file '"'"'-c'"'"' not found". 2024-01-21T11:37:30,152 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2024-01-21T11:37:30,152 import os, sys, tokenize 2024-01-21T11:37:30,152 2024-01-21T11:37:30,152 try: 2024-01-21T11:37:30,152 import setuptools 2024-01-21T11:37:30,152 except ImportError as error: 2024-01-21T11:37:30,152 print( 2024-01-21T11:37:30,152 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2024-01-21T11:37:30,152 "the build environment.", 2024-01-21T11:37:30,152 file=sys.stderr, 2024-01-21T11:37:30,152 ) 2024-01-21T11:37:30,152 sys.exit(1) 2024-01-21T11:37:30,152 2024-01-21T11:37:30,152 __file__ = %r 2024-01-21T11:37:30,152 sys.argv[0] = __file__ 2024-01-21T11:37:30,152 2024-01-21T11:37:30,152 if os.path.exists(__file__): 2024-01-21T11:37:30,152 filename = __file__ 2024-01-21T11:37:30,152 with tokenize.open(__file__) as f: 2024-01-21T11:37:30,152 setup_py_code = f.read() 2024-01-21T11:37:30,152 else: 2024-01-21T11:37:30,152 filename = "" 2024-01-21T11:37:30,152 setup_py_code = "from setuptools import setup; setup()" 2024-01-21T11:37:30,152 2024-01-21T11:37:30,152 exec(compile(setup_py_code, filename, "exec")) 2024-01-21T11:37:30,152 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-xldn_i6t/mlx-llm-server_3cc23238a22d428287db6531501e267d/setup.py'"'"',), "", "exec"))' egg_info --egg-base /tmp/pip-pip-egg-info-69zddo_6[/] 2024-01-21T11:37:30,152 [bold magenta]cwd[/]: /tmp/pip-wheel-xldn_i6t/mlx-llm-server_3cc23238a22d428287db6531501e267d/ 2024-01-21T11:37:30,153 Preparing metadata (setup.py): finished with status 'error' 2024-01-21T11:37:30,154 ERROR: metadata generation failed 2024-01-21T11:37:30,160 Exception information: 2024-01-21T11:37:30,160 Traceback (most recent call last): 2024-01-21T11:37:30,160 File "/home/piwheels/.local/lib/python3.11/site-packages/pip/_internal/operations/build/metadata_legacy.py", line 64, in generate_metadata 2024-01-21T11:37:30,160 call_subprocess( 2024-01-21T11:37:30,160 File "/home/piwheels/.local/lib/python3.11/site-packages/pip/_internal/utils/subprocess.py", line 224, in call_subprocess 2024-01-21T11:37:30,160 raise error 2024-01-21T11:37:30,160 pip._internal.exceptions.InstallationSubprocessError: python setup.py egg_info exited with 1 2024-01-21T11:37:30,160 2024-01-21T11:37:30,160 The above exception was the direct cause of the following exception: 2024-01-21T11:37:30,160 2024-01-21T11:37:30,160 Traceback (most recent call last): 2024-01-21T11:37:30,160 File "/home/piwheels/.local/lib/python3.11/site-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2024-01-21T11:37:30,160 status = run_func(*args) 2024-01-21T11:37:30,160 ^^^^^^^^^^^^^^^ 2024-01-21T11:37:30,160 File "/home/piwheels/.local/lib/python3.11/site-packages/pip/_internal/cli/req_command.py", line 245, in wrapper 2024-01-21T11:37:30,160 return func(self, options, args) 2024-01-21T11:37:30,160 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-01-21T11:37:30,160 File "/home/piwheels/.local/lib/python3.11/site-packages/pip/_internal/commands/wheel.py", line 147, in run 2024-01-21T11:37:30,160 requirement_set = resolver.resolve(reqs, check_supported_wheels=True) 2024-01-21T11:37:30,160 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-01-21T11:37:30,160 File "/home/piwheels/.local/lib/python3.11/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 95, in resolve 2024-01-21T11:37:30,160 result = self._result = resolver.resolve( 2024-01-21T11:37:30,160 ^^^^^^^^^^^^^^^^^ 2024-01-21T11:37:30,160 File "/home/piwheels/.local/lib/python3.11/site-packages/pip/_vendor/resolvelib/resolvers.py", line 546, in resolve 2024-01-21T11:37:30,160 state = resolution.resolve(requirements, max_rounds=max_rounds) 2024-01-21T11:37:30,160 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-01-21T11:37:30,160 File "/home/piwheels/.local/lib/python3.11/site-packages/pip/_vendor/resolvelib/resolvers.py", line 397, in resolve 2024-01-21T11:37:30,160 self._add_to_criteria(self.state.criteria, r, parent=None) 2024-01-21T11:37:30,160 File "/home/piwheels/.local/lib/python3.11/site-packages/pip/_vendor/resolvelib/resolvers.py", line 173, in _add_to_criteria 2024-01-21T11:37:30,160 if not criterion.candidates: 2024-01-21T11:37:30,160 File "/home/piwheels/.local/lib/python3.11/site-packages/pip/_vendor/resolvelib/structs.py", line 156, in __bool__ 2024-01-21T11:37:30,160 return bool(self._sequence) 2024-01-21T11:37:30,160 ^^^^^^^^^^^^^^^^^^^^ 2024-01-21T11:37:30,160 File "/home/piwheels/.local/lib/python3.11/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 155, in __bool__ 2024-01-21T11:37:30,160 return any(self) 2024-01-21T11:37:30,160 ^^^^^^^^^ 2024-01-21T11:37:30,160 File "/home/piwheels/.local/lib/python3.11/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 143, in 2024-01-21T11:37:30,160 return (c for c in iterator if id(c) not in self._incompatible_ids) 2024-01-21T11:37:30,160 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-01-21T11:37:30,160 File "/home/piwheels/.local/lib/python3.11/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 47, in _iter_built 2024-01-21T11:37:30,160 candidate = func() 2024-01-21T11:37:30,160 ^^^^^^ 2024-01-21T11:37:30,160 File "/home/piwheels/.local/lib/python3.11/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 211, in _make_candidate_from_link 2024-01-21T11:37:30,160 self._link_candidate_cache[link] = LinkCandidate( 2024-01-21T11:37:30,160 ^^^^^^^^^^^^^^ 2024-01-21T11:37:30,160 File "/home/piwheels/.local/lib/python3.11/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 293, in __init__ 2024-01-21T11:37:30,160 super().__init__( 2024-01-21T11:37:30,160 File "/home/piwheels/.local/lib/python3.11/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 156, in __init__ 2024-01-21T11:37:30,160 self.dist = self._prepare() 2024-01-21T11:37:30,160 ^^^^^^^^^^^^^^^ 2024-01-21T11:37:30,160 File "/home/piwheels/.local/lib/python3.11/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 225, in _prepare 2024-01-21T11:37:30,160 dist = self._prepare_distribution() 2024-01-21T11:37:30,160 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-01-21T11:37:30,160 File "/home/piwheels/.local/lib/python3.11/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 304, in _prepare_distribution 2024-01-21T11:37:30,160 return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True) 2024-01-21T11:37:30,160 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-01-21T11:37:30,160 File "/home/piwheels/.local/lib/python3.11/site-packages/pip/_internal/operations/prepare.py", line 525, in prepare_linked_requirement 2024-01-21T11:37:30,160 return self._prepare_linked_requirement(req, parallel_builds) 2024-01-21T11:37:30,160 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-01-21T11:37:30,160 File "/home/piwheels/.local/lib/python3.11/site-packages/pip/_internal/operations/prepare.py", line 640, in _prepare_linked_requirement 2024-01-21T11:37:30,160 dist = _get_prepared_distribution( 2024-01-21T11:37:30,160 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-01-21T11:37:30,160 File "/home/piwheels/.local/lib/python3.11/site-packages/pip/_internal/operations/prepare.py", line 71, in _get_prepared_distribution 2024-01-21T11:37:30,160 abstract_dist.prepare_distribution_metadata( 2024-01-21T11:37:30,160 File "/home/piwheels/.local/lib/python3.11/site-packages/pip/_internal/distributions/sdist.py", line 67, in prepare_distribution_metadata 2024-01-21T11:37:30,160 self.req.prepare_metadata() 2024-01-21T11:37:30,160 File "/home/piwheels/.local/lib/python3.11/site-packages/pip/_internal/req/req_install.py", line 583, in prepare_metadata 2024-01-21T11:37:30,160 self.metadata_directory = generate_metadata_legacy( 2024-01-21T11:37:30,160 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-01-21T11:37:30,160 File "/home/piwheels/.local/lib/python3.11/site-packages/pip/_internal/operations/build/metadata_legacy.py", line 71, in generate_metadata 2024-01-21T11:37:30,160 raise MetadataGenerationFailed(package_details=details) from error 2024-01-21T11:37:30,160 pip._internal.exceptions.MetadataGenerationFailed: metadata generation failed 2024-01-21T11:37:30,172 Removed mlx-llm-server==0.1.2 from https://files.pythonhosted.org/packages/36/e9/4eac73cd0b7f34b16d3a4e971a6eada2ed29f7fe3fe2cb18214719d527f1/mlx-llm-server-0.1.2.tar.gz from build tracker '/tmp/pip-build-tracker-_a013azm' 2024-01-21T11:37:30,173 Removed build tracker: '/tmp/pip-build-tracker-_a013azm'