-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 8 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
e30787f
Add --app-store-compliance configuration option.
freakboy3742 ae53183
Added blurb.
freakboy3742 eee0c93
Correct tab-vs-spaces formatting issue.
freakboy3742 eeb976f
Correct source file name in docs.
freakboy3742 26cd9ae
Correct source code reference in Mac docs
freakboy3742 2d5a0a7
Only apply the patch forward, and ensure the working directory is cor…
freakboy3742 12cb469
Make patching reslient to multiple builds.
freakboy3742 eb48987
Merge branch 'main' into app-store-patch
freakboy3742 56f7487
Documentation fixes found during review
freakboy3742 cb22667
Merge branch 'main' into app-store-patch
freakboy3742 a7a1275
Documentation and configure.ac syntax improvements
freakboy3742 702466c
Regenerate configure script.
freakboy3742 87a8e72
Silence the patch echo output.
freakboy3742 955dd67
Merge branch 'main' into app-store-patch
freakboy3742 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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', '[email protected]','/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 deletions
2
Misc/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 ``--with-app-store-compliance`` option to patch out known issues | ||
freakboy3742 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
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 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
Oops, something went wrong.
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.
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.
Should this be
impl-detail
and "...CPython has been built.." rather than a regular note?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.
Didn't know that option existed. Definitely seems appropriate here.