Skip to content

PYTHON-4455 Improve import time on Windows #1645

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 3 commits into from
May 30, 2024

Conversation

blink1073
Copy link
Member

No description provided.

caseyclements
caseyclements previously approved these changes May 28, 2024
Copy link
Contributor

@caseyclements caseyclements left a comment

Choose a reason for hiding this comment

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

Assuming CSOT failures are CSOT failures, LGTM. We can always change again.

ShaneHarvey
ShaneHarvey previously approved these changes May 28, 2024
Copy link
Member

@ShaneHarvey ShaneHarvey left a comment

Choose a reason for hiding this comment

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

Could you update the CHANGELOG log mention we no longer include the windows version in the "name" field?

Can you give an example of the metadata before/after this change?

@blink1073
Copy link
Member Author

Name: "Windows 10" -> "Windows"
Architecture: "AMD64" -> "AMD64"
Version: "10.0.17763-SP0" -> "10.0.17763-SP0"

@blink1073 blink1073 requested a review from ShaneHarvey May 28, 2024 19:51
@blink1073 blink1073 dismissed stale reviews from ShaneHarvey and caseyclements via 1a99794 May 28, 2024 19:51
pymongo/pool.py Outdated
"name": "Windows",
# Avoid using platform calls, see PYTHON-4455.
"architecture": os.environ.get("PROCESSOR_ARCHITECTURE") or platform.machine(),
# Windows patch level (e.g. 10-0-17763).
Copy link
Member

Choose a reason for hiding this comment

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

is 10-0-17763 accurate? I would expect something like 10.0.17763-XXX

Copy link
Member Author

Choose a reason for hiding this comment

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

I need to update the comment, I just pushed a change to make it format the same as the old way.

@blink1073 blink1073 requested a review from ShaneHarvey May 29, 2024 00:44
@blink1073 blink1073 merged commit 1d6cf42 into mongodb:master May 30, 2024
29 of 31 checks passed
blink1073 added a commit to blink1073/mongo-python-driver that referenced this pull request May 30, 2024
@blink1073 blink1073 deleted the PYTHON-4455 branch May 30, 2024 01:39
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.

3 participants