Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 662066 - sys-libs/libblockdev-2.18-r1: TypeError: can only concatenate list (not "dict_keys") to list on py3
Summary: sys-libs/libblockdev-2.18-r1: TypeError: can only concatenate list (not "dict...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-25 05:36 UTC by Michał Górny
Modified: 2019-02-23 15:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-07-25 05:36:45 UTC
The Python module installed by the package is not fully compatible with Python 3.4+:

>>> from gi.repository import BlockDev
>>> dir(BlockDev.btrfs)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.7/site-packages/gi/overrides/BlockDev.py", line 915, in __dir__
    items = set(dir(self._mod) + locals().keys())
TypeError: can only concatenate list (not "dict_keys") to list
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2019-02-23 15:15:41 UTC
Is this still an issue with recent releases?
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2019-02-23 15:16:31 UTC
Nevermind. Upstream fixed this months ago.