Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

gh-109625: Move _ready_to_import from test_import to import_helper #109626

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

Merged
merged 1 commit into from
Sep 21, 2023

Conversation

sobolevn
Copy link
Member

@sobolevn sobolevn commented Sep 20, 2023

@sobolevn sobolevn added tests Tests in the Lib/test dir skip news labels Sep 20, 2023
Copy link
Member

@vstinner vstinner left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -43,8 +43,6 @@
from test import inspect_stringized_annotations
from test import inspect_stringized_annotations_2

from test.test_import import _ready_to_import
Copy link
Member

Choose a reason for hiding this comment

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

Oh no, we should not make tests inter-dependents. This change goes to the right direction!

@vstinner
Copy link
Member

Merged, thanks. I just modified a little bit the commit message.

@sobolevn sobolevn deleted the issue-109625 branch September 21, 2023 07:42
@sobolevn
Copy link
Member Author

Thanks! I will rebase #109607 shortly.

@vstinner vstinner added needs backport to 3.11 only security fixes needs backport to 3.12 only security fixes labels Sep 21, 2023
@miss-islington
Copy link
Contributor

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

@miss-islington
Copy link
Contributor

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

@miss-islington
Copy link
Contributor

Sorry, @sobolevn and @vstinner, I could not cleanly backport this to 3.11 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker 115c49ad5a5ccfb628fef3ae06a566f7a0197f97 3.11

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 21, 2023
…import_helper (pythonGH-109626)

(cherry picked from commit 115c49a)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
@bedevere-app
Copy link

bedevere-app bot commented Sep 21, 2023

GH-109640 is a backport of this pull request to the 3.12 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.12 only security fixes label Sep 21, 2023
@vstinner
Copy link
Member

@sobolevn: Can you please backport this change to the 3.11 branch? I was told to backport all test refactoring changes to stable branches: #108303 (comment)

sobolevn added a commit to sobolevn/cpython that referenced this pull request Sep 22, 2023
…upport.import_helper (pythonGH-109626).

(cherry picked from commit 115c49a)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
@bedevere-app
Copy link

bedevere-app bot commented Sep 22, 2023

GH-109718 is a backport of this pull request to the 3.11 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.11 only security fixes label Sep 22, 2023
@sobolevn
Copy link
Member Author

Done!

vstinner pushed a commit that referenced this pull request Sep 22, 2023
….import_helper (GH-109626) (#109718)

[3.11] gh-109625: Move _ready_to_import() from test_import to support.import_helper (GH-109626).
(cherry picked from commit 115c49a)
csm10495 pushed a commit to csm10495/cpython that referenced this pull request Sep 28, 2023
Yhg1s pushed a commit that referenced this pull request Oct 2, 2023
….import_helper (GH-109626) (#109640)

gh-109625: Move _ready_to_import() from test_import to support.import_helper (GH-109626)
(cherry picked from commit 115c49a)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 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.

3 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.