Re: Fedora 33 Self-Contained Change proposal: No more automagic Python bytecompilation phase 3

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

 



On Tuesday, 16 June 2020 07.09.17 WEST Lumir Balhar wrote:
> Hello.
> 
> The change has been accepted and implemented in:
> https://bodhi.fedoraproject.org/updates/FEDORA-2020-922b21ffde
> 
> This means that the affected packages will FTBFS with the following error:
> 
> %_python_bytecompile_extra is discontinued, use %py_byte_compile instead.
> See:
> https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompila
> tion_phase_3 error: Bad exit status from /var/tmp/rpm-tmp.T6T9xw (%install)
> How to fix it?
> 
> Check a previous build of a package and answer the question: "Do you really
> need to ship byte-compiled Python modules outside the standard location?"
> If the answer is no, simply remove the "_python_bytecompile_extra" from a
> specfile. If the answer is yes, use %py_byte_compile macro to compile them
> manually. Docs:
> https://docs.fedoraproject.org/en-US/packaging-guidelines/Python_Appendix/#
> manual-bytecompilation Feel free to ask for any assistance.
> 
> Lumír

Just in case this happens to others.
I noticed, with Lumír's help, that previously it was only necessary

BuildRequires: python3

while now it is necessary to do

BuildRequires: python3-devel

Regards,
-- 
José Abílio

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux