[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help needed to upgrade python-cobra



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...
-- 
Étienne Mollier <etienne.mollier@mailoo.org>
Old rsa/3072: 5ab1 4edf 63bb ccff 8b54  2fa9 59da 56fe fff3 882d
New rsa/4096: 8f91 b227 c7d6 f2b1 948c  8236 793c f67e 8f0d 11da
Sent from /dev/pts/0, please excuse my verbosity.

Attachment: signature.asc
Description: PGP signature


Reply to: