Skip to content
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

gh-121359: make clean environment (no PYTHON* vars) for test_pyrepl.TestMain #121672

Merged
merged 4 commits into from
Jul 15, 2024

Conversation

skirpichev
Copy link
Member

@skirpichev skirpichev commented Jul 13, 2024

@skirpichev

This comment was marked as outdated.

@skirpichev skirpichev force-pushed the use-clean-env-in-test_pyrepl-121359 branch from bd2787b to 3cc746c Compare July 13, 2024 10:00
@skirpichev skirpichev changed the title gh-121359: make clean environment (not PYTHON* vars) for test_pyrepl.py gh-121359: make clean environment (no PYTHON* vars) for test_pyrepl.py Jul 13, 2024
@ambv ambv added the skip news label Jul 13, 2024
Copy link
Member

@pablogsal pablogsal left a comment

Choose a reason for hiding this comment

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

Thanks for the PR! Please, check my comment for a suggestion on how to handle this correctly

@bedevere-app
Copy link

bedevere-app bot commented Jul 13, 2024

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. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

@skirpichev skirpichev changed the title gh-121359: make clean environment (no PYTHON* vars) for test_pyrepl.py gh-121359: make clean environment (no PYTHON* vars) for test_pyrepl.TestMain Jul 13, 2024
@skirpichev
Copy link
Member Author

I have made the requested changes; please review again

@bedevere-app
Copy link

bedevere-app bot commented Jul 13, 2024

Thanks for making the requested changes!

@pablogsal: please review the changes made to this pull request.

@bedevere-app bedevere-app bot requested a review from pablogsal July 13, 2024 15:47
@smontanaro
Copy link
Contributor

test_pyrepl passes after applying the PR to an up-to-date main branch.

@ambv ambv dismissed pablogsal’s stale review July 15, 2024 19:19

This fix is for unit tests that don't spawn a subprocess

@ambv ambv added the needs backport to 3.13 bugs and security fixes label Jul 15, 2024
@ambv ambv merged commit fd085a4 into python:main Jul 15, 2024
33 of 34 checks passed
@miss-islington-app
Copy link

Thanks @skirpichev for the PR, and @ambv for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 15, 2024
…repl.TestMain (pythonGH-121672)

(cherry picked from commit fd085a4)

Co-authored-by: Sergey B Kirpichev <[email protected]>
Co-authored-by: Łukasz Langa <[email protected]>
@bedevere-app
Copy link

bedevere-app bot commented Jul 15, 2024

GH-121810 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Jul 15, 2024
ambv added a commit that referenced this pull request Jul 15, 2024
…yrepl.TestMain (GH-121672) (GH-121810)

(cherry picked from commit fd085a4)

Co-authored-by: Sergey B Kirpichev <[email protected]>
Co-authored-by: Łukasz Langa <[email protected]>
@skirpichev skirpichev deleted the use-clean-env-in-test_pyrepl-121359 branch July 16, 2024 00:55
estyxx pushed a commit to estyxx/cpython that referenced this pull request Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip news tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants