NASA-IMPACT / veda-backend

Backend services for VEDA
Other
13 stars 5 forks source link

chore: remove moto from setup. leave in requirements_dev #421

Closed stephenkilbourn closed 3 months ago

stephenkilbourn commented 3 months ago

What?

We were seeing cannot import name 'mock_dynamodb' from 'moto because moto made a breaking change on the imports in moto version 5. We already have moto[dynamodb, ssm]>=4.0.9,<5.0 in the ingest api requirements_dev to address this, but there was an unpinned version in the setup.py. I'm making this change to just have the import with the pinned version in a single location.