Re: Fedora 34 Change: Remove Python2 RPM Macros (Self-Contained Change proposal)

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

 



On Sat, Jan 16, 2021 at 2:50 AM Miro Hrončok <mhroncok@xxxxxxxxxx> wrote:
>
> On 15. 01. 21 22:49, Neal Gompa wrote:
> > I would really rather not have this happen until we're going to retire
> > Python 2 entirely. The Python 2 macros are already separate from the
> > Python 3 ones, so we could just leave them alone until we're ready to
> > just remove Python 2 entirely.
>
> My point here is that I want to keep Python 2 much longer (for developers who
> unfortunately still need to support it, e.g. for RHEL 7) than I'd like to keep
> allowing packages to buiid with it.

May I suggest "don't bother". The ongoing requirement of python2 for
RPM in RHEL 7 should not hinder any other work. Tools published using
python 2 should, in almost all cases, be upgraded to to python 3 for
stability and supportability. I'm particularly staring at tools in
EPEL, such as awscli and ansible.

> Similarly there are no macros for Python 3.5 or 3.7 in Fedora, but the Pythons
> are available.

And it's a problem for people who use EPEL and who use Amazon Linux 2,
which chose to jump to python 3.7 as the base for python 3 rather than
python 3.6 as RHEL 7 and RHEL 8 did.

> I'd also like to stop worrying about compatibility of the Python RPM generators
> with Python 2 packages (it gets extremely hard to test, as the real word
> scenarios in Fedora are currently almost non-existent).

Yeah, especially when you start trying to chase down the dependency
chains. Don't get me started on the circular dependencies for subtly
distinct versions of "sphinx" expanding those dependency chains.Or get
me going on the unwelcome and unnecessary "bundling of three distinct
AWS published modules into the "s3transfer" package.

> > Moving the Python 2 macro files (and the python2-rpm-macros package)
> > from the python-rpm-macros package to the python27 package would also
> > simplify this eventual retirement.
>
> That might be the way if the proposal is rejected (or reduced to generators
> only), I'll keep that in mind, thanks.
>
> On 15. 01. 21 22:59, Igor Raits wrote:
>  > Fully agree here, unless we are really going to drop python2 stuff completely
>  > from distribution.
>
> We are really removing the Python 2 "stuff" (except for the interpreter itself)
> from the distribution, slowly but steadily. This change does not in general
> impact packages that happen to need Python 2 to build only, it only impacts a
> dozen of "Python 2 packages".
>
> --
> 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
_______________________________________________
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