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

[IT-3425] Fix dependency #18

Merged
merged 1 commit into from
Feb 2, 2024
Merged

Conversation

zaro0508
Copy link
Contributor

@zaro0508 zaro0508 commented Feb 1, 2024

We recently received the following error in the lambbda cloudwatch logs..

Runtime.ImportModuleError: Unable to import module 'app':
cannot import name 'DEFAULT_CIPHERS' from 'urllib3.util.ssl_'

This seems like a library conflict between botocore and urllib3 so we update according to workaround proposed at these locations:

We recently received the following error in the lambbda
cloudwatch logs..

```
Runtime.ImportModuleError: Unable to import module 'app':
cannot import name 'DEFAULT_CIPHERS' from 'urllib3.util.ssl_'
```

This seems like a library conflict between botocore and urllib3
so we update according to workaround proposed at these locations:

* https://stackoverflow.com/questions/76414514/cannot-import-name-default-ciphers-from-urllib3-util-ssl-on-aws-lambda-us
* boto/botocore#2926
* psf/requests#6432
@zaro0508 zaro0508 requested a review from a team as a code owner February 1, 2024 22:43
@zaro0508 zaro0508 removed the request for review from a team February 1, 2024 22:43
@zaro0508 zaro0508 merged commit eb77b2c into Sage-Bionetworks-IT:master Feb 2, 2024
4 of 5 checks passed
zaro0508 added a commit to zaro0508/organizations-infra that referenced this pull request Feb 2, 2024
Update the lamdba with a fix for library conflicts

depends on Sage-Bionetworks-IT/cfn-macro-ssm-param#18
zaro0508 added a commit to Sage-Bionetworks-IT/organizations-infra that referenced this pull request Feb 2, 2024
Update the lamdba with a fix for library conflicts

depends on Sage-Bionetworks-IT/cfn-macro-ssm-param#18
@zaro0508 zaro0508 changed the title Fix dependency [IT-3425] Fix dependency Feb 6, 2024
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

Successfully merging this pull request may close these issues.

3 participants