jupyterhub / mybinder.org-user-guide

Turn a Git repo into a collection of interactive notebooks. This is Binder's user documentation repository.
https://mybinder.readthedocs.io
BSD 3-Clause "New" or "Revised" License
156 stars 103 forks source link

Cannot uninstall terminado, build fails #221

Closed astrojuanlu closed 3 years ago

astrojuanlu commented 3 years ago

Bug description

When building https://github.com/astrojuanlu/ie-mbd-advanced-python/, build fails at this step:

Attempting uninstall terminado
Found existing installation: terminado 0.8.3
ERROR: Cannot unintstall 'terminado'. It is a distutils installed project and thus...

(by the way, I can't seem to be able to copy the text from the build logs...)

The requirements.txt contains these lines:

$ grep terminado requirements.txt 
ptyprocess==0.6.0         # via pexpect, terminado
terminado==0.9.1          # via notebook
tornado==6.1              # via ipykernel, jupyter-client, notebook, terminado

Because they come from pip-compile:

$ cat requirements.in 
black==20.8b1
notebook
rise

I guess that pinning terminado to the version that Binder uses would fix the problem, but I don't think this was needed in the past.

welcome[bot] commented 3 years ago

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively. welcome You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! :wave:
Welcome to the Jupyter community! :tada:

support[bot] commented 3 years ago

Hi there @astrojuanlu :wave:!

I closed this issue because it was labelled as a support question.

Please help us organize discussion by posting this on the http://discourse.jupyter.org/ forum.

Our goal is to sustain a positive experience for both users and developers. We use GitHub issues for specific discussions related to changing a repository's content, and let the forum be where we can more generally help and inspire each other.

Thanks you for being an active member of our community! :heart:

betatim commented 3 years ago

Hi there, we try to collect support requests in the forum because it makes them easier to discover and more people see them. It would be good to post this question there instead. It has come up before and got answered but it was in a place that is hard to search (which is why you had little chance of finding it :-/) https://gitter.im/jupyterhub/binder?at=5faba8f0bf955735eb71a11b is probably the answer which would be could to copy into the forum thread about this.

astrojuanlu commented 3 years ago

Hi @betatim ! Sure, I had just registered - thanks for the pointer to the chat!

astrojuanlu commented 3 years ago

https://discourse.jupyter.org/t/build-errors-when-using-fully-pinned-requirements-txt-coming-from-pip-tools/6821?u=astrojuanlu