Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
brianok-aws opened this issue Sep 12, 2023 · 0 comments

Comments

@brianok-aws
Copy link

The exception generated is "ImportError: cannot import name 'DEFAULT_CIPHERS' from 'urllib3.util.ssl_' (/tmp/neptune_python_utils.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.

brianok-aws added a commit to brianok-aws/amazon-neptune-tools that referenced this issue Sep 12, 2023
Pinning requests to 2.29.0 to avoid importing urllib3 2.0 and resolve the conflict with lack of support for that library in botocore to resolve Issues awslabs#330.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant