question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

annotation not available in Python 3.6.8

See original GitHub issue
Traceback (most recent call last):
  File "/media/kavan/DATA/**/**/main.py", line 4, in <module>
    from dbus_next.aio import MessageBus
  File "/media/kavan/DATA/**/**/venv_3_6/lib/python3.6/site-packages/dbus_next/__init__.py", line 1, in <module>
    from . import aio
  File "/media/kavan/DATA/**/**/venv_3_6/lib/python3.6/site-packages/dbus_next/aio/__init__.py", line 1, in <module>
    from .message_bus import MessageBus
  File "/media/kavan/DATA/**/**/venv_3_6/lib/python3.6/site-packages/dbus_next/aio/message_bus.py", line 1
    from __future__ import annotations
    ^
SyntaxError: future feature annotations is not defined

ik this is easy. i will fix this and open new PR when i have time

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
acriscicommented, Aug 26, 2019

4bcf72a

0reactions
ryao-mdandersoncommented, Dec 30, 2021

@acrisci Sorry I was working on application galaxy and hit this similar issue. Thanks for correcting me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

future-annotations - PyPI
future-annotations. A backport of __future__ annotations to python<3.7. Installation. pip install future-annotations. Usage.
Read more >
python - Use annotations on Pytnon 3.6.5 - Stack Overflow
I've found this answer on github and I'm reposting it in case anyone ends up here like me. As pointed out by @ForceBru...
Read more >
Python Release Python 3.6.8
If installing Python 3.6 as a non-privileged user, you may need to escalate to administrator privileges to install an update to your C...
Read more >
What's New In Python 3.6 — Python 3.11.1 documentation
Just as for function annotations, the Python interpreter does not attach any particular meaning to variable annotations and only stores them in the ......
Read more >
typing — Support for type hints — Python 3.11.1 documentation
The Python runtime does not enforce function and variable type annotations. They can be used by third party tools such as type checkers,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found