2025-11-06T22:10:52,388 Created temporary directory: /tmp/pip-ephem-wheel-cache-1sxcd9by 2025-11-06T22:10:52,390 Created temporary directory: /tmp/pip-build-tracker-7w9xzj3o 2025-11-06T22:10:52,390 Initialized build tracking at /tmp/pip-build-tracker-7w9xzj3o 2025-11-06T22:10:52,391 Created build tracker: /tmp/pip-build-tracker-7w9xzj3o 2025-11-06T22:10:52,391 Entered build tracker: /tmp/pip-build-tracker-7w9xzj3o 2025-11-06T22:10:52,392 Created temporary directory: /tmp/pip-wheel-857bh1iy 2025-11-06T22:10:52,395 DEPRECATION: --no-binary currently disables reading from the cache of locally built wheels. In the future --no-binary will not influence the wheel cache. pip 23.1 will enforce this behaviour change. A possible replacement is to use the --no-cache-dir option. You can use the flag --use-feature=no-binary-enable-wheel-cache to test the upcoming behaviour. Discussion can be found at https://github.com/pypa/pip/issues/11453 2025-11-06T22:10:52,397 Created temporary directory: /tmp/pip-ephem-wheel-cache-aer5vuiz 2025-11-06T22:10:52,418 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2025-11-06T22:10:52,422 2 location(s) to search for versions of apple-foundation-models: 2025-11-06T22:10:52,422 * https://pypi.org/simple/apple-foundation-models/ 2025-11-06T22:10:52,422 * https://www.piwheels.org/simple/apple-foundation-models/ 2025-11-06T22:10:52,423 Fetching project page and analyzing links: https://pypi.org/simple/apple-foundation-models/ 2025-11-06T22:10:52,424 Getting page https://pypi.org/simple/apple-foundation-models/ 2025-11-06T22:10:52,425 Found index url https://pypi.org/simple 2025-11-06T22:10:52,637 Fetched page https://pypi.org/simple/apple-foundation-models/ as application/vnd.pypi.simple.v1+json 2025-11-06T22:10:52,639 Skipping link: No binaries permitted for apple-foundation-models: https://files.pythonhosted.org/packages/e9/dd/566cd3b6e4fc69a99b4ecaec4458ff0da6ec07077582f47e5da760558600/apple_foundation_models-0.1.0-cp311-cp311-macosx_10_9_universal2.whl (from https://pypi.org/simple/apple-foundation-models/) (requires-python:>=3.8) 2025-11-06T22:10:52,640 Found link https://files.pythonhosted.org/packages/21/a3/6ac9f1def0191213edff879129d9382ca6da65ed8266a261ee16584722aa/apple_foundation_models-0.1.0.tar.gz (from https://pypi.org/simple/apple-foundation-models/) (requires-python:>=3.8), version: 0.1.0 2025-11-06T22:10:52,641 Skipping link: No binaries permitted for apple-foundation-models: https://files.pythonhosted.org/packages/4f/75/4898f9e3cbfccb5b92b191d1988ee3549f192b9d39eafd8a9d19c0172a57/apple_foundation_models-0.1.3-cp311-cp311-macosx_10_9_universal2.whl (from https://pypi.org/simple/apple-foundation-models/) (requires-python:>=3.8) 2025-11-06T22:10:52,642 Found link https://files.pythonhosted.org/packages/2e/cf/7f8f8a8090d9b0e9f0bac76a32893d0db80f49fcfc0b74aa072022b92163/apple_foundation_models-0.1.3.tar.gz (from https://pypi.org/simple/apple-foundation-models/) (requires-python:>=3.8), version: 0.1.3 2025-11-06T22:10:52,643 Fetching project page and analyzing links: https://www.piwheels.org/simple/apple-foundation-models/ 2025-11-06T22:10:52,644 Getting page https://www.piwheels.org/simple/apple-foundation-models/ 2025-11-06T22:10:52,645 Found index url https://www.piwheels.org/simple 2025-11-06T22:10:52,800 Fetched page https://www.piwheels.org/simple/apple-foundation-models/ as text/html 2025-11-06T22:10:52,801 Skipping link: not a file: https://www.piwheels.org/simple/apple-foundation-models/ 2025-11-06T22:10:52,802 Skipping link: not a file: https://pypi.org/simple/apple-foundation-models/ 2025-11-06T22:10:52,820 Given no hashes to check 1 links for project 'apple-foundation-models': discarding no candidates 2025-11-06T22:10:52,838 Collecting apple-foundation-models==0.1.0 2025-11-06T22:10:52,841 Created temporary directory: /tmp/pip-unpack-lipz6ctn 2025-11-06T22:10:52,977 Downloading apple_foundation_models-0.1.0.tar.gz (108 kB) 2025-11-06T22:10:53,113 Added apple-foundation-models==0.1.0 from https://files.pythonhosted.org/packages/21/a3/6ac9f1def0191213edff879129d9382ca6da65ed8266a261ee16584722aa/apple_foundation_models-0.1.0.tar.gz to build tracker '/tmp/pip-build-tracker-7w9xzj3o' 2025-11-06T22:10:53,121 Created temporary directory: /tmp/pip-build-env-3rerky44 2025-11-06T22:10:53,125 Installing build dependencies: started 2025-11-06T22:10:53,126 Running command pip subprocess to install build dependencies 2025-11-06T22:10:54,822 Using pip 23.0.1 from /usr/lib/python3/dist-packages/pip (python 3.11) 2025-11-06T22:10:55,425 DEPRECATION: --no-binary currently disables reading from the cache of locally built wheels. In the future --no-binary will not influence the wheel cache. pip 23.1 will enforce this behaviour change. A possible replacement is to use the --no-cache-dir option. You can use the flag --use-feature=no-binary-enable-wheel-cache to test the upcoming behaviour. Discussion can be found at https://github.com/pypa/pip/issues/11453 2025-11-06T22:10:55,448 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2025-11-06T22:10:57,168 Collecting setuptools>=61.0 2025-11-06T22:10:57,264 Using cached https://www.piwheels.org/simple/setuptools/setuptools-80.9.0-py3-none-any.whl (1.2 MB) 2025-11-06T22:10:57,533 Collecting wheel 2025-11-06T22:10:57,548 Using cached https://www.piwheels.org/simple/wheel/wheel-0.45.1-py3-none-any.whl (72 kB) 2025-11-06T22:10:59,464 Collecting Cython>=3.0.0 2025-11-06T22:11:00,412 Using cached https://www.piwheels.org/simple/cython/cython-3.2.0-cp311-cp311-linux_armv7l.whl (11.1 MB) 2025-11-06T22:11:04,040 Installing collected packages: wheel, setuptools, Cython 2025-11-06T22:11:04,282 Creating /tmp/pip-build-env-3rerky44/overlay/local/bin 2025-11-06T22:11:04,285 changing mode of /tmp/pip-build-env-3rerky44/overlay/local/bin/wheel to 755 2025-11-06T22:11:12,667 changing mode of /tmp/pip-build-env-3rerky44/overlay/local/bin/cygdb to 755 2025-11-06T22:11:12,669 changing mode of /tmp/pip-build-env-3rerky44/overlay/local/bin/cython to 755 2025-11-06T22:11:12,671 changing mode of /tmp/pip-build-env-3rerky44/overlay/local/bin/cythonize to 755 2025-11-06T22:11:12,700 Successfully installed Cython-3.2.0 setuptools-80.9.0 wheel-0.45.1 2025-11-06T22:11:13,069 Installing build dependencies: finished with status 'done' 2025-11-06T22:11:13,078 Getting requirements to build wheel: started 2025-11-06T22:11:13,080 Running command Getting requirements to build wheel 2025-11-06T22:11:16,612 Warning: Unsupported architecture armv7l, attempting to use x86_64 2025-11-06T22:11:16,612 Compiling applefoundationmodels/_foundationmodels.pyx because it depends on /tmp/pip-build-env-3rerky44/overlay/local/lib/python3.11/dist-packages/Cython/Includes/libc/string.pxd. 2025-11-06T22:11:16,613 [1/1] Cythonizing applefoundationmodels/_foundationmodels.pyx 2025-11-06T22:11:16,687 /tmp/pip-build-env-3rerky44/overlay/local/lib/python3.11/dist-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated 2025-11-06T22:11:16,688 !! 2025-11-06T22:11:16,690 ******************************************************************************** 2025-11-06T22:11:16,691 Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0). 2025-11-06T22:11:16,692 By 2026-Feb-18, you need to update your project and remove deprecated calls 2025-11-06T22:11:16,692 or your builds will no longer be supported. 2025-11-06T22:11:16,694 See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. 2025-11-06T22:11:16,695 ******************************************************************************** 2025-11-06T22:11:16,696 !! 2025-11-06T22:11:16,696 corresp(dist, value, root_dir) 2025-11-06T22:11:16,765 /tmp/pip-build-env-3rerky44/overlay/local/lib/python3.11/dist-packages/setuptools/config/_apply_pyprojecttoml.py:61: SetuptoolsDeprecationWarning: License classifiers are deprecated. 2025-11-06T22:11:16,766 !! 2025-11-06T22:11:16,767 ******************************************************************************** 2025-11-06T22:11:16,768 Please consider removing the following classifiers in favor of a SPDX license expression: 2025-11-06T22:11:16,769 License :: OSI Approved :: MIT License 2025-11-06T22:11:16,770 See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. 2025-11-06T22:11:16,770 ******************************************************************************** 2025-11-06T22:11:16,771 !! 2025-11-06T22:11:16,772 dist._finalize_license_expression() 2025-11-06T22:11:16,772 /tmp/pip-build-env-3rerky44/overlay/local/lib/python3.11/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. 2025-11-06T22:11:16,773 !! 2025-11-06T22:11:16,774 ******************************************************************************** 2025-11-06T22:11:16,774 Please consider removing the following classifiers in favor of a SPDX license expression: 2025-11-06T22:11:16,775 License :: OSI Approved :: MIT License 2025-11-06T22:11:16,776 See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. 2025-11-06T22:11:16,777 ******************************************************************************** 2025-11-06T22:11:16,778 !! 2025-11-06T22:11:16,778 self._finalize_license_expression() 2025-11-06T22:11:16,779 running egg_info 2025-11-06T22:11:16,787 writing apple_foundation_models.egg-info/PKG-INFO 2025-11-06T22:11:16,793 writing dependency_links to apple_foundation_models.egg-info/dependency_links.txt 2025-11-06T22:11:16,796 writing requirements to apple_foundation_models.egg-info/requires.txt 2025-11-06T22:11:16,797 writing top-level names to apple_foundation_models.egg-info/top_level.txt 2025-11-06T22:11:16,823 reading manifest file 'apple_foundation_models.egg-info/SOURCES.txt' 2025-11-06T22:11:16,827 reading manifest template 'MANIFEST.in' 2025-11-06T22:11:16,830 warning: no files found matching 'lib/*.dylib' 2025-11-06T22:11:16,831 warning: no files found matching 'lib/*.swiftmodule' 2025-11-06T22:11:16,833 warning: no previously-included files matching '*.pyc' found anywhere in distribution 2025-11-06T22:11:16,834 warning: no previously-included files matching '__pycache__' found anywhere in distribution 2025-11-06T22:11:16,835 warning: no previously-included files matching '*.so' found anywhere in distribution 2025-11-06T22:11:16,835 warning: no previously-included files matching '.DS_Store' found anywhere in distribution 2025-11-06T22:11:16,836 warning: no previously-included files matching '*.a' found anywhere in distribution 2025-11-06T22:11:16,837 adding license file 'LICENSE' 2025-11-06T22:11:16,840 writing manifest file 'apple_foundation_models.egg-info/SOURCES.txt' 2025-11-06T22:11:17,172 Getting requirements to build wheel: finished with status 'done' 2025-11-06T22:11:17,176 Created temporary directory: /tmp/pip-modern-metadata-c9epqb9n 2025-11-06T22:11:17,179 Preparing metadata (pyproject.toml): started 2025-11-06T22:11:17,180 Running command Preparing metadata (pyproject.toml) 2025-11-06T22:11:19,511 Warning: Unsupported architecture armv7l, attempting to use x86_64 2025-11-06T22:11:19,610 /tmp/pip-build-env-3rerky44/overlay/local/lib/python3.11/dist-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated 2025-11-06T22:11:19,611 !! 2025-11-06T22:11:19,613 ******************************************************************************** 2025-11-06T22:11:19,614 Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0). 2025-11-06T22:11:19,615 By 2026-Feb-18, you need to update your project and remove deprecated calls 2025-11-06T22:11:19,616 or your builds will no longer be supported. 2025-11-06T22:11:19,618 See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. 2025-11-06T22:11:19,618 ******************************************************************************** 2025-11-06T22:11:19,619 !! 2025-11-06T22:11:19,620 corresp(dist, value, root_dir) 2025-11-06T22:11:19,694 /tmp/pip-build-env-3rerky44/overlay/local/lib/python3.11/dist-packages/setuptools/config/_apply_pyprojecttoml.py:61: SetuptoolsDeprecationWarning: License classifiers are deprecated. 2025-11-06T22:11:19,695 !! 2025-11-06T22:11:19,696 ******************************************************************************** 2025-11-06T22:11:19,697 Please consider removing the following classifiers in favor of a SPDX license expression: 2025-11-06T22:11:19,700 License :: OSI Approved :: MIT License 2025-11-06T22:11:19,701 See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. 2025-11-06T22:11:19,703 ******************************************************************************** 2025-11-06T22:11:19,705 !! 2025-11-06T22:11:19,705 dist._finalize_license_expression() 2025-11-06T22:11:19,707 /tmp/pip-build-env-3rerky44/overlay/local/lib/python3.11/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. 2025-11-06T22:11:19,707 !! 2025-11-06T22:11:19,709 ******************************************************************************** 2025-11-06T22:11:19,709 Please consider removing the following classifiers in favor of a SPDX license expression: 2025-11-06T22:11:19,711 License :: OSI Approved :: MIT License 2025-11-06T22:11:19,712 See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. 2025-11-06T22:11:19,712 ******************************************************************************** 2025-11-06T22:11:19,713 !! 2025-11-06T22:11:19,714 self._finalize_license_expression() 2025-11-06T22:11:19,715 running dist_info 2025-11-06T22:11:19,726 creating /tmp/pip-modern-metadata-c9epqb9n/apple_foundation_models.egg-info 2025-11-06T22:11:19,728 writing /tmp/pip-modern-metadata-c9epqb9n/apple_foundation_models.egg-info/PKG-INFO 2025-11-06T22:11:19,734 writing dependency_links to /tmp/pip-modern-metadata-c9epqb9n/apple_foundation_models.egg-info/dependency_links.txt 2025-11-06T22:11:19,738 writing requirements to /tmp/pip-modern-metadata-c9epqb9n/apple_foundation_models.egg-info/requires.txt 2025-11-06T22:11:19,739 writing top-level names to /tmp/pip-modern-metadata-c9epqb9n/apple_foundation_models.egg-info/top_level.txt 2025-11-06T22:11:19,742 writing manifest file '/tmp/pip-modern-metadata-c9epqb9n/apple_foundation_models.egg-info/SOURCES.txt' 2025-11-06T22:11:19,767 reading manifest file '/tmp/pip-modern-metadata-c9epqb9n/apple_foundation_models.egg-info/SOURCES.txt' 2025-11-06T22:11:19,769 reading manifest template 'MANIFEST.in' 2025-11-06T22:11:19,772 warning: no files found matching 'lib/*.dylib' 2025-11-06T22:11:19,772 warning: no files found matching 'lib/*.swiftmodule' 2025-11-06T22:11:19,774 warning: no previously-included files matching '*.pyc' found anywhere in distribution 2025-11-06T22:11:19,775 warning: no previously-included files matching '__pycache__' found anywhere in distribution 2025-11-06T22:11:19,776 warning: no previously-included files matching '*.so' found anywhere in distribution 2025-11-06T22:11:19,777 warning: no previously-included files matching '.DS_Store' found anywhere in distribution 2025-11-06T22:11:19,777 warning: no previously-included files matching '*.a' found anywhere in distribution 2025-11-06T22:11:19,778 adding license file 'LICENSE' 2025-11-06T22:11:19,781 writing manifest file '/tmp/pip-modern-metadata-c9epqb9n/apple_foundation_models.egg-info/SOURCES.txt' 2025-11-06T22:11:19,782 creating '/tmp/pip-modern-metadata-c9epqb9n/apple_foundation_models-0.1.0.dist-info' 2025-11-06T22:11:20,191 Preparing metadata (pyproject.toml): finished with status 'done' 2025-11-06T22:11:20,196 Source in /tmp/pip-wheel-857bh1iy/apple-foundation-models_0dfe838ec88d4c1abe8bcc9af57b6ba9 has version 0.1.0, which satisfies requirement apple-foundation-models==0.1.0 from https://files.pythonhosted.org/packages/21/a3/6ac9f1def0191213edff879129d9382ca6da65ed8266a261ee16584722aa/apple_foundation_models-0.1.0.tar.gz 2025-11-06T22:11:20,197 Removed apple-foundation-models==0.1.0 from https://files.pythonhosted.org/packages/21/a3/6ac9f1def0191213edff879129d9382ca6da65ed8266a261ee16584722aa/apple_foundation_models-0.1.0.tar.gz from build tracker '/tmp/pip-build-tracker-7w9xzj3o' 2025-11-06T22:11:20,204 Created temporary directory: /tmp/pip-unpack-h_2lec_k 2025-11-06T22:11:20,205 Building wheels for collected packages: apple-foundation-models 2025-11-06T22:11:20,212 Created temporary directory: /tmp/pip-wheel-3rcp7drh 2025-11-06T22:11:20,212 Destination directory: /tmp/pip-wheel-3rcp7drh 2025-11-06T22:11:20,215 Building wheel for apple-foundation-models (pyproject.toml): started 2025-11-06T22:11:20,216 Running command Building wheel for apple-foundation-models (pyproject.toml) 2025-11-06T22:11:21,891 Warning: Unsupported architecture armv7l, attempting to use x86_64 2025-11-06T22:11:21,956 /tmp/pip-build-env-3rerky44/overlay/local/lib/python3.11/dist-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated 2025-11-06T22:11:21,956 !! 2025-11-06T22:11:21,957 ******************************************************************************** 2025-11-06T22:11:21,958 Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0). 2025-11-06T22:11:21,959 By 2026-Feb-18, you need to update your project and remove deprecated calls 2025-11-06T22:11:21,960 or your builds will no longer be supported. 2025-11-06T22:11:21,961 See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. 2025-11-06T22:11:21,962 ******************************************************************************** 2025-11-06T22:11:21,963 !! 2025-11-06T22:11:21,963 corresp(dist, value, root_dir) 2025-11-06T22:11:22,032 /tmp/pip-build-env-3rerky44/overlay/local/lib/python3.11/dist-packages/setuptools/config/_apply_pyprojecttoml.py:61: SetuptoolsDeprecationWarning: License classifiers are deprecated. 2025-11-06T22:11:22,033 !! 2025-11-06T22:11:22,035 ******************************************************************************** 2025-11-06T22:11:22,036 Please consider removing the following classifiers in favor of a SPDX license expression: 2025-11-06T22:11:22,038 License :: OSI Approved :: MIT License 2025-11-06T22:11:22,039 See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. 2025-11-06T22:11:22,039 ******************************************************************************** 2025-11-06T22:11:22,041 !! 2025-11-06T22:11:22,042 dist._finalize_license_expression() 2025-11-06T22:11:22,042 /tmp/pip-build-env-3rerky44/overlay/local/lib/python3.11/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. 2025-11-06T22:11:22,043 !! 2025-11-06T22:11:22,044 ******************************************************************************** 2025-11-06T22:11:22,045 Please consider removing the following classifiers in favor of a SPDX license expression: 2025-11-06T22:11:22,046 License :: OSI Approved :: MIT License 2025-11-06T22:11:22,047 See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. 2025-11-06T22:11:22,047 ******************************************************************************** 2025-11-06T22:11:22,049 !! 2025-11-06T22:11:22,049 self._finalize_license_expression() 2025-11-06T22:11:22,050 running bdist_wheel 2025-11-06T22:11:22,062 running build 2025-11-06T22:11:22,062 running build_py 2025-11-06T22:11:22,070 creating build/lib.linux-armv7l-cpython-311/applefoundationmodels 2025-11-06T22:11:22,072 copying applefoundationmodels/exceptions.py -> build/lib.linux-armv7l-cpython-311/applefoundationmodels 2025-11-06T22:11:22,074 copying applefoundationmodels/client.py -> build/lib.linux-armv7l-cpython-311/applefoundationmodels 2025-11-06T22:11:22,077 copying applefoundationmodels/base.py -> build/lib.linux-armv7l-cpython-311/applefoundationmodels 2025-11-06T22:11:22,079 copying applefoundationmodels/__init__.py -> build/lib.linux-armv7l-cpython-311/applefoundationmodels 2025-11-06T22:11:22,080 copying applefoundationmodels/session.py -> build/lib.linux-armv7l-cpython-311/applefoundationmodels 2025-11-06T22:11:22,083 copying applefoundationmodels/constants.py -> build/lib.linux-armv7l-cpython-311/applefoundationmodels 2025-11-06T22:11:22,084 copying applefoundationmodels/types.py -> build/lib.linux-armv7l-cpython-311/applefoundationmodels 2025-11-06T22:11:22,086 running egg_info 2025-11-06T22:11:22,100 writing apple_foundation_models.egg-info/PKG-INFO 2025-11-06T22:11:22,319 writing dependency_links to apple_foundation_models.egg-info/dependency_links.txt 2025-11-06T22:11:22,321 writing requirements to apple_foundation_models.egg-info/requires.txt 2025-11-06T22:11:22,323 writing top-level names to apple_foundation_models.egg-info/top_level.txt 2025-11-06T22:11:22,335 reading manifest file 'apple_foundation_models.egg-info/SOURCES.txt' 2025-11-06T22:11:22,338 reading manifest template 'MANIFEST.in' 2025-11-06T22:11:22,340 warning: no files found matching 'lib/*.dylib' 2025-11-06T22:11:22,341 warning: no files found matching 'lib/*.swiftmodule' 2025-11-06T22:11:22,344 warning: no previously-included files matching '*.pyc' found anywhere in distribution 2025-11-06T22:11:22,345 warning: no previously-included files matching '__pycache__' found anywhere in distribution 2025-11-06T22:11:22,347 warning: no previously-included files matching '*.so' found anywhere in distribution 2025-11-06T22:11:22,348 warning: no previously-included files matching '.DS_Store' found anywhere in distribution 2025-11-06T22:11:22,349 warning: no previously-included files matching '*.a' found anywhere in distribution 2025-11-06T22:11:22,350 adding license file 'LICENSE' 2025-11-06T22:11:22,354 writing manifest file 'apple_foundation_models.egg-info/SOURCES.txt' 2025-11-06T22:11:22,356 /tmp/pip-build-env-3rerky44/overlay/local/lib/python3.11/dist-packages/setuptools/command/build_py.py:212: _Warning: Package 'applefoundationmodels.swift' is absent from the `packages` configuration. 2025-11-06T22:11:22,357 !! 2025-11-06T22:11:22,358 ******************************************************************************** 2025-11-06T22:11:22,359 ############################ 2025-11-06T22:11:22,361 # Package would be ignored # 2025-11-06T22:11:22,361 ############################ 2025-11-06T22:11:22,362 Python recognizes 'applefoundationmodels.swift' as an importable package[^1], 2025-11-06T22:11:22,362 but it is absent from setuptools' `packages` configuration. 2025-11-06T22:11:22,363 This leads to an ambiguous overall configuration. If you want to distribute this 2025-11-06T22:11:22,364 package, please make sure that 'applefoundationmodels.swift' is explicitly added 2025-11-06T22:11:22,364 to the `packages` configuration field. 2025-11-06T22:11:22,366 Alternatively, you can also rely on setuptools' discovery methods 2025-11-06T22:11:22,366 (for example by using `find_namespace_packages(...)`/`find_namespace:` 2025-11-06T22:11:22,367 instead of `find_packages(...)`/`find:`). 2025-11-06T22:11:22,379 You can read more about "package discovery" on setuptools documentation page: 2025-11-06T22:11:22,380 - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html 2025-11-06T22:11:22,381 If you don't want 'applefoundationmodels.swift' to be distributed and are 2025-11-06T22:11:22,381 already explicitly excluding 'applefoundationmodels.swift' via 2025-11-06T22:11:22,382 `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, 2025-11-06T22:11:22,382 you can try to use `exclude_package_data`, or `include-package-data=False` in 2025-11-06T22:11:22,383 combination with a more fine grained `package-data` configuration. 2025-11-06T22:11:22,384 You can read more about "package data files" on setuptools documentation page: 2025-11-06T22:11:22,385 - https://setuptools.pypa.io/en/latest/userguide/datafiles.html 2025-11-06T22:11:22,386 [^1]: For Python, any directory (with suitable naming) can be imported, 2025-11-06T22:11:22,387 even if it does not contain any `.py` files. 2025-11-06T22:11:22,387 On the other hand, currently there is no concept of package data 2025-11-06T22:11:22,388 directory, all directories are treated like packages. 2025-11-06T22:11:22,388 ******************************************************************************** 2025-11-06T22:11:22,389 !! 2025-11-06T22:11:22,390 check.warn(importable) 2025-11-06T22:11:22,390 copying applefoundationmodels/_foundationmodels.c -> build/lib.linux-armv7l-cpython-311/applefoundationmodels 2025-11-06T22:11:22,391 copying applefoundationmodels/_foundationmodels.pxd -> build/lib.linux-armv7l-cpython-311/applefoundationmodels 2025-11-06T22:11:22,391 copying applefoundationmodels/_foundationmodels.pyx -> build/lib.linux-armv7l-cpython-311/applefoundationmodels 2025-11-06T22:11:22,392 copying applefoundationmodels/py.typed -> build/lib.linux-armv7l-cpython-311/applefoundationmodels 2025-11-06T22:11:22,392 creating build/lib.linux-armv7l-cpython-311/applefoundationmodels/swift 2025-11-06T22:11:22,393 copying applefoundationmodels/swift/foundation_models.h -> build/lib.linux-armv7l-cpython-311/applefoundationmodels/swift 2025-11-06T22:11:22,393 copying applefoundationmodels/swift/foundation_models.swift -> build/lib.linux-armv7l-cpython-311/applefoundationmodels/swift 2025-11-06T22:11:22,394 running build_ext 2025-11-06T22:11:22,396 ====================================================================== 2025-11-06T22:11:22,397 Building Swift FoundationModels dylib... 2025-11-06T22:11:22,398 ====================================================================== 2025-11-06T22:11:22,399 Error: Swift dylib can only be built on macOS 2025-11-06T22:11:22,551 ERROR: [present-rich] Building wheel for apple-foundation-models (pyproject.toml) exited with 1 2025-11-06T22:11:22,564 [bold magenta]full command[/]: [blue]/usr/bin/python3 /usr/lib/python3/dist-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_wheel /tmp/tmpqed_ffg3[/] 2025-11-06T22:11:22,565 [bold magenta]cwd[/]: /tmp/pip-wheel-857bh1iy/apple-foundation-models_0dfe838ec88d4c1abe8bcc9af57b6ba9 2025-11-06T22:11:22,566 Building wheel for apple-foundation-models (pyproject.toml): finished with status 'error' 2025-11-06T22:11:22,568 ERROR: Failed building wheel for apple-foundation-models 2025-11-06T22:11:22,571 Failed to build apple-foundation-models 2025-11-06T22:11:22,572 ERROR: Failed to build one or more wheels 2025-11-06T22:11:22,574 Exception information: 2025-11-06T22:11:22,574 Traceback (most recent call last): 2025-11-06T22:11:22,574 File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 160, in exc_logging_wrapper 2025-11-06T22:11:22,574 status = run_func(*args) 2025-11-06T22:11:22,574 ^^^^^^^^^^^^^^^ 2025-11-06T22:11:22,574 File "/usr/lib/python3/dist-packages/pip/_internal/cli/req_command.py", line 247, in wrapper 2025-11-06T22:11:22,574 return func(self, options, args) 2025-11-06T22:11:22,574 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-11-06T22:11:22,574 File "/usr/lib/python3/dist-packages/pip/_internal/commands/wheel.py", line 201, in run 2025-11-06T22:11:22,574 raise CommandError("Failed to build one or more wheels") 2025-11-06T22:11:22,574 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2025-11-06T22:11:22,577 Removed build tracker: '/tmp/pip-build-tracker-7w9xzj3o'