On Wed, Oct 26, 2022 at 6:41 AM Lumír Balhar <lbal...@redhat.com> wrote:
>
> Hello.
>
> Since Python 2.0 (1994), Python provided a useful tool pathfix.py that
> we use in Python RPM macros for fixing shebangs of Python modules and
> some RPM packages use it as well directly in their specfiles for similar
> purposes. The script will no longer be part of CPython source code and
> python3-devel RPM package. Because we think it's useful, we have decided
> to create a new upstream project for it
> (https://github.com/fedora-python/pathfix) on Github and include it in
> the python3-rpm-macros package. The change means the script will move
> from /usr/bin/pathfix.py to /usr/lib/rpm/redhat/pathfix.py.
>
> For users of %py_shebang_fix and %py3_shebang_fix no action is needed.
> The macros will soon use the new location of the tool.
>
> If you use the tool directly in your specfile a change is needed before
> Python 3.12 become the main one in Fedora 38. We have a list of affected
> packages and will open PRs for them soon.
>
> Packages requiring /usr/bin/pathfix.py:
>
> $ repoquery -q --repo=rawhide{,-source} --whatrequires /usr/bin/pathfix.py
> Mayavi-0:4.8.1-1.fc38.src
> PySolFC-0:2.18.0-1.fc38.src
> TeXmacs-0:2.1.2-2.fc38.src
> autodownloader-0:0.5.0-6.fc37.src
> cp2k-0:9.1-3.fc37.src
> dblatex-0:0.3.12-7.fc37.src
> diskimage-builder-0:3.20.1-2.fc37.src
> dnsperf-0:2.9.0-3.fc37.src
> gimp-layer-via-copy-cut-0:1.6-22.fc37.src
> gimp-resynthesizer-0:2.0.3-9.20190428gitadfa25a.fc37.src
> global-0:6.6.5-7.fc38.src
> gtkpod-0:2.1.5-22.fc38.src
> guitarix-0:0.44.1-1.fc37.src
> kernel-tools-0:6.1.0-0.rc2.git0.1.fc38.src
> koan-0:3.0.1-4.fc37.src
> mediawiki-0:1.38.2-1.fc38.src
> monsterz-0:0.7.1-31.fc37.src
> new-session-manager-0:1.3.2-7.fc37.src
> noggin-0:1.6.1-4.fc38.src
> nut-0:2.8.0-5.fc38.src
> nx-libs-0:3.5.99.26-5.fc37.src
> octave-miscellaneous-0:1.3.0-10.fc37.src
> pcsc-lite-0:1.9.9-1.fc38.src
> percona-xtrabackup-0:8.0.25_17-1.fc35.src
> pynag-0:1.1.2-11.fc37.src
> python-confluent-kafka-0:1.6.1-1.fc38.src
> python-cram-0:0.7-13.fc37.src
> python-pyside2-1:5.15.2.1-7.fc37.src
> rabbitvcs-0:0.18-8.fc37.src
> roca-detect-0:1.2.12-21.fc37.src
> scipy-0:1.8.1-6.fc37.src
> swift-lang-0:5.7-3.fc38.src
> syslog-ng-0:3.37.1-1.fc38.src
> systemtap-0:4.8~pre16650659g6a096a7d-1.fc38.src
> wine-mono-0:7.3.0-2.fc37.src
>
> specfiles containing "pathfix.py":
>
> ceph.spec
> blktrace.spec
> aws.spec
> avogadro2-libs.spec
> cobbler.spec
> crawl.spec
> partio.spec
> dblatex.spec
> dnsperf.spec
> diskimage-builder.spec
> dlib.spec
> cp2k.spec
> fio.spec
> future.spec
> fedora-review.spec
> fedora-easy-karma.spec
> GConf2.spec
> gimp-layer-via-copy-cut.spec
> gimp-resynthesizer.spec
> llvm10.spec
> global.spec
> gnome-weather.spec
> clang10.spec
> gtkpod.spec
> netbox.spec
> htop.spec
> guitarix.spec
> gtk2.spec
> kernel-tools.spec
> kernel.spec
> monsterz.spec
> intel-cm-compiler.spec
> koan.spec
> libabigail.spec
> libevdev.spec
> libevent.spec
> libinput.spec
> libsbml.spec
> libtdb.spec
> Mayavi.spec
> mesos.spec
> mftrace.spec
> micropython.spec
> mercurial.spec
> mediawiki.spec
> nodejs.spec
> llvm-test-suite.spec
> llvm11.0.spec
> nx-libs.spec
> octave-miscellaneous.spec
> offlineimap.spec
> openclonk.spec
> openscap.spec
> nut.spec
> pcsc-lite.spec
> percona-xtrabackup.spec
> clang11.spec
> petsc.spec
> noggin.spec
> policycoreutils.spec
> pyhoca-cli.spec
> pynag.spec
> python3.10.spec
> python3.8.spec
> python3.6.spec
> python3.7.spec
> python2.7.spec
> python-biopython.spec
> python-cram.spec
> python-confluent-kafka.spec
> python-bluepy.spec
> PySolFC.spec
> python3.9.spec
> pyhoca-gui.spec
> python-nbconvert.spec
> python-nb2plots.spec
> python-nitrate.spec
> python-os-testr.spec
> python-igor.spec
> python-exabgp.spec
> python-pyside2.spec
> python-reportlab.spec
> python-rpm-macros.spec
> python-scss.spec
> pytz.spec
> rocminfo.spec
> roca-detect.spec
> rabbitvcs.spec
> python-zbase32.spec
> python-mistune08.spec
> llvm9.0.spec
> llvm7.0.spec
> libtalloc.spec
> scipy.spec
> solarwolf.spec
> TeXmacs.spec
> llvm8.0.spec
> swift-lang.spec
> python3.11.spec
> llvm11.spec
> telepathy-logger.spec
> syslog-ng.spec
> systemtap.spec
> scons.spec
> tuna.spec
> vips.spec
> wavextract.spec
> xpra.spec
> andriller.spec
> tuptime.spec
> clang12.spec
> llvm12.spec
> new-session-manager.spec
> workrave.spec
> wine-mono.spec
> wabt.spec
> vdrift.spec
> inksmoto.spec
> inkscape.spec
> autojump.spec
> autodownloader.spec
> apbs.spec
>

This list is not sorted, which makes it difficult to scan. Please also
provide the maintainers-by-package list that is usually sent for
changes that affect many packages.

> Have a nice day.
>
> Lumír

-- 
Elliott
_______________________________________________
python-devel mailing list -- python-devel@lists.fedoraproject.org
To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org
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/python-devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to