On Mon, 15 Jan 2018 at 12:59:29 +0100, Andreas Tille wrote: > E File > "/build/python-aws-xray-sdk-0.95/.pybuild/pythonX.Y_2.7/build/tests/test_async_local_storage.py", > line 10 > E async def _test(): > E ^ > E SyntaxError: invalid syntax
Looks like it needs python3 >= 3.5. https://www.google.com/search?q=async%20def > python-aws-xray-sdk (0.95-1) wird eingerichtet ... > File "/usr/lib/python2.7/dist-packages/aws_xray_sdk/core/async_context.py", > line 14 > def __init__(self, *args, loop=None, use_task_factory=True, **kwargs): > ^ > SyntaxError: invalid syntax That's Python 3 syntax too. https://www.python.org/dev/peps/pep-3102/ smcv