On Tue, Jun 4, 2019 at 7:57 AM Neal Gompa <ngomp...@gmail.com> wrote:
>
> On Tue, Jun 4, 2019 at 3:26 AM Nico Kadel-Garcia <nka...@gmail.com> wrote:
> >
> > On Mon, Jun 3, 2019 at 10:51 AM Sérgio Basto <ser...@serjux.com> wrote:
> > >
> > > Hi,
> > > These removed python2 packages are breaking upgrade path
> > >
> > > 1- when you remove python2-foo , you should add to main package
> > > Obsoletes: python2-foo
> >
> > If I may suggest, *absolutely not*. "Obsoletes: python2-foo"
> > specifically means that it includes and provides "python2-foo"
> > functionality, and "python3-foo" packages *do not* provide this. There
> > are a very few tools that put things in "/usr/bin" for typical use,
> > such as the "rpm" package itself which might benefit from such
> > options. But I think it's quite dangerous to replace them willy-nilly
> > due to compatibility for old packages which would have their
> > requirements replaced with something quite incompatible without
> > notification.
> >
>
> I think you misunderstand here. Obsoletes does not specifically
> indicate it is equivalent. It is saying that you're replacing it. You
> will still get a broken dep chain if something Requires something that
> was obsoleted.
>
> It is absolutely the correct strategy to do Obsoletes (without Provides) here.

I double checked and see your point. I still think it's dangerous due
to undetected dependency chains, but not as dangerous as I thought.
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to