[Python-modules-team] Bug#843898: Something to try
thansen at debian.org
Mon Nov 21 13:08:37 UTC 2016
On 11/21/2016 01:03 PM, Sebastian P. Luque wrote:
> On Sun, 20 Nov 2016 19:57:53 -0600,
> Sebastian P. Luque <spluque at gmail.com> wrote:
>> On Sun, 20 Nov 2016 21:01:08 +0000,
>> Tobias Hansen <thansen at debian.org> wrote:
>>>> $ ls -alh ~/.local/lib/python2.7/site-packages/backports/ total 12K
>>>> drwxr-xr-x 3 sluque sluque 4.0K Oct 30 16:16 . drwx------ 20 sluque
>>>> sluque 4.0K Oct 30 16:18 .. drwxr-xr-x 2 sluque sluque 4.0K Oct 30
>>>> 16:16 configparser
>>> What happens if you rename that for a moment? Does it fix the
>> No; same result.
> I just tried a different approach, and it's revealing:
> $ python -s
> Python 2.7.12+ (default, Sep 1 2016, 20:27:38)
> [GCC 6.2.0 20160927] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>> from backports.shutil_get_terminal_size import get_terminal_size
> Why on Earth did moving ~/.local/lib/python2.7/site-packages/backports
> not have the same effect is beyond me.
So I guess we can close the bug. The problem is that different backport
packages can conflict with each other. The only thing we could think
about is if python-backports-shutil-get-terminal-size could be changed
to be more robust against that. Looks like a task for upstream.
More information about the Python-modules-team