reanahub / reana-client

REANA command-line client
http://reana-client.readthedocs.io/
MIT License
10 stars 45 forks source link

fix py36 compatibility #644

Closed tiborsimko closed 1 year ago

tiborsimko commented 1 year ago

Latest reana-client pre-release on PyPI is not working with Python 3.6:

$ mkvirtualenv py36 -p python3.6
$ pip install reana-client --pre
$ pip freeze | grep reana-client
reana-client==0.9.0a7
$ reana-client version
...
  File ".virtualenvs/py36/lib/python3.6/site-packages/bravado_core/unmarshal.py", line 17, in <module>
    from bravado_core.model import MODEL_MARKER
  File ".virtualenvs/py36/lib/python3.6/site-packages/bravado_core/model.py", line 13, in <module>
    from swagger_spec_validator.ref_validators import attach_scope
  File ".virtualenvs/py36/lib/python3.6/site-packages/swagger_spec_validator/__init__.py", line 1, in <module>
    from swagger_spec_validator.common import SwaggerValidationError
 File ".virtualenvs/py36/lib/python3.6/site-packages/swagger_spec_validator/common.py", line 1
    from __future__ import annotations
    ^
SyntaxError: future feature annotations is not defined