-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Zappa update fails with "import pip" command #1446
Comments
What changed in your system today? There was no new Zappa version..
…On Sat, Mar 17, 2018 at 1:47 PM, Vitaly Davydov ***@***.***> wrote:
I use Gitlab CI for updating my Zappa app with the following script.
- export PIPENV_VENV_IN_PROJECT=true
- pip install pipenv
- pipenv install
- export VIRTUAL_ENV=.venv/
- export AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID_DEV
- export AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY_DEV
- export ENVIRONMENT=dev
- pipenv run python manage.py migrate --settings=admin_dashboard.settings.dev
- pipenv run zappa update dev
I also use lambci/lambda:build-python3.6 as a base image.
Until today all updates were good, but today I've got this error
[image: image]
<https://user-images.githubusercontent.com/2273226/37558391-5e41fc94-2a24-11e8-9fdc-5884445e829a.png>
What could that mean?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1446>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAIi0woikAJbN0tpakxbv4X0KMIhYOCVks5tfUwzgaJpZM4Su5X5>
.
|
Good its not just me... Not sure what happened but this is no longer working for me as well. Worked last night. Really strange. |
Nothing has changed from my side, I use the same Docker image and the same dependency file. |
Same here, I literally just redeployed my application and start receiving this error. I tested with library/python:3.6.4-alpine3.7 & frolvlad/alpine-python3 and received the same error as @iwitaly |
Do you have |
Hmmm good catch. WIll try downgrading. |
@lampslave I do use |
Yup running "pip install pip==9.0.1" fixed my issue. Looks like something is up with 9.0.2 |
@iwitaly Try to add |
Reported upstream. |
It seems that new setuptools also can break builds, if you found some problems try to freeze it too: |
Do you know how to make it work with |
Importing |
just downgrade |
It has been made clear in PIP Issue 5081 that this is due to directly importing pip within the code ( |
This also breaks new deployments. Downgrading to 9.0.1 works. |
Anyone know if the pip version 9.0.3 fixes the issue? Or are we still pinning to 9.0.1? |
Still pinning, but I think it's fixed in 9.0.3 |
pip 10.0.1 still got the issue with zappa. has to down grade 9.0.1 which everything works fine. |
when I want to install the libraries with pip |
@faoujisoka Don't upgrade pip, stick with 9.0.1 since that works with Zappa. Just pin |
pip=19.0.1 works just fine |
I use Gitlab CI for updating my Zappa app with the following script.
I also use
lambci/lambda:build-python3.6
as a base image.Until today all updates were good, but today I've got this error
![image](https://user-images.githubusercontent.com/2273226/37558391-5e41fc94-2a24-11e8-9fdc-5884445e829a.png)
What could that mean?
The text was updated successfully, but these errors were encountered: