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

2018-04-21 Thread Tobias Hansen
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: helm...@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 "", line 1, in 
>   File "/usr/lib/python2.7/dist-packages/brial/__init__.py", line 31, in 
> 
> from .PyPolyBoRi import *
>   File "/usr/lib/python2.7/dist-packages/brial/PyPolyBoRi.py", line 66, in 
> 
> 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
>



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

2018-04-21 Thread Debian Bug Tracking System
Processing control commands:

> severity -1 normal
Bug #896218 [python-brial] python-brial: brial fails to import
Severity set to 'normal' from 'serious'

-- 
896218: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=896218
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



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

2018-04-20 Thread Helmut Grohne
Package: python-brial
Version: 1.2.0-2
Severity: serious
User: helm...@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 "", line 1, in 
  File "/usr/lib/python2.7/dist-packages/brial/__init__.py", line 31, in 

from .PyPolyBoRi import *
  File "/usr/lib/python2.7/dist-packages/brial/PyPolyBoRi.py", line 66, in 

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