On 11/29/20 11:11 PM, Donald Stufft wrote:
> On Nov 29, 2020, at 5:00 PM, Felix Schwarz <fschwarz(a)fedoraproject.org> wrote:
> I just noticed that the new packaging macros create a .dist-info directory instead of
> Just to be sure: There is no incompatibility between these two, right? So
setuptools-based code can still retrieve all the package metadata in .dist-info
> (If so I can just update the package in Fedora as that dist-info change itself does
not break any backwards compatibility as far as other packages are concerned.)
Unless there’s something fedora specific going on, that should be correct. Upstream side,
anytime pip installs from a Wheel it produces a dist-info instead of a egg-info, so if
there was some compatibility issue, it should have been exposed awhile ago.
Nothing Fedora specific going on... Well, except that we delete the RECORD file
when installed via %pyproject_install.
Hence wrt backwards compatibility: pip might now refuse to uninstall the RPM
installed package, while previously it would have done so happily. That is an
improvement, but technically is not 100% backwards compatible behavior.