[Bug 2137912] Review Request: python3.12 - Version 3.12 of the Python interpreter

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

 



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



--- Comment #1 from Miro Hrončok <mhroncok@xxxxxxxxxx> ---
Looking at
https://src.fedoraproject.org/fork/thrnciar/rpms/python3.11/diff/rawhide..python3.12

While necessary to build this in
https://copr.fedorainfracloud.org/coprs/g/python/python3.12/ it is not
necessary to import this in Fedora with rpmwheels, tests, and optimizations
bconds flipped. OTOH bootstrap is indeed necessary.


> pathfix was removed in Python 3.11.0

Actually in Python 3.12.

https://src.fedoraproject.org/rpms/python-rpm-macros/pull-request/150 was
merged in the meantime -- let's talk to Lumír about what we are going to do
with this on stable Fedoras. Either we add the script to the macro package
everywhere, or we keep it also as a source here (without installing it) until
Fedora 37 goes EOL.

Either way, we want to use it during the build but not ship it, so please also
remove:

  # Install pathfix.py to binder
  # See https://github.com/fedora-python/python-rpm-porting/issues/24
  cp -p Tools/scripts/pathfix.py %{buildroot}%{_bindir}/pathfix%{pybasever}.py

And:

  # Since we have pathfix.py in bindir, this is created, but we don't want it
  rm -rf %{buildroot}%{_bindir}/__pycache__

And:

  ln -s ./pathfix%{pybasever}.py %{buildroot}%{_bindir}/pathfix.py

And the pathfixes from %files.




> Patch98711: https://github.com/python/cpython/pull/98711.patch

To import this into Fedora, please follow the usual patch procedure (patch
number, fedora-python github repo).



Please also trim the changelog and include an entry for 3.11.0a1, rename the
rpmlintrc file, and update pybasever in tests/tests.yml



The rest of the spec file looks good. Feel free to actually open a [DO NOT
MERGE] pull request to python3.11 to get the CIs running (hope it'll work when
renaming the component).



In a separate commit, let's add ExcludeArch: %{arm}, see
https://lists.fedoraproject.org/archives/list/python-devel@xxxxxxxxxxxxxxxxxxxxxxx/thread/4QWRWUYQOLCVC5D5YHXFXFOGPEIIPYSJ/


-- 
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
https://bugzilla.redhat.com/show_bug.cgi?id=2137912
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-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/package-review@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




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

  Powered by Linux