Skip to content

Conversation

@konstin
Copy link
Member

@konstin konstin commented Nov 11, 2025

iOS support exist nominally (#15640), but Python discovery currently fails.

@konstin konstin added the enhancement New feature or improvement to existing functionality label Nov 11, 2025
@konstin konstin temporarily deployed to uv-test-registries November 11, 2025 12:01 — with GitHub Actions Inactive
@henryiii
Copy link
Contributor

henryiii commented Nov 11, 2025

Using CPython 3.13.9 interpreter at: /Library/Frameworks/Python.framework/Versions/3.13/bin/python3.13
Creating virtual environment at: /private/var/folders/6c/pzd640_546q6_yfn24r65c_40000gn/T/cibw-run-y837m8qq/cp313-ios_arm64_iphoneos/build/venv
Activate with: source /private/var/folders/6c/pzd640_546q6_yfn24r65c_40000gn/T/cibw-run-y837m8qq/cp313-ios_arm64_iphoneos/build/venv/bin/activate
error: Failed to inspect Python interpreter from active virtual environment at `/private/var/folders/6c/pzd640_546q6_yfn24r65c_40000gn/T/cibw-run-y837m8qq/cp313-ios_arm64_iphoneos/build/venv/bin/python3`
  Caused by: Querying Python at `/private/var/folders/6c/pzd640_546q6_yfn24r65c_40000gn/T/cibw-run-y837m8qq/cp313-ios_arm64_iphoneos/build/venv/bin/python3` failed with exit status exit status: 1
[stderr]
Traceback (most recent call last):
  File "<string>", line 1, in <module>
    import sys; sys.path = ["/Users/runner/.cache/uv/.tmpjHV1nh"] + sys.path; from python.get_interpreter_info import main; main()
                                                                                                                            ~~~~^^
  File "/Users/runner/.cache/uv/.tmpjHV1nh/python/get_interpreter_info.py", line 581, in main
    os_and_arch = get_operating_system_and_architecture()
  File "/Users/runner/.cache/uv/.tmpjHV1nh/python/get_interpreter_info.py", line 516, in get_operating_system_and_architecture
    version = platform.ios_ver().version.split(".")
              ^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'IOSVersionInfo' object has no attribute 'version'

(From pypa/cibuildwheel#2586)

See https://github.com/python/cpython/blob/d890aba748e5213585f9f906888999227dc3fa9c/Lib/platform.py#L517-L521

@konstin
Copy link
Member Author

konstin commented Nov 11, 2025

Could you try again with the fix?

@konstin konstin temporarily deployed to uv-test-registries November 11, 2025 17:06 — with GitHub Actions Inactive
Comment on lines 661 to 668
"pointer_size": "64" if sys.maxsize > 2**32 else "32",
"pointer_size": "64" if sys.maxsize > 2 ** 32 else "32",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like a formatter version mismatch

@konstin konstin temporarily deployed to uv-test-registries November 11, 2025 19:07 — with GitHub Actions Inactive
@henryiii
Copy link
Contributor

Makes it past this part, I think!

----------------------------- Captured stderr call -----------------------------
Using CPython 3.13.9 interpreter at: /Library/Frameworks/Python.framework/Versions/3.13/bin/python3.13
Creating virtual environment at: /private/var/folders/6c/pzd640_546q6_yfn24r65c_40000gn/T/cibw-run-t2e7gdvz/cp313-ios_arm64_iphoneos/build/venv
Activate with: source /private/var/folders/6c/pzd640_546q6_yfn24r65c_40000gn/T/cibw-run-t2e7gdvz/cp313-ios_arm64_iphoneos/build/venv/bin/activate
error: Failed to inspect Python interpreter from active virtual environment at `/private/var/folders/6c/pzd640_546q6_yfn24r65c_40000gn/T/cibw-run-t2e7gdvz/cp313-ios_arm64_iphoneos/build/venv/bin/python3`
  Caused by: Querying Python at `/private/var/folders/6c/pzd640_546q6_yfn24r65c_40000gn/T/cibw-run-t2e7gdvz/cp313-ios_arm64_iphoneos/build/venv/bin/python3` returned an invalid response: missing field `simulator`

[stdout]
{"result": "success", "markers": {"implementation_name": "cpython", "implementation_version": "3.13.9", "os_name": "posix", "platform_machine": "arm64", "platform_python_implementation": "CPython", "platform_release": "13.0", "platform_system": "iOS", "platform_version": "", "python_full_version": "3.13.9", "python_version": "3.13", "sys_platform": "ios"}, "sys_base_prefix": "/Users/runner/Library/Caches/cibuildwheel/Python-3.13-iOS-support.b12/Python.xcframework/ios-arm64", "sys_base_exec_prefix": "/Users/runner/Library/Caches/cibuildwheel/Python-3.13-iOS-support.b12/Python.xcframework/ios-arm64", "sys_prefix": "/private/var/folders/6c/pzd640_546q6_yfn24r65c_40000gn/T/cibw-run-t2e7gdvz/cp313-ios_arm64_iphoneos/build/venv", "sys_base_executable": "/Library/Frameworks/Python.framework/Versions/3.13/bin/python3.13", "sys_executable": "/private/var/folders/6c/pzd640_546q6_yfn24r65c_40000gn/T/cibw-run-t2e7gdvz/cp313-ios_arm64_iphoneos/build/venv/bin/python3", "sys_path": ["/Library/Frameworks/Python.framework/Versions/3.13/lib/python313.zip", "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13", "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/lib-dynload", "/private/var/folders/6c/pzd640_546q6_yfn24r65c_40000gn/T/cibw-run-t2e7gdvz/cp313-ios_arm64_iphoneos/build/venv/lib/python3.13/site-packages"], "site_packages": ["/private/var/folders/6c/pzd640_546q6_yfn24r65c_40000gn/T/cibw-run-t2e7gdvz/cp313-ios_arm64_iphoneos/build/venv/lib/python3.13/site-packages"], "stdlib": "/Users/runner/Library/Caches/cibuildwheel/Python-3.13-iOS-support.b12/Python.xcframework/ios-arm64/lib/python3.13", "standalone": false, "scheme": {"platlib": "/private/var/folders/6c/pzd640_546q6_yfn24r65c_40000gn/T/cibw-run-t2e7gdvz/cp313-ios_arm64_iphoneos/build/venv/lib/python3.13/site-packages", "purelib": "/private/var/folders/6c/pzd640_546q6_yfn24r65c_40000gn/T/cibw-run-t2e7gdvz/cp313-ios_arm64_iphoneos/build/venv/lib/python3.13/site-packages", "include": "/private/var/folders/6c/pzd640_546q6_yfn24r65c_40000gn/T/cibw-run-t2e7gdvz/cp313-ios_arm64_iphoneos/build/venv/include/site/python3.13", "scripts": "/private/var/folders/6c/pzd640_546q6_yfn24r65c_40000gn/T/cibw-run-t2e7gdvz/cp313-ios_arm64_iphoneos/build/venv/bin", "data": "/private/var/folders/6c/pzd640_546q6_yfn24r65c_40000gn/T/cibw-run-t2e7gdvz/cp313-ios_arm64_iphoneos/build/venv"}, "virtualenv": {"purelib": "lib/python3.13/site-packages", "platlib": "lib/python3.13/site-packages", "include": "include/site/python3.13", "scripts": "bin", "data": ""}, "platform": {"os": {"name": "ios", "major": 13, "minor": 0}, "arch": "iphoneos"}, "manylinux_compatible": false, "gil_disabled": false, "debug_enabled": false, "pointer_size": "64"}

@konstin konstin enabled auto-merge (squash) November 12, 2025 10:52
@konstin konstin temporarily deployed to uv-test-registries November 12, 2025 10:54 — with GitHub Actions Inactive
@konstin konstin merged commit e36bf63 into main Nov 12, 2025
99 checks passed
@konstin konstin deleted the konsti/ios-support branch November 12, 2025 11:03
tmeijn pushed a commit to tmeijn/dotfiles that referenced this pull request Nov 14, 2025
This MR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [astral-sh/uv](https://github.com/astral-sh/uv) | patch | `0.9.8` -> `0.9.9` |

MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot).

**Proposed changes to behavior should be submitted there as MRs.**

---

### Release Notes

<details>
<summary>astral-sh/uv (astral-sh/uv)</summary>

### [`v0.9.9`](https://github.com/astral-sh/uv/blob/HEAD/CHANGELOG.md#099)

[Compare Source](astral-sh/uv@0.9.8...0.9.9)

Released on 2025-11-12.

##### Deprecations

- Deprecate use of `--project` in `uv init` ([#&#8203;16674](astral-sh/uv#16674))

##### Enhancements

- Add iOS support to Python interpreter discovery ([#&#8203;16686](astral-sh/uv#16686))
- Reject ambiguously parsed URLs ([#&#8203;16622](astral-sh/uv#16622))
- Allow explicit values in `uv version --bump` ([#&#8203;16555](astral-sh/uv#16555))
- Warn on use of managed pre-release Python versions when a stable version is available ([#&#8203;16619](astral-sh/uv#16619))
- Allow signing trampolines on Windows by using `.rcdata` to store metadata ([#&#8203;15068](astral-sh/uv#15068))
- Add `--only-emit-workspace` and similar variants to `uv export` ([#&#8203;16681](astral-sh/uv#16681))

##### Preview features

- Add `uv workspace dir` command ([#&#8203;16678](astral-sh/uv#16678))
- Add `uv workspace metadata` command ([#&#8203;16516](astral-sh/uv#16516))

##### Configuration

- Add `UV_NO_DEFAULT_GROUPS` environment variable ([#&#8203;16645](astral-sh/uv#16645))

##### Bug fixes

- Remove `torch-model-archiver` and `torch-tb-profiler` from PyTorch backend ([#&#8203;16655](astral-sh/uv#16655))
- Fix Pixi environment detection ([#&#8203;16585](astral-sh/uv#16585))

##### Documentation

- Fix `CMD` path in FastAPI Dockerfile ([#&#8203;16701](astral-sh/uv#16701))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this MR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box

---

This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNzMuMSIsInVwZGF0ZWRJblZlciI6IjQxLjE3My4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJSZW5vdmF0ZSBCb3QiXX0=-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or improvement to existing functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants