gh-137242: Allow Android testbed to take all Python command-line options#138805
gh-137242: Allow Android testbed to take all Python command-line options#138805freakboy3742 merged 4 commits intopython:mainfrom
Conversation
freakboy3742
left a comment
There was a problem hiding this comment.
This mostly makes sense; a couple of minor clarification questions inline.
|
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
|
I have made the requested changes; please review again. |
|
Thanks for making the requested changes! @freakboy3742: please review the changes made to this pull request. |
|
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
|
I have made the requested changes; please review again. |
|
Thanks for making the requested changes! @freakboy3742: please review the changes made to this pull request. |
freakboy3742
left a comment
There was a problem hiding this comment.
👍 Thanks for those changes (and explanations) - looks like a solid set of improvements.
|
Thanks @mhsmith for the PR, and @freakboy3742 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
…e options (pythonGH-138805) Modifies the Android test runner to ensure that all valid Python command line options are preserved when running the test suite. (cherry picked from commit a9b0506) Co-authored-by: Malcolm Smith <smith@chaquo.com>
…e options (pythonGH-138805) Modifies the Android test runner to ensure that all valid Python command line options are preserved when running the test suite. (cherry picked from commit a9b0506) Co-authored-by: Malcolm Smith <smith@chaquo.com>
|
GH-139637 is a backport of this pull request to the 3.14 branch. |
|
GH-139638 is a backport of this pull request to the 3.13 branch. |
…e options (python#138805) Modifies the Android test runner to ensure that all valid Python command line options are preserved when running the test suite.
#138649 and python/buildmaster-config#628 switched GitHub Actions and the buildbots over to using
--fast-ciand--slow-cion Android. However, this has introduced a warning, which has turned the buildbots orange:Android runs the tests embedded in a larger app, so it's not possible to change the Python options by calling
execv. Instead, this PR adds the ability to pass all Python command-line options to the Android testbed, so the options can be set to the expected values from the start.This may also be useful in cibuildwheel, as it'll allow the testbed to accept a wider range of Python test commands (pypa/cibuildwheel#2590).