ITC-CRIB / jupyter-fairly

A JupyterLab extension for seamless integration of Jupyter-based research environments and research data repositories.
https://fairly.readthedocs.io
MIT License
8 stars 3 forks source link

Cloning is broken in new version of Request #76

Closed manuGil closed 1 year ago

manuGil commented 1 year ago

Call the clone dataset function produces the following error on the server.

HTTPServerRequest(protocol='http', host='localhost:8888', method='POST', uri='/jupyter-fairly/clone?1692199914244', version='HTTP/1.1', remote_ip='127.0.0.1')
    Traceback (most recent call last):
      File "/home/manuel/.local/lib/python3.10/site-packages/requests_toolbelt/_compat.py", line 48, in <module>
        from requests.packages.urllib3.contrib import appengine as gaecontrib
    ImportError: cannot import name 'appengine' from 'requests.packages.urllib3.contrib' (/home/manuel/miniconda3/envs/jupyterfair3/lib/python3.10/site-packages/urllib3/contrib/__init__.py)

It might be related to the newest version of the request package: https://stackoverflow.com/questions/76175487/sudden-importerror-cannot-import-name-appengine-from-requests-packages-urlli

manuGil commented 1 year ago

This issue is solved when using requests-2.28.2 and urllib3-1.26.16