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

Pyvo import fails on current main branch #1314

Open
stvoutsin opened this issue Feb 29, 2024 · 0 comments
Open

Pyvo import fails on current main branch #1314

stvoutsin opened this issue Feb 29, 2024 · 0 comments

Comments

@stvoutsin
Copy link
Collaborator

stvoutsin commented Feb 29, 2024

import pyvo

        Traceback (most recent call last):
          File "<stdin>", line 1, in <module>
          File "/usr/local/lib/python3.11/site-packages/pyvo/__init__.py", line 37, in <module>
            from . import registry
          File "/usr/local/lib/python3.11/site-packages/pyvo/registry/__init__.py", line 7, in <module>
            from . import regtap
          File "/usr/local/lib/python3.11/site-packages/pyvo/registry/regtap.py", line 19, in <module>
            from ..dal import scs, sia, ssa, sla, tap, query as dalq
          File "/usr/local/lib/python3.11/site-packages/pyvo/dal/__init__.py", line 2, in <module>
            from .sia import search as imagesearch
          File "/usr/local/lib/python3.11/site-packages/pyvo/dal/sia.py", line 39, in <module>
            from .query import DALResults, DALQuery, DALService, Record
          File "/usr/local/lib/python3.11/site-packages/pyvo/dal/query.py", line 47, in <module>
            from ..utils.decorators import stream_decode_content
          File "/usr/local/lib/python3.11/site-packages/pyvo/utils/decorators.py", line 4, in <module>
            from astropy.utils.decorators import wraps
        ImportError: cannot import name 'wraps' from 'astropy.utils.decorators' 

This version of pyvo (1.1) is not compatible with the astropy version that we upgraded to
Pyvo version 1.5.1 is compatible, so we need to update to that

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