On 05. 08. 19 23:59, Kevin Kofler wrote:
Miro Hrončok wrote:
On 16. 07. 19 19:25, Kevin Kofler wrote:
At the very least, we need a python2-unversioned-command (and
python-unversioned-command in existing releases needs to Provide it so
that we don't have to add yet another %if boilerplate snippet) so the
packages can keep building as intended by upstream.
No we don't.
So how do you propose I build Qt 4 qtwebkit now?
* The package is no longer supported by upstream, so it will never be fixed
upstream.
* It has dozens of build scripts expecting python to be Python 2.
* Dozens of applications still depend on it, so dropping it is not an
option.
Having a python2-unversioned-command available (conflicting with the default
python-unversioned-command) would make for a quick fix to keep it building.
Any other alternative looks highly impractical to me.
Maintaining legacy software is impractical. Use a hack. There are some options:
1) carefully sed python for python2
2) define a function, export it:
function python() { python2 "$@"; }
export -f python
3) define a custom PATH:
mkdir hackpath
ln -s %{__python2} hackpath/python
export PATH=$(pwd)/hackpath:$PATH
-----
Let me kindly remind you that using /usr/bin/python is against the packaging
guidelines since Fedora 29. Making assumptions about the versions of
/usr/bin/python has been forbidden since I don't know when.
The python2-unversioned-command would be pulled by users when they install
/usr/bin/python. We don't want that. Python 2 is deprecated and will be removed,
this was communicated loudly and handled slowly for years.
If you need to keep Qt 4 qtwebkit in Fedora 32 and it cannot be built with
Python 3 with any reasonable effort, you will need a FESCo exception anyway.
I'm sorry we made your packaging work more hard than it is. But we will not
provide Python2ish /usr/bin/python2 in a Fedora package. This was an approved
Fedora change and you have had your chance to argue against it **before** it was
implemented, if you think this change should be revisited, please explain what
circumstances have changed.
--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
_______________________________________________
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