-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Error with toml package when deploying project #1246
Comments
I tried to install that package version:
I checked in pypi (https://pypi.python.org/pypi/toml) and it seems that in fact the two version packages are the same. Therefore I don't think requirements.txt needs to be udpated. It's probably a bug in the packaging system that doesn't support four levels in the version? |
I think the same issue is causing recent problems in this issue as well #64. I believe the issue is that the code in toml version 0.9.3.1 refers to itself as 0.9.3 in it's code. |
Would this be fixed if Zappa didn't peg requirement versions? |
This is |
but it would allow the user to pin the working version of toml and still use the latest/greatest zappa |
Yeah it looks like we either roll back to toml 0.9.2 (which may not be possible) or wait for a new toml release (0.9.4). Zappa version 0.44.3 is the latest version of Zappa with working toml (0.9.2) in it, in case anyone out there is wondering. |
I get this error when I deploy my project:
My understanding is that when zappa gets installed, the requirement is toml==0.9.3, but when it tries to make the package that will be send to Amazon, it does not find toml==0.9.3 (it does find toml==0.9.3.1 though).
Would it be a solution to update the requirements.txt (and require toml==0.9.3.1?My environment is python 3.6, and the latest zappa available in pip.
By the way I think the deployment should fail in this kind of situation. I guess this is what #1235 is about.
The text was updated successfully, but these errors were encountered: