Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
gh-120522: Add a--with-app-store-compliance configure option to patch out problematic code#120984
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
+238 −2
Merged
Changes fromall commits
Commits
Show all changes
14 commits Select commitHold shift + click to select a range
e30787f Add --app-store-compliance configuration option.
freakboy3742ae53183 Added blurb.
freakboy3742eee0c93 Correct tab-vs-spaces formatting issue.
freakboy3742eeb976f Correct source file name in docs.
freakboy374226cd9ae Correct source code reference in Mac docs
freakboy37422d5a0a7 Only apply the patch forward, and ensure the working directory is cor…
freakboy374212cb469 Make patching reslient to multiple builds.
freakboy3742eb48987 Merge branch 'main' into app-store-patch
freakboy374256f7487 Documentation fixes found during review
freakboy3742cb22667 Merge branch 'main' into app-store-patch
freakboy3742a7a1275 Documentation and configure.ac syntax improvements
freakboy3742702466c Regenerate configure script.
freakboy374287a8e72 Silence the patch echo output.
freakboy3742955dd67 Merge branch 'main' into app-store-patch
freakboy3742File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
10 changes: 9 additions & 1 deletionDoc/library/urllib.parse.rst
This file contains hidden or 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 hidden or 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 |
|---|---|---|
| @@ -945,6 +945,17 @@ See :source:`Mac/README.rst`. | ||
| Specify the name for the python framework on macOS only valid when | ||
| :option:`--enable-framework` is set (default: ``Python``). | ||
| .. option:: --with-app-store-compliance | ||
| .. option:: --with-app-store-compliance=PATCH-FILE | ||
| The Python standard library contains strings that are known to trigger | ||
| automated inspection tool errors when submitted for distribution by | ||
| the macOS and iOS App Stores. If enabled, this option will apply the list of | ||
| patches that are known to correct app store compliance. A custom patch | ||
| file can also be specified. This option is disabled by default. | ||
| .. versionadded:: 3.13 | ||
erlend-aasland marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
| iOS Options | ||
| ----------- | ||
This file contains hidden or 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
22 changes: 22 additions & 0 deletionsDoc/using/mac.rst
This file contains hidden or 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 hidden or 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 hidden or 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 deletionsMisc/NEWS.d/next/Build/2024-06-25-15-29-27.gh-issue-120522.5_n515.rst
This file contains hidden or 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 abouthow customized files appear on GitHub.
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.