On Sun, 9 Sep 2018, Miro HronĨok 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.
This is not the FPC's conclusion. You should only do it if it is problematic
(as in your example 1 bellow).
https://pagure.io/packaging-committee/issue/754#comment-512716
> 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.
Okay, after thinking about this example, my package _would_ actually have
a problem on upgrade, so thanks for the example.
> 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.
Actually, I think Zbyszek may be right that we need to worry about this
case. Say there is a python2 package that only depends on python(abi) =
2.7 and this package is stopped from building. This package will remain
on user's systems. Then in Fedora 58, Python 2 is finally removed. If
the Python 2 packages are obsoleted, won't this cause a problem with the
original Python 2 subpackage?
Scott