Skip to content

Projects using conda don't show all packages installed (and IPython CSS is broken) #8638

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
astrojuanlu opened this issue Oct 30, 2021 · 6 comments
Labels
Support Support question

Comments

@astrojuanlu
Copy link
Contributor

This tweet by @Carreau caught my attention:

https://twitter.com/Mbussonn/status/1454253505724649472

Yes, css broken. I don't know why, but enough for today.

And indeed, it looks like IPython is experiencing readthedocs/sphinx_rtd_theme#1115:

And recent builds also exhibit this behavior, see https://readthedocs.org/projects/ipython/builds/15133660/.

Clearly docutils 0.17 is being used now, but I would expect sphinx_rtd_theme to have addressed the incompatibility. Yet, there is no way to know what version of the theme is getting installed in each build, since the conda env create has the --quiet flag, and only shows the pip part.

@astrojuanlu astrojuanlu added the Support Support question label Oct 30, 2021
@stsewd
Copy link
Member

stsewd commented Nov 1, 2021

We have a feature flag for that

LIST_PACKAGES_INSTALLED_ENV = 'list_packages_installed_env'
. See also #7005

@astrojuanlu
Copy link
Contributor Author

Enabled the flag for IPython and triggered a latest build https://readthedocs.org/projects/ipython/builds/15221374/

The culprit seems to be a old version of sphinx_rtd_theme:

conda list --name latest
# packages in environment at /home/docs/checkouts/readthedocs.org/user_builds/ipython/conda/latest:
#
# Name                    Version                   Build  Channel
...
docutils                  0.17.1           py38h06a4308_1  
...
sphinx                    4.2.0              pyhd3eb1b0_1  
sphinx_rtd_theme          0.4.3              pyhd3eb1b0_0  
...

@astrojuanlu
Copy link
Contributor Author

Attempt to fix at ipython/ipython#13261

@astrojuanlu
Copy link
Contributor Author

We have a feature flag for that

Is there a reason to not have LIST_PACKAGES_INSTALLED_ENV enabled by default? cc @agjohnson

@stsewd
Copy link
Member

stsewd commented Nov 9, 2021

This is comment linked on the other issue #6992 (comment)

@astrojuanlu
Copy link
Contributor Author

This is a known issue then, and the support request has been addressed. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Support Support question
Projects
None yet
Development

No branches or pull requests

2 participants