[Bug 1695139] Review Request: xonsh - A general purpose, Python-ish shell

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1695139



--- Comment #4 from Miro Hrončok <mhroncok@xxxxxxxxxx> ---
(In reply to Carmen Bianca Bakker from comment #3)
> ...
> Note the `--executable` flag. This becomes `/usr/bin/python3 -s`. xonsh
> takes this and rewrites the shebangs in its script files (e.g.,
> /usr/bin/xonsh) using this executable. This becomes:
> 
> #!/usr/bin/python3 -s -u
> 
> Which, when executed, fails.  I could alter %{py3_shbang_opts}, but frankly
> I don't know how to do that.

Oh, so this is basically bz1335203.

I recommend doing this: use %py3_build and run this after:

pathfix.py -pni "%{__python3} %{py3_shbang_opts}u" %{buildroot}%{_bindir}/*

That way you get a manual workaround but you also make sure that both flags (u
and s) are applied. You should probably add a comment with link to bz1335203.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux