{{ message }}
gh-135815: skip netrc security checks if os.getuid is missing - #135816
Merged
picnixz merged 2 commits intoJun 22, 2025
Conversation
picnixz
force-pushed
the
fix/netrc/wasi-security-check-135815
branch
from
June 22, 2025 14:34
c472cc9 to
d2a13f6
Compare
serhiy-storchaka
approved these changes
Jun 22, 2025
serhiy-storchaka
left a comment
Member
There was a problem hiding this comment.
LGTM.
Added a couple of suggestions, it is up to you.
Comment on lines
164
to
165
Member
There was a problem hiding this comment.
The message looks weird. Would not be better to rewrite in in the following way?
(f"~/.netrc file owner ({fowner}) does not match"
f" current user ({user})"))
Member
Author
There was a problem hiding this comment.
I'll change it in a follow-up PR so that only unstable branches are affected.
picnixz
enabled auto-merge (squash)
June 22, 2025 19:31
|
Thanks @picnixz for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this pull request
Jun 22, 2025
…ng (pythonGH-135816) (cherry picked from commit b57b619) Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
|
GH-135825 is a backport of this pull request to the 3.14 branch. |
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this pull request
Jun 22, 2025
…ng (pythonGH-135816) (cherry picked from commit b57b619) Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
|
GH-135826 is a backport of this pull request to the 3.13 branch. |
picnixz
added a commit
that referenced
this pull request
Jun 22, 2025
picnixz
added a commit
that referenced
this pull request
Jun 22, 2025
hoodmane
added a commit
to hoodmane/cpython
that referenced
this pull request
Jul 3, 2025
Before python#135816 it was skipped because pwd is missing on Emscripten. Now it isn't skipped because the test no longer requires pwd but it still doesn't work on Emscripten.
AndPuQing
pushed a commit
to AndPuQing/cpython
that referenced
this pull request
Jul 11, 2025
Pranjal095
pushed a commit
to Pranjal095/cpython
that referenced
this pull request
Jul 12, 2025
taegyunkim
pushed a commit
to taegyunkim/cpython
that referenced
this pull request
Aug 4, 2025
Agent-Hellboy
pushed a commit
to Agent-Hellboy/cpython
that referenced
this pull request
Aug 19, 2025
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.

netrcsecurity check may fail on WASI due to the lack ofos.getuid#135815