awslabs / amazon-neptune-tools

Tools and utilities to enable loading data and building graph applications with Amazon Neptune.
Apache License 2.0
297 stars 151 forks source link

When running neptune-python-utils in Glue 4, the job fails due to urllib3 conflict #330

Open brianok-aws opened 1 year ago

brianok-aws commented 1 year ago

The exception generated is "ImportError: cannot import name 'DEFAULTCIPHERS' from 'urllib3.util.ssl' (/tmp/neptune_pythonutils.zip/urllib3/util/ssl.py)" when calling "from neptune_python_utils.glue_neptune_connection_info import GlueNeptuneConnectionInfo" in the Glue job. The underlying reason is botocore which does not support urllib3 2.0 yet, but releases imports urllib3.