Skip to content

gh-131712: Build _suggestions extension on Windows #131759

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
Mar 27, 2025

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Mar 26, 2025

Add a test checking that the '_suggestions' extension is available.

Add a test checking that the '_suggestions' extension is available.
@vstinner
Copy link
Member Author

cc @devdanzin

@vstinner
Copy link
Member Author

The code is already built:

$ grep _suggestions PCbuild/pythoncore.vcxproj
    <ClCompile Include="..\Modules\_suggestions.c" />

This PR only makes the extension available in Python.

@zooba
Copy link
Member

zooba commented Mar 26, 2025

If we've had any releases with this broken, we should probably add a NEWS entry to mention that it's been fixed (describing the user-visible impact, rather than the module itself).

@vstinner
Copy link
Member Author

If we've had any releases with this broken, we should probably add a NEWS entry to mention that it's been fixed (describing the user-visible impact, rather than the module itself).

I added "skip news" label since there is no impact on users, since there is a fallback implementation in Python: #131712 (comment)

@vstinner vstinner merged commit 9ef9d68 into python:main Mar 27, 2025
49 checks passed
@vstinner vstinner deleted the suggestions branch March 27, 2025 08:53
@vstinner
Copy link
Member Author

Merged, thanks for the review @zooba.

@vstinner vstinner added the needs backport to 3.13 bugs and security fixes label Mar 27, 2025
@miss-islington-app
Copy link

Thanks @vstinner for the PR 🌮🎉.. 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 Mar 27, 2025
…1759)

Add a test checking that the '_suggestions' extension is available.
(cherry picked from commit 9ef9d68)

Co-authored-by: Victor Stinner <[email protected]>
@bedevere-app
Copy link

bedevere-app bot commented Mar 27, 2025

GH-131790 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 Mar 27, 2025
vstinner added a commit that referenced this pull request Mar 27, 2025
…#131790)

gh-131712: Build _suggestions extension on Windows (GH-131759)

Add a test checking that the '_suggestions' extension is available.
(cherry picked from commit 9ef9d68)

Co-authored-by: Victor Stinner <[email protected]>
diegorusso pushed a commit to diegorusso/cpython that referenced this pull request Apr 1, 2025
Add a test checking that the '_suggestions' extension is available.
seehwan pushed a commit to seehwan/cpython that referenced this pull request Apr 16, 2025
Add a test checking that the '_suggestions' extension is available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants