zappa / Zappa

Serverless Python
https://zappa.ws/zappa
MIT License
3.25k stars 363 forks source link

[Migrated] Error with toml package when deploying project #468

Closed jneves closed 5 months ago

jneves commented 3 years ago

Originally from: https://github.com/Miserlou/Zappa/issues/1246 by alfonsomhc

I get this error when I deploy my project:

Packaging project as gzipped tarball.
  Could not find a version that satisfies the requirement toml==0.9.3 (from versions: 0.6.0, 0.6.5, 0.7.0, 0.7.1, 0.8.0, 0.8.1, 0.8.2, 0.9.0, 0.9.1, 0.9.2, 0.9.3.1)
No matching distribution found for toml==0.9.3

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.

github-actions[bot] commented 5 months ago

Hi there! Unfortunately, this Issue has not seen any activity for at least 90 days. If the Issue is still relevant to the latest version of Zappa, please comment within the next 10 days if you wish to keep it open. Otherwise, it will be automatically closed.

github-actions[bot] commented 5 months ago

Hi there! Unfortunately, this Issue was automatically closed as it had not seen any activity in at least 100 days. If the Issue is still relevant to the latest version of Zappa, please open a new Issue.