Skip to content

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

Merged
ambv merged 4 commits into
python:mainfrom
skirpichev:use-clean-env-in-test_pyrepl-121359
Jul 15, 2024
Merged

gh-121359: make clean environment (no PYTHON* vars) for test_pyrepl.TestMain#121672
ambv merged 4 commits into
python:mainfrom
skirpichev:use-clean-env-in-test_pyrepl-121359

Conversation

@skirpichev

@skirpichev skirpichev commented Jul 13, 2024

Copy link
Copy Markdown
Member

@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
Comment thread Lib/test/test_pyrepl/test_pyrepl.py Outdated

@pablogsal pablogsal 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.

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

@bedevere-app

bedevere-app Bot commented Jul 13, 2024

Copy link
Copy Markdown

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
Copy Markdown
Member Author

I have made the requested changes; please review again

@bedevere-app

bedevere-app Bot commented Jul 13, 2024

Copy link
Copy Markdown

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
Comment thread Lib/test/test_pyrepl/test_pyrepl.py
@smontanaro

Copy link
Copy Markdown
Contributor

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

Comment thread Lib/test/test_pyrepl/test_pyrepl.py Outdated
@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
@miss-islington-app

Copy link
Copy Markdown

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 <skirpichev@gmail.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
@bedevere-app

bedevere-app Bot commented Jul 15, 2024

Copy link
Copy Markdown

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 <skirpichev@gmail.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
@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
…repl.TestMain (pythonGH-121672)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
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