Closed StanHatko closed 5 months ago
Screenshot before updating pexpect in the base environment (old version 4.8.0):
Screenshot after updating pexpect to 4.9.0:
The version in conda-forge is now updated to 4.9.0 (with the bug fixed) as well https://anaconda.org/conda-forge/pexpect.
Thanks @StanHatko for looking into the solution for this issue!
Confirmed the behavior.
I cloned a repo, created a new branch and tried to push using the "Push to remote" from the UI "Git" tab, and I get the same error message.
I also tried just pushing through the terminal, it's not working, giving me a 403. But that might just be me not authenticating properly, But I'm using the same username and Personal Access Token that I used for the UI git push authenticating, so I don't know what is up with that.
Added a force install for the pexpect package to version 4.9.0.
And after finally making a valid Personal Access Token, the push successfully happens
Jupyter images should now be updated to have this issue fixed.
When pushing to a git repo, an error with
asyncio.coroutine
not found occurs and the push fails. This is a known bug for the past couple of months or so.Fortunately, a solution now exists, upgrade pexpect to version 4.9.0 (from 4.8.0). After running
pip install --upgrade pexpect
the updated pexpect was installed, and after that git push worked properly. Any user can run this in the base environment to fix it for themselves, but it would be better to do this system-wide.Currently pexpect 4.9.0 is only available from PyPI pip, not conda-forge. I responded to https://github.com/conda-forge/pexpect-feedstock/pull/29 asking them to update the conda-forge version.