HDFGroup / hsds

Cloud-native, service based access to HDF data
https://www.hdfgroup.org/solutions/hdf-kita/
Apache License 2.0
128 stars 52 forks source link

aiobotocore API has changed #110

Closed mkatgert closed 2 years ago

mkatgert commented 2 years ago

When building the docker image from the master branch I ran into the issue that aiobotocore recently has seen the release of version 2.0, in which the API has changed a bit: get_session() is not in init.py anymore but it has moved to aiobotocore.session. See the docs

This gives an issue, because the Dockerfile installs the latest version of aiobotocore, and the server code imports get_session from the main package and not from aiobotocore.session. The containers fail to start because of this issue.

Possible solutions would be to convert imports (a lot of them) or to pin to version 1.4.2 of aiobotocore.

jreadey commented 2 years ago

This should be fixed with the above merge. Thanks @benfre!