Bug#896218: python-brial: brial fails to import

Tobias Hansen thansen at debian.org
Sat Apr 21 10:11:52 BST 2018


Control: severity -1 normal

Hi Helmut,

thanks for the bug report. We are aware that brial has a circular dependency with sagemath. src:sagemath build-depends on src:brial and python-brial should depend on sagemath. We didn't add this dependency in order not to manifest the circular dependency in the package relationships. We brought this up with upstream once (can't find it now) but they didn't care. For that reason I don't know if there is anything to be done at the moment.

Best,
Tobias

On 04/20/2018 10:00 PM, Helmut Grohne wrote:
> Package: python-brial
> Version: 1.2.0-2
> Severity: serious
> User: helmutg at debian.org
> Usertags: python-import
>
> After installing python-brial importing the module brial
> into a python interpreter fails with the following error:
>
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
>   File "/usr/lib/python2.7/dist-packages/brial/__init__.py", line 31, in <module>
>     from .PyPolyBoRi import *
>   File "/usr/lib/python2.7/dist-packages/brial/PyPolyBoRi.py", line 66, in <module>
>     from sage import all
> ImportError: No module named sage
>
> The vast majority of import failures is attributed to missing dependencies.
> Often times that manifests as an ImportError or ModuleNotFoundError.
> Typically, dependencies should be inserted by dh-python via ${python:Depends}
> or ${python3:Depends}. Thus a missing dependency can be caused by incomplete
> install_requires in setup.py. Sometimes a missing dependency of a dependency
> is the cause, in such cases this bug should be reassigned.
>
> Helmut
>



More information about the debian-science-maintainers mailing list