-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for PEP 730 iOS packaging #12962
base: main
Are you sure you want to change the base?
Conversation
The vendoring CI check is failing because of the applied patch, which isn't surprising. The developer guide suggests there might be a way to specifically include patches; but if so, it's not clear how to set this up. Alternatively, I guess we have to wait until pypa/packaging#832 (or a variant of it) is merged, then update the vendor file. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The non-vendor parts look good to me. Let’s wait for packaging to respond first; we can react later as needed.
@@ -8,7 +8,7 @@ def test_filenotfound_error_message(script: Any) -> None: | |||
# Test the error message returned when using a bad 'file:' URL. | |||
# make pip to fail and get an error message | |||
# by running "pip install -r file:nonexistent_file" | |||
proc = script.pip("install", "-r", "file:unexistent_file", expect_error=True) | |||
proc = script.pip("install", "-r", "file:///unexistent_file", expect_error=True) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change has been submitted separately as #12964; it's included here to prove CI isn't failing because of this patch.
Adds support for PEP 730 iOS wheels. It will match any iOS wheel with the same multiarch configuration (i.e,
arm64_iphoneos
); it also matches any iOS minor version from iOS 12.0 (the first iOS version known to support all of CPython) to the version requested by the--platform
argument.This includes a patch to the vendored
packaging
library; this patch has been submitted upstream as pypa/packaging#832.Fixes #12961.