Skip to content

In Android tests, disable Gradle daemon - #796

Merged
vstinner merged 3 commits into
python:mainfrom
mhsmith:android-no-daemon
Sep 16, 2026
Merged

vstinner merged 3 commits into
python:mainfrom
mhsmith:android-no-daemon

Conversation

@mhsmith

@mhsmith mhsmith commented Sep 16, 2026

Copy link
Copy Markdown
Member

This should fix the problem discussed at python/cpython#155518 (comment).

@vstinner vstinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know well Android. I don't know what is this -Dorg.gradle.daemon=false option. Does it disable a Gradle daemon? Maybe say it in the test_environ comment.

"""

# Make each run more independent
# (https://github.com/python/cpython/pull/155518#issuecomment-5259725142).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You might copy/paste the comment rather than adding a link.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've added some details to the comment, but I think it's worth keeping the link in case any more details are added to the issue in the future.

@mhsmith
mhsmith requested a review from vstinner September 16, 2026 14:03

@vstinner vstinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change looks good to me, but I'm not an Android expert.

@vstinner

Copy link
Copy Markdown
Member

Should we backport the change (you didn't add the "backport" labels)?

@mhsmith

mhsmith commented Sep 16, 2026

Copy link
Copy Markdown
Member Author

There are no backports in this repository, are there?

@vstinner

vstinner commented Sep 16, 2026

Copy link
Copy Markdown
Member

Oh! I read quickly the PR, I saw Platforms/Android/, and so I expected the PR to be on Python. But that's a buildbot change! You're right, no backport is needed.

@vstinner
vstinner merged commit 01587a7 into python:main Sep 16, 2026
1 check passed
@vstinner

Copy link
Copy Markdown
Member

Merged. Thanks for the long comment, its useful to me!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants