Skip to content

amid-0.14.0 does not support connectome-0.9.0, though the latter satisfies requirements #72

@BorisShirokikh

Description

@BorisShirokikh

amid-0.13.0 worked fine with connectome-0.9.0; however, updating from amid-0.13.0 to amid-0.14.0 via git:

git checkout master
git pull
pip install -e .

does not update connectome. And this causes an error if one tries to import some datasets, e.g.,

$ python                                                                                                                                                                                                                                                                                                                                                
Python 3.10.4 (main, Mar 31 2022, 08:41:55) [GCC 7.5.0] on linux                                                                                                                                                                                                                                                                                                                    
Type "help", "copyright", "credits" or "license" for more information.                                                                                                                                                                                                                                                                                                              
>>> from amid.amos import AMOS                                                                                                                                                                                                                                                                                                                                                      
Traceback (most recent call last):                                                                                                                                                                                                                                                                                                                                                  
  File "<stdin>", line 1, in <module>                                                                                                                                                                                                                                                                                                                                               
  File "/beegfs/home/b.shirokikh/amid/amid/__init__.py", line 4, in <module>                                                                                                                                                                                                                                                                                                        
    from .amos import AMOS                                                                                                                                                                                                                                                                                                                                                          
  File "/beegfs/home/b.shirokikh/amid/amid/amos/__init__.py", line 1, in <module>                                                                                                                                                                                                                                                                                                   
    from .dataset import AMOS                                                                                                                                                                                                                                                                                                                                                       
  File "/beegfs/home/b.shirokikh/amid/amid/amos/dataset.py", line 9, in <module>                                                                                                                                                                                                                                                                                                    
    from ..internals import Dataset, field, licenses, register                                                                                                                                                                                                                                                                                                                      
  File "/beegfs/home/b.shirokikh/amid/amid/internals/__init__.py", line 1, in <module>
    from .dataset import Dataset, field
  File "/beegfs/home/b.shirokikh/amid/amid/internals/dataset.py", line 4, in <module>
    from connectome import ExternalBase
ImportError: cannot import name 'ExternalBase' from 'connectome' (/trinity/home/b.shirokikh/miniconda3/lib/python3.10/site-packages/connectome/__init__.py)
>>>

Updating to connectome-0.10.0 works fine though. I recommend bumping connectome version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions