Hi Étienne & Nilesh, thanks to you both for your investigation. I have no actual contribution to the discussion but may be it makes sence to
1. CC the bug reports of the packages in question 2. Move the discussion to [email protected] Kind regards and thanks again Andreas. On Fri, Oct 02, 2020 at 04:19:15PM +0530, Nilesh Patra wrote: > Hi Étienne > > On Fri, 2 Oct 2020, 16:08 Étienne Mollier, <[email protected]> > wrote: > > > Hi Andreas, > > > > While investigating test failures in Qiime2, I came up with > > issues using the python module pkg_resources, which yields empty > > sets while it should return a "dummy-plugin" entry point, and > > this: > > > > Andreas Tille, on 2020-09-30 18:15:22 +0200: > > > package_name = 'cobra' > > > additional = ('pip', 'flit', 'pbr', 'setuptools', 'wheel') > > > > > > def get_pkg_info( > > > package_name, additional=("pip", "flit", "pbr", "setuptools", > > "wheel") > > > ): > > > """Return build and package dependencies as a dict.""" > > > dist_index = build_dist_index(pkg_resources.working_set) > > > > root = dist_index[package_name] > > > E KeyError: 'cobra' > > > > > > /usr/lib/python3/dist-packages/depinfo/info.py:47: KeyError > > > > could be somewhat similar. > > > > I'm afraid I haven't found a solution yet on either side, but > > I'm wondering if there wouldn't have been a change of behavior > > on pkg_resources side. > > > > Just a thought... > > > > Maybe you're right. There's a similar pkg_resources error for gubbins FTBFS > bug report[1] as well. > > While in principle it _should_ load the version properly, and it was doing > so earlier. > > I'm not really sure of what changed exactly though - but I also do see this > on a couple of other python packages as well. > > [1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?archive=no&bug=971111 > > Kind Regards, > Nilesh -- http://fam-tille.de

