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
Multiple mingw python packages have broken shebang #7481
Comments
Hi @Artoria2e5 👋 Thank you for reporting this issue. I have sent a pull request to fix it. Packages will be uploaded after some days. Meanwhile, you could download the unsigned package from GitHub Actions artifacts in the linked pull request. |
Did I install something incorrectly? I'm seeing this in pylint
I ran |
That's likely a packaging bug (or a missing adjustment for msys2..) |
Yup. The PKGBUILD edits shebang for .py files only. The rest are:
|
It should be pretty safe to edit the shebang for all files regardless of name. As long as the sed command is made to only work on the first line — should be possible with putting a line number “1” in front of the “s/“ command IIRC — and to check the first line really is a shebang (expand the s/ pattern maybe). |
Describe the issue
The shebang on many of the mingw python packages are currently
#!D:/a/_temp/msys/msys64/mingw64/bin/python.exe
. This obviously doesn't run.Steps to Reproduce the Problem
Additional Context: Operating System, Screenshots
mingw-w64-x86_64-python-black 20.8b1-1
The text was updated successfully, but these errors were encountered: