Bug#954403: joblib: configuration error installing python3-joblib

Sebastian Ramacher sramacher at debian.org
Mon Nov 30 22:39:45 GMT 2020


Control: reassign -1 python3-minimal 3.8.6-1
Control: affects -1 src:joblib

On 2020-03-21 11:25:31 +0200, Graham Inggs wrote:
> Source: joblib
> Version: 0.14.0-3
> Severity: serious
> Control: affects -1 src:spades src:circlator
> 
> Hi Maintainer
> 
> While attempting to run the autopkgtests triggered by python3-defaults
> for spades [1] and circlator [2], python3-joblib fails to install with
> the following error:
> 
> Setting up python3-joblib (0.14.0-3) ...
> ...
>   File "/usr/lib/python3/dist-packages/joblib/test/test_func_inspect_special_encoding.py",
> line 0
> SyntaxError: unknown encoding: big5
> 
> dpkg: error processing package python3-joblib (--configure):
>  installed python3-joblib package post-installation script subprocess
> returned error exit status 1

That's not an issue in joblib, but in py3compile. If python3.X is
installed, everything works as expected as one can see in the
statsmodels and scikit-learn tests. Compilation fails if
python3.X-minimal is installed, but python3.X is not. Then some module
handling encoding is not installed and py3compile fails.

One can easily reproduce this issue in current unstable with
python3.8-minimal installed and python3.8 removed. In the autopkgtests
of circlator and spades we also see

The following packages were automatically installed and are no longer required:
  libpython3.8-minimal python3.8-minimal
Use 'apt autoremove' to remove them.

Reassigning to python3-minimal which contains py3compile. Not sure what
the best option here is to fix in py3compile, but ignoring that
particular error would be a start. A file without bytecode would be
better than installation failure in this case.

Cheers

> 
> I've set the severity serious as this blocks the migration of
> python3-defaults with Python 3.8 as default.
> 
> Regards
> Graham
> 
> 
> [1] https://ci.debian.net/user/britney/jobs?package=spades&suite[]=testing&arch[]=amd64
> [2] https://ci.debian.net/user/britney/jobs?package=circlator&suite[]=testing&arch[]=amd64

-- 
Sebastian Ramacher
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20201130/787e192f/attachment.sig>


More information about the debian-science-maintainers mailing list