control: reassign -1 spyder
control: affects -1 spyder-memory-profiler

On Fri, 2017-03-31 at 10:33 +0100, Chris Lamb wrote:
> Ghislain Vaillant wrote:
> 
> > I am going to need some more context here. The build ran fine on the 
> > builders when the package was initially uploaded, and still runs fine on 
> > both my unstable chroot and debomatic [1].
> 
>   /usr/lib/python3/dist-packages/spyder/utils/programs.py:33: in <module>
>       username = encoding.to_unicode_from_fs(os.environ.get('USER'))
> 
> ^ Looks like it assumes that a USER environment variable exists. Is this
> a fair assumption to make?

So that's an issue with upstream spyder, not spyder-memory-profiler
then.

I'll offer a patch to switch to using Python's getpass.getuser(), which
should be more robust than the current reliance on the USER envvar.

Do you believe the RC severity remains justified though?

Cheers,
Ghis

-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to