Skip to content
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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

freakboy3742
Copy link
Contributor

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.

@freakboy3742
Copy link
Contributor Author

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.

Copy link
Member

@uranusjr uranusjr left a 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)
Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for PEP 730 iOS packaging tags
2 participants