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: don't remove the '.11' from 'python3.11' binary file name #366

Merged
merged 6 commits into from
Oct 3, 2023

Conversation

ruben-arts
Copy link
Contributor

closes #317

When a numeric end is found on the binary, we don't remove it.

@baszalmstra
Copy link
Contributor

This seems very specific. Maybe a better idea is to only strip recognized executable extensions instead? On linux I don't think there are any but on Windows they are defined in the COMSPEC environment variable.

@wolfv
Copy link
Member

wolfv commented Oct 2, 2023

I agree with Bas here

@ruben-arts
Copy link
Contributor Author

@baszalmstra I don't get what I should use the COMSPEC for as it is defining the cmd.exe location.

Should I just make a list, in the hope we don't miss anything?

@ruben-arts ruben-arts merged commit 7d97026 into prefix-dev:main Oct 3, 2023
7 of 9 checks passed
@ruben-arts ruben-arts deleted the fix/binary_file_stem_issue branch October 3, 2023 07:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants