Chalice: Package on PyPi not in sync with Github

Created on 15 Sep 2016  路  2Comments  路  Source: aws/chalice

When deploying, I get:
Error: Unable to import your app.py file: cannot import name UnauthorizedError

Because, in __init__.py in the pip-package, lno. 2:

from chalice.app import ChaliceViewError, BadRequestError, NotFoundError

In __init__.py on Github (https://github.com/awslabs/chalice/blob/c9bef0c4e7d1aa6bb8f8bb3df110c52dc91e5798/chalice/__init__.py#L2-L5):

from chalice.app import (
    ChaliceViewError, BadRequestError, UnauthorizedError, ForbiddenError,
    NotFoundError, ConflictError, TooManyRequestsError
)

Most helpful comment

I'd like to get a few more changes together, I'll be getting a pypi release out shortly.

All 2 comments

I'd like to get a few more changes together, I'll be getting a pypi release out shortly.

I was hoping to get CORs support in this release, but it's going to take a little more time and I'd prefer to get all the bug fixes pushed sooner rather than later. pypi now has version 0.2.0 release which includes the fix for the issue your'e seeing.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

stannie picture stannie  路  4Comments

mrdavidhanson picture mrdavidhanson  路  3Comments

kortina picture kortina  路  3Comments

cdalar picture cdalar  路  4Comments

jarretraim picture jarretraim  路  3Comments