Skip to content

Drop stray executable bit from non-executable text files #5047

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
Apr 4, 2025
Merged

Drop stray executable bit from non-executable text files #5047

merged 1 commit into from
Apr 4, 2025

Conversation

decathorpe
Copy link
Contributor

I'm working on updating pyo3 to version 0.24 in Fedora Linux, and noticed some issues with stray executable bits on files that are indeed not executable scripts.

Not sure why this keeps happening, but I think some editors / IDEs see files that start with #! and think "this is a shebang! it's a script! let's mark it as executable when saving the file!", even if the file is Rust source code and just a toplevel attribute like #![allow(unused)], but that doesn't explain all the cases seen here ...

I haven't added a changelog entry because this is an "internal" / cleanup thing that shouldn't affect users of pyo3, but if you prefer, I can add a changelog fragement.

@alex alex added the CI-skip-changelog Skip checking changelog entry label Apr 4, 2025
@alex alex enabled auto-merge April 4, 2025 12:51
@alex
Copy link
Contributor

alex commented Apr 4, 2025

thanks!

@alex alex added this pull request to the merge queue Apr 4, 2025
Merged via the queue into PyO3:main with commit ac5c42c Apr 4, 2025
51 of 53 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI-skip-changelog Skip checking changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants