Closed cyonghui81 closed 4 years ago
Looks like https://github.com/ipython/ipython/blob/master/IPython/utils/py3compat.py no longer has a cast_unicode_py2
Reading the history for the file: https://github.com/ipython/ipython/commits/master/IPython/utils/py3compat.py
https://github.com/ipython/ipython/commit/9db6129411de0f306991893351bcb5d124c2f3c0 says "Note py3compat is deprecated and will be removed in the future"
looks like cast_unicode_py2 = no_code
was removed in https://github.com/ipython/ipython/commit/a089b78315ef964f8552ffa52db569a8a924bfc2#diff-230d8a7c9440fa2ab8c6a3ebe9a9f279L164
def no_code(x, encoding=None):
return x
@willingc @Carreau
Could we just drop support for Python2 from jupyter-drive? Or do we need to copy this into __init__.py
to make this line work
https://github.com/jupyter/jupyter-drive/blob/master/jupyterdrive/__init__.py#L82 :
def no_code(x, encoding=None):
return x
cast_unicode_py2 = no_code
@westurner I'm not sure what support we have for this project anymore. @Carreau @ian-r-rose may have a better idea.
If it is still active, I agree that we should drop Python 2.
Thanks wes for looking into the history.
I don't believe this project is active anymore as google remove the ability to use RT API.
If someone send a pull-request that fix the code, I think we can merge it, but we likely won't do any more releases.
To avoid user opening issues we should either: 1) Archive this repository, and/or 2) update the readme and issues templates for user to be aware.
There are also likely more recent JupyterLab plugin to work with google drive.
There are also likely more recent JupyterLab plugin to work with google drive.
IIUC, when Google discontinued the Realtime API, that also nixed the collaborative features in Google Colab.
Thanks Wes !
Do you want to send a pull request that update the readme to add these informations ?