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

Fix file extension on windows with cp36 and cp37 #3919

Merged
merged 1 commit into from
May 4, 2022

Conversation

HaarigerHarald
Copy link
Contributor

@HaarigerHarald HaarigerHarald commented May 1, 2022

Hi,

I noticed that with #3764 pybind11 modules now have .pyd as file extension on Windows for CPython 3.6 and CPython 3.7 while it previously was .cp36-win_amd64.pyd and .cp37-win_amd64.pyd, respectively. That was probably just an oversight, which should be fixed with this PR.

PS: Tried to be consistent with the usage of ; but I don't know why it's used here in the first place.

Suggested changelog entry:

* CMake FindPython: fix file extension on windows with cp36 and cp37

@henryiii
Copy link
Collaborator

henryiii commented May 4, 2022

Thanks! Looks like an oversight. Worth back porting if we do any more back porting and/or don't release 2.10 soon.

@henryiii henryiii merged commit f306012 into pybind:master May 4, 2022
@github-actions github-actions bot added the needs changelog Possibly needs a changelog entry label May 4, 2022
@henryiii henryiii removed the needs changelog Possibly needs a changelog entry label Jul 7, 2022
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