#2795 Change proposal: Python: Add -P to default shebangs
Closed: Accepted 8 days ago by zbyszek. Opened 2 months ago by bcotton.

The -P flag will be added to the Python shebang macros (%{py3_shbang_opts}, %{py3_shebang_flags}, ...). Packages that adhere to those macros will change their Python shebangs from #! /usr/bin/python3 -s to #! /usr/bin/python3 -sP and as a result, will no longer have the directory of the script (such as /usr/bin) in sys.path. An opt-out mechanism exists.

Owners, do not implement this work until the FESCo vote has explicitly ended.
The Fedora Program Manager will create a tracking bug in Bugzilla for this Change, which is your indication to proceed.
See the FESCo ticket policy and the Changes policy for more information.


After a week, the vote is
APPROVED (+4,0,-0)

Metadata Update from @bcotton:
- Issue tagged with: pending announcement

a month ago

I'm +1 too, sorry for the late vote.

APPROVED (+5,0,-0)

Metadata Update from @zbyszek:
- Issue untagged with: pending announcement
- Issue close_status updated to: Accepted
- Issue status updated to: Closed (was: Open)

8 days ago

Login to comment on this ticket.

Metadata