Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #921547

Bug#909990: Stange import error for nibabel when trying to import from .pybuild

From Yaroslav Halchenko <debian@onerussian.com>
Newsgroups linux.debian.bugs.dist, linux.debian.maint.python
Subject Bug#909990: Stange import error for nibabel when trying to import from .pybuild
Date 2018-10-08 17:30 +0200
Message-ID <wGFDP-th-1@gated-at.bofh.it> (permalink)
References <wDT0B-87w-15@gated-at.bofh.it> <wGDVn-7T2-1@gated-at.bofh.it> <wDT0B-87w-15@gated-at.bofh.it> <wGDVn-7T2-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Thank you Andreas for looking into it

2.3.1 bugfix is around the corner
https://github.com/nipy/nibabel/pull/667
so I will aim to make sure the #909990 is fixed within it (for starters
- I do not think I observed this exception when building from current RC
  branch)


On Mon, 08 Oct 2018, Andreas Tille wrote:

> Hi,

> to see what I can do about bug #909990 I've imported the latest version
> into the packaging Git[1].  When beeing inside the main dir of the Git
> repository I can easily do

> neurodebian-team/pynifti(debian) $ python3
> Python 3.6.6 (default, Jun 27 2018, 14:44:17) 
> [GCC 8.1.0] on linux
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import nibabel


> However, if I try inside the .pybuild dir I get:

> /build/nibabel-2.3.0/.pybuild/cpython3_3.6_nibabel/build# python3.6
> Python 3.6.7rc1 (default, Sep 27 2018, 09:51:25) 
> [GCC 8.2.0] on linux
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import nibabel
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/build/nibabel-2.3.0/.pybuild/cpython3_3.6_nibabel/build/nibabel/__init__.py", line 45, in <module>
>     from .loadsave import load, save
>   File "/build/nibabel-2.3.0/.pybuild/cpython3_3.6_nibabel/build/nibabel/loadsave.py", line 18, in <module>
>     from .imageclasses import all_image_classes
>   File "/build/nibabel-2.3.0/.pybuild/cpython3_3.6_nibabel/build/nibabel/imageclasses.py", line 16, in <module>
>     from .minc1 import Minc1Image
>   File "/build/nibabel-2.3.0/.pybuild/cpython3_3.6_nibabel/build/nibabel/minc1.py", line 20, in <module>
>     from .deprecated import FutureWarningMixin
> ImportError: cannot import name 'FutureWarningMixin'

-- 
Yaroslav O. Halchenko
Center for Open Neuroscience     http://centerforopenneuroscience.org
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834                       Fax: +1 (603) 646-1419
WWW:   http://www.linkedin.com/in/yarik        

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#909990: nibabel: FTBFS (Failed example) Santiago Vila <sanvila@debian.org> - 2018-10-01 01:10 +0200
  Bug#909990: Stange import error for nibabel when trying to import from .pybuild Andreas Tille <andreas@an3as.eu> - 2018-10-08 15:40 +0200
    Bug#909990: Stange import error for nibabel when trying to import from .pybuild Yaroslav Halchenko <debian@onerussian.com> - 2018-10-08 17:30 +0200
      Bug#909990: Stange import error for nibabel when trying to import from .pybuild Andreas Tille <tille@debian.org> - 2018-10-09 10:40 +0200
        Bug#909990: Stange import error for nibabel when trying to import from .pybuild Yaroslav Halchenko <yoh@debian.org> - 2018-10-12 15:20 +0200
          Bug#909990: Stange import error for nibabel when trying to import from .pybuild Yaroslav Halchenko <yoh@debian.org> - 2018-10-12 15:20 +0200
            Bug#909990: Stange import error for nibabel when trying to import from .pybuild Andreas Tille <tille@debian.org> - 2018-10-13 23:20 +0200
              Bug#909990: Stange import error for nibabel when trying to import from .pybuild Yaroslav Halchenko <yoh@debian.org> - 2018-10-14 02:40 +0200
                Bug#909990: Stange import error for nibabel when trying to import from .pybuild Andreas Tille <tille@debian.org> - 2018-10-14 09:20 +0200
                Bug#909990: Stange import error for nibabel when trying to import from .pybuild Yaroslav Halchenko <yoh@debian.org> - 2018-10-18 15:30 +0200
  Bug#909990: New version uploaded - does that problem persist? Andreas Tille <andreas@an3as.eu> - 2018-10-12 13:40 +0200
  Bug#909990: Stange import error for nibabel when trying to import from .pybuild Yaroslav Halchenko <yoh@debian.org> - 2018-10-18 15:30 +0200
    Bug#909990: Stange import error for nibabel when trying to import from .pybuild Andreas Tille <tille@debian.org> - 2018-10-18 16:30 +0200
      Bug#909990: Stange import error for nibabel when trying to import from .pybuild Yaroslav Halchenko <yoh@debian.org> - 2018-10-18 17:10 +0200

csiph-web