aromanovich / jsl

A Python DSL for describing JSON schemas
http://jsl.readthedocs.org/
Other
218 stars 21 forks source link

pip install on Python 3.4 causes exception in ext/hyper.py #19

Closed tmu closed 8 years ago

tmu commented 8 years ago
$ python --version
Python 3.4.3
$ pip install jsl
Downloading/unpacking jsl
  Downloading jsl-0.2.1.tar.gz
  Running setup.py (path:/oura/env/api/build/jsl/setup.py) egg_info for package jsl

Installing collected packages: jsl
  Running setup.py install for jsl
      File "/oura/env/api/lib/python3.4/site-packages/jsl/ext/hyper.py", line 70
        print ArrayField()._extend_schema({})
                       ^
    SyntaxError: invalid syntax

Successfully installed jsl
Cleaning up...
aromanovich commented 8 years ago

Oops, those files accidentally got into the release. Fixed in jsl==0.2.2. Thanks for reporting the problem!