seznam / fastrpc

FastRPC library
http://seznam.github.io/frpc
GNU Lesser General Public License v2.1
46 stars 45 forks source link

Debian package for python-fastrpc 8.0.1 cant be installed because of syntax errors #55

Closed KeNaCo closed 6 years ago

KeNaCo commented 6 years ago

Gusy.. like.. do you even test it once?

Setting up python-fastrpc (8.0.1) ...
  File "/usr/lib/python2.7/dist-packages/fastrpc/handler/aiohttp.py", line 42
    def register_method(self, method_name: str, func: Callable) -> None:
                                         ^
SyntaxError: invalid syntax

  File "/usr/lib/python2.7/dist-packages/fastrpc/handler/flask.py", line 43
    def __init__(self, app: Flask=None, register_introspection_methods: bool=True,
                          ^
SyntaxError: invalid syntax

dpkg: error processing package python-fastrpc (--configure):
 subprocess installed post-installation script returned error exit status 101
volca02 commented 6 years ago

Reverted the commits that caused the problem.

volca02 commented 6 years ago

Will contact the authors to let them fix the issue.

volca02 commented 6 years ago

breaking package was mistakenly built from HEAD, not tag. Will issue a fixed package soon.

volca02 commented 6 years ago

4127555db3996066cd7d48f95dd976830111220a (python 8.0.3) should fix the problem