Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
BorisShirokikh opened this issue Aug 15, 2024 · 0 comments

Comments

@BorisShirokikh
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant