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.
>
> Similarly there are no macros for Python 3.5 or 3.7 in Fedora, but the Pythons
> are available.
>
> 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).
>
> > 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.
>

I am okay with disabling the generator for Python 2, since that just
reverts us to the state before we integrated my generator into Fedora
by default (which really wasn't that long ago). But removing the
macros is a step too far for my taste.

The only reason we don't have macros for building against alternate
Python 3 versions is because our macros make that difficult to automate.
One day, maybe we'll be able to fix that...

That said, running the generator on Python 3 doesn't mean it can't
read Python 2 module metadata. The format hasn't actually *changed* to
break that...




--
真実はいつも一つ!/ Always, there's only one truth!
_______________________________________________
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