#757 Remove "Introduced in Fedora 25" from Python macros
Closed: fixed 6 years ago Opened 6 years ago by churchyard.

https://fedoraproject.org/wiki/Packaging:Python#Macros

Please remove all the "Introduced in Fedora 25" notes, they are no longer relevant. Also " since Fedora 21 / Python 3.4".

Please consider saying "All supported Fedora versions and EPELs have all of those macros available." bellow or above the table. (Double check if true, but AFAIK it is.)


Metadata Update from @tibbs:
- Issue assigned to tibbs

6 years ago

I have removed all of the F25 and F21 mentions and added a note that the macros are available in all supported Fedora and EPEL releases.

Can you comment on the items in the Optimization section (https://fedoraproject.org/wiki/Packaging:Python#Optimization)? All Fedora releases have something newer than 3.5 so I'm not sure if that section can just be removed.

Will do. Can you assign this to me?

I think I can do that. It's only two lines of text, though.

Metadata Update from @tibbs:
- Issue assigned to churchyard (was: tibbs)

6 years ago

Fedora packages running with Python 2 must not invoke python with the -OO option or set the environment variable PYTHONOPTIMIZE to 2 or greater. (Using -O or PYTHONOPTIMIZE less than 2 is fine, though unnecessary.)

Similarly, any .pyo shipped in a Fedora package for Python 2 must not have been byte compiled using optimization level 2 or higher.

I went ahead and modified the optimization section to read as above.

Metadata Update from @tibbs:
- Issue assigned to tibbs (was: churchyard)
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

6 years ago

Login to comment on this ticket.

Metadata