Open chrisbc opened 1 year ago
current versions from poetry ....
(kororaa-graphql-api-py3.10) chrisbc@tryharder-ubuntu:/GNSDATA/API/kororaa-graphql-api$ poetry show boto3
name : boto3
version : 1.26.135
description : The AWS SDK for Python
dependencies
- botocore >=1.29.135,<1.30.0
- jmespath >=0.7.1,<2.0.0
- s3transfer >=0.6.0,<0.7.0
required by
- moto >=1.9.201
(kororaa-graphql-api-py3.10) chrisbc@tryharder-ubuntu:/GNSDATA/API/kororaa-graphql-api$ poetry show botocore
name : botocore
version : 1.29.135
description : Low-level, data-driven core of boto 3.
dependencies
- jmespath >=0.7.1,<2.0.0
- python-dateutil >=2.1,<3.0.0
- urllib3 >=1.25.4,<1.27
required by
- boto3 >=1.29.135,<1.30.0
- moto >=1.12.201
- pynamodb >=1.12.54
- s3transfer >=1.12.36,<2.0a.0
and interactively in local env....
(kororaa-graphql-api-py3.10) chrisbc@tryharder-ubuntu:/GNSDATA/API/kororaa-graphql-api$ poetry run python
Python 3.10.6 (main, Mar 10 2023, 10:55:28) [GCC 11.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.>>> import kororaa_graphql_api
>>> import kororaa_graphql_api.cloudwatch as cw
>>> import boto3
>>> boto3.__version__
'1.26.135'
>>>
runtime error on AWS ImportError: cannot import name 'DEPRECATED_SERVICE_NAMES' from 'botocore.docs'
is triggered on the first import of boto3 in the cloudwatch module.
ref https://github.com/boto/boto3/issues/3648