gdcc / python-dvuploader

✈️ - Python package for parallel direct upload to Dataverse
MIT License
4 stars 0 forks source link

Monkey patch SSL issue using grequests #2

Closed JR-1991 closed 8 months ago

JR-1991 commented 11 months ago

Running into the following error due to grequests:

MonkeyPatchWarning: Monkey-patching ssl after ssl has already been imported may lead to errors, including RecursionError on Python 3.6. It may also silently lead to incorrect behaviour on Python 3.7. Please monkey-patch earlier. See https://github.com/gevent/gevent/issues/1016. Modules that had direct imports (NOT patched): ['urllib3.util (/Users/.../anaconda3/envs/projects/lib/python3.11/site-packages/urllib3/util/init.py)', 'urllib3.util.ssl (/Users/.../anaconda3/envs/projects/lib/python3.11/site-packages/urllib3/util/ssl.py)'].