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

In codeSpace (with Python 3.8), an error occurs in ./unittest-restful.py #2773

Closed
nicolargo opened this issue May 15, 2024 · 1 comment
Closed
Labels
Milestone

Comments

@nicolargo
Copy link
Owner

./venv/bin/python ./unittest-restful.py
Traceback (most recent call last):
  File "./unittest-restful.py", line 20, in <module>
    from glances.outputs.glances_restful_api import GlancesRestfulApi
  File "/workspaces/glances/glances/outputs/glances_restful_api.py", line 20, in <module>
    from typing import Annotated
ImportError: cannot import name 'Annotated' from 'typing' (/usr/lib/python3.8/typing.py)
make: *** [Makefile:69: test-restful] Error 1
@nicolargo
Copy link
Owner Author

Patch done in develop branch,

Will be released in Glances 4.0.5.

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

No branches or pull requests

1 participant