Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deploy fails with pip 10.0.0 #808

Closed
dmulter opened this issue Apr 23, 2018 · 5 comments · Fixed by #812
Closed

deploy fails with pip 10.0.0 #808

dmulter opened this issue Apr 23, 2018 · 5 comments · Fixed by #812
Labels

Comments

@dmulter
Copy link
Contributor

dmulter commented Apr 23, 2018

I'm running a venv with Python 3.6.3 and just upgraded PIP from 9.0.3 to the 10.0.0 and get the following error for chalice deploy:

chalice.deploy.packager.PackageDownloadError: Traceback (most recent call last):
  File "<string>", line 1, in <module>
AttributeError: module 'pip' has no attribute 'main'

I downgrade back to 9.0.3 and all works fine.

@dstufft
Copy link

dstufft commented Apr 23, 2018

There is a version pin for pip<10 in our setup.py, however we should update chalice to handle pip 10 and drop that pin.

@dstufft dstufft added the bug label Apr 23, 2018
@jamesls
Copy link
Member

jamesls commented Apr 23, 2018

Yeah I ran into this myself. I wonder if it's worth having (assuming it's feasible) the range be >9,<11 or if we should just only support 10.x.

@dstufft
Copy link

dstufft commented Apr 23, 2018

It should be pretty easy to support both.

@dmulter
Copy link
Contributor Author

dmulter commented Jul 30, 2018

FYI, the same thing is happening again when upgrading to the latest pip v18.0.

@ricky-sb
Copy link

Looks like the new pip version broke chalice again. Getting the same error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants