#90 New packaging guidelines forbid use of '/usr/bin/env' in shebang lines
Opened by merlinm. Modified

Some updates to the Fedora packaging guidelines were recently announced:

  • https://lists.fedoraproject.org/archives/list/devel%40lists.fedoraproject.org/message/JJVTATCMSHWG4UFFPSDUK432JKFDBULH/

Some of the updates pertain directly to standard-test-roles scripts--which use shebang lines in the now forbidden form #!/usr/bin/env python:

  • https://fedoraproject.org/wiki/Packaging:Guidelines#Shebang_lines
  • https://fedoraproject.org/wiki/Packaging:Python#Multiple_Python_Runtimes

Seems kinda crappy IMHO, isn't the #!/usr/bin/env python standard fare, even for python3 (I haven't checked PEP)? I'd take issue with the packaging guidelines here, seems kind of silly to unilaterally ban a practice among python scripts for years and years and years, "Because Fedora" (unless I'm wrong about what PEP says).

I can't see those now . I guess this can be closed as we moved to #!/usr/bin/python3

Metadata