Skip to content

PYTHON-4977 Fix import time on Windows again #2003

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 4 commits into from
Nov 15, 2024

Conversation

ShaneHarvey
Copy link
Member

PYTHON-4977 Fix import time on Windows again

In #1678 we accidentally reverted the fix for PYTHON-4455.

@ShaneHarvey
Copy link
Member Author

ShaneHarvey commented Nov 15, 2024

I added an import time check on Windows. Also I relized the import time check is pretty easy to miss because it will only fail once on the PR and once on the slow commit, and the it will pass on all commits after that. The only way I can think to avoid that problem is to use a known good version as the reference point and keep it fixed. I'll open a new ticket for that idea.

@ShaneHarvey
Copy link
Member Author

Okay rereading the original ticket, it turns out we can't reproduce the slow import on our Windows hosts anyway so I've removed the windows import check.

Copy link
Member

@blink1073 blink1073 left a comment

Choose a reason for hiding this comment

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

LGTM!

@ShaneHarvey ShaneHarvey merged commit 35b2fbb into mongodb:master Nov 15, 2024
46 of 48 checks passed
@ShaneHarvey ShaneHarvey deleted the PYTHON-4977 branch November 18, 2024 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants