When should a package be Obsoleted vs letting it be autoremoved by dnf?
Example: Say you have a python module with both python2 and python3 subpackages. The only user of the python2 version has switched over to the python3 package. Then you decide to stop building the python2 subpackage. Should the python2 package then be obsoleted, or should it just be left to be garbage collected by 'dnf autoremove'?
Scott
On Mon, May 7, 2018, 03:01 Scott Talbert swt@techie.net wrote:
When should a package be Obsoleted vs letting it be autoremoved by dnf?
Example: Say you have a python module with both python2 and python3 subpackages. The only user of the python2 version has switched over to the python3 package. Then you decide to stop building the python2 subpackage. Should the python2 package then be obsoleted, or should it just be left to be garbage collected by 'dnf autoremove'?
This is being discussed at https://pagure.io/packaging-committee/issue/754
But we weren't able to come up with a solution yet.
Fabio
Scott _______________________________________________ packaging mailing list -- packaging@lists.fedoraproject.org To unsubscribe send an email to packaging-leave@lists.fedoraproject.org
On Mon, May 7, 2018 at 3:30 AM, Fabio Valentini decathorpe@gmail.com wrote:
On Mon, May 7, 2018, 03:01 Scott Talbert swt@techie.net wrote:
When should a package be Obsoleted vs letting it be autoremoved by dnf?
Example: Say you have a python module with both python2 and python3 subpackages. The only user of the python2 version has switched over to the python3 package. Then you decide to stop building the python2 subpackage. Should the python2 package then be obsoleted, or should it just be left to be garbage collected by 'dnf autoremove'?
This is being discussed at https://pagure.io/packaging-committee/issue/754
But we weren't able to come up with a solution yet.
Fabio
Obsoleting them sounds like a dangerous idea. Given the need for obscure python modules as build requirements, rather than run-time dependencies, obsoleting the old versions of those modules sounds rife with adventures.
packaging@lists.fedoraproject.org