Skip to content

Commit

Permalink
Fix dependency
Browse files Browse the repository at this point in the history
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
  • Loading branch information
zaro0508 committed Feb 1, 2024
1 parent 793fd2c commit 40ff8ac
Show file tree
Hide file tree
Showing 3 changed files with 760 additions and 988 deletions.
2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ coverage = "~=7.0"

[packages]
crhelper = "~=2.0"
synapseclient = "~=2.6"
urllib3 = "<2"

[requires]
python_version = "3.9"
Loading

0 comments on commit 40ff8ac

Please sign in to comment.