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
150 stars 103 forks source link

Unevaluated `|default_python|` in docs #252

Open astrojuanlu opened 2 years ago

astrojuanlu commented 2 years ago

After my Binder builds started failing because my project dropped support for Python 3.7, I tried to locate in the Binder docs what is the default Python version, and found this:

https://mybinder.readthedocs.io/en/latest/howto/languages.html#python

Screenshot 2022-02-02 at 17-38-41 Choose languages for your environment — Binder 0 1b documentation

It took me a few minutes to figure out that this file belongs to repo2docker:

https://github.com/jupyterhub/repo2docker/blob/47ea95a74328b10fe0725cbd303ad4ae45c47c79/docs/source/howto/languages.rst?plain=1#L19-L21

and that there is some logic that fills that variable:

https://github.com/jupyterhub/repo2docker/blob/a07fe38f77aaa993398ff7b0b9a7f4ecbfcb886f/docs/source/conf.py#L49

However, it's not clear to me why it is not working.