Mailinglist Archive: opensuse-factory (355 mails)

< Previous Next >
[opensuse-factory] Python2 expulsion
  • From: Hans-Peter Jansen <hpj@xxxxxxxxx>
  • Date: Sat, 14 Mar 2020 02:16:05 +0100
  • Message-id: <13319286.K4B2PSn3u8@xrated>
[Sorry for cross post]

Dear Christophe,

while I understand your strive for getting rid of Python2 builds, I have to
dispute the way, it is done right now.

Look at python-qt5, you added:

%if 0%{?suse_version} > 1500
ExclusiveArch: do_not_build

for the Python2 flavor.

This procedure makes it exceptionally hard for those of us, that still have to
deal with Python2 legacy, since it forces us to edit each and every spec, just
to remove these lines.


Create an conditional symbol at project level:

%if 0%{?suse_version} > 1500
%bcond_with deprecated_python2_build
%bcond_without deprecated_python2_build

and in package specs:

%if ! %{with deprecated_python2_build}
ExclusiveArch: do_not_build

This way, we get the desired default behavior, while allowing maintainers for
legacy code to deal with this issue much more efficiently (on project level).

We all have to deal with limited resources, therefor we need to cooperate.

Thanks for consideration/discussion,

To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >