On Fri, Sep 07, 2018 at 09:49:40PM -0400, Scott Talbert wrote:
I'm thinking about removing some of my Python 2 subpackages
(that
are no longer used). However, I'm wondering about the case where
the removed packages should be added to fedora-obsolete-packages. I
don't _think_ the removal of my packages would cause any problems
upon upgrade.
Can someone provide an example of a situation where a removed
package could cause a problem on upgrade (and should thus be added
to fedora-obsolete-packages).
Hi,
you should always add the old subpackage to fedora-obsolete-packages.
There are two possibilities for how the subpackage affects upgrade:
1. if your subpackage depends on other packages, then the presence
of your subpackage can prevent the upgrade of those other packages.
Users might need to use --allowerasing to work around that, and we
don't want that, upgrades must be possible without --allowerasing.
2. if your subpackage does not depend on anything except python2, then
there is no immediate problem with upgrade (since python2 is staying
around for now), but the users of your package have an obsolete package
installed that is not being upgraded or supported.
Note that policy is that python2- subpackages should be removed before
the release of any given Fedora version, the same as for normal packages.
Zbyszek