forked from python/cpython
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pythongh-120522: Apply App Store compliance patch during installation (…
…pythonGH-121947) Adds a --with-app-store-compliance configuration option that patches out code known to be an issue with App Store review processes. This option is applied automatically on iOS, and optionally on macOS. (cherry picked from commit 728432c) Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
- Loading branch information
1 parent
82b8137
commit f6f4e3c
Showing
9 changed files
with
207 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
diff --git a/Lib/test/test_urlparse.py b/Lib/test/test_urlparse.py | ||
index d6c83a75c1c..19ed4e01091 100644 | ||
--- a/Lib/test/test_urlparse.py | ||
+++ b/Lib/test/test_urlparse.py | ||
@@ -237,11 +237,6 @@ def test_roundtrips(self): | ||
'','',''), | ||
('git+ssh', 'git@github.com','/user/project.git', | ||
'', '')), | ||
- ('itms-services://?action=download-manifest&url=https://example.com/app', | ||
- ('itms-services', '', '', '', | ||
- 'action=download-manifest&url=https://example.com/app', ''), | ||
- ('itms-services', '', '', | ||
- 'action=download-manifest&url=https://example.com/app', '')), | ||
('+scheme:path/to/file', | ||
('', '', '+scheme:path/to/file', '', '', ''), | ||
('', '', '+scheme:path/to/file', '', '')), | ||
diff --git a/Lib/urllib/parse.py b/Lib/urllib/parse.py | ||
index 8f724f907d4..148caf742c9 100644 | ||
--- a/Lib/urllib/parse.py | ||
+++ b/Lib/urllib/parse.py | ||
@@ -59,7 +59,7 @@ | ||
'imap', 'wais', 'file', 'mms', 'https', 'shttp', | ||
'snews', 'prospero', 'rtsp', 'rtsps', 'rtspu', 'rsync', | ||
'svn', 'svn+ssh', 'sftp', 'nfs', 'git', 'git+ssh', | ||
- 'ws', 'wss', 'itms-services'] | ||
+ 'ws', 'wss'] | ||
|
||
uses_params = ['', 'ftp', 'hdl', 'prospero', 'http', 'imap', | ||
'https', 'shttp', 'rtsp', 'rtsps', 'rtspu', 'sip', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
Misc/NEWS.d/next/Build/2024-07-18-07-53-07.gh-issue-120522.dg3o5A.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Added a :option:`--with-app-store-compliance` option to patch out known | ||
issues with macOS/iOS App Store review processes. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters