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-92265: set meta_path and path_hooks correctly in test_reload_namespace_changed #92275

Merged
merged 1 commit into from May 16, 2022

Conversation

FFY00
Copy link
Member

@FFY00 FFY00 commented May 3, 2022

Previously, we were blocking the frozen imports and forcing the source
version to be used, but we did not fix up sys.meta_path or
sys.path_hooks, causing the frozen importers to leak into the source
version of the test.

Automerge-Triggered-By: GH:ericsnowcurrently

…_namespace_changed

Previously, we were blocking the frozen imports and forceing the source
version to be used, but we did not fix up sys.meta_path or
sys.path_hooks, causing the frozen importers to leak into the source
version of the test.
Copy link
Member

@ericsnowcurrently ericsnowcurrently left a comment

LGTM

@FFY00
Copy link
Member Author

FFY00 commented May 6, 2022

Maybe @brettcannon could have a final look?

@ericsnowcurrently ericsnowcurrently changed the title gh-92265: set meta_path and path_hooks correctly in test_reload_names… gh-92265: set meta_path and path_hooks correctly in test_reload_namespace_changed May 9, 2022
@brettcannon
Copy link
Member

brettcannon commented May 10, 2022

I'm a bit busy to review, and I trust you both to have done your due diligence to make sure it's the right solution.

@FFY00
Copy link
Member Author

FFY00 commented May 14, 2022

@ericsnowcurrently could you merge this then? Thanks!

@ericsnowcurrently ericsnowcurrently added the 🤖 automerge PR will be merged once it's been approved and all CI passed label May 16, 2022
@miss-islington miss-islington merged commit c7d6999 into python:main May 16, 2022
12 checks passed
@ericsnowcurrently
Copy link
Member

ericsnowcurrently commented May 16, 2022

Thanks, @FFY00!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖 automerge PR will be merged once it's been approved and all CI passed skip news tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants