readthedocs.org: Package mkdocs not found in conda

Details

Expected Result

The build should pass

Actual Result

The second step failed with:

conda install --yes --name latest sphinx mock pillow sphinx_rtd_theme mkdocs
Fetching package metadata .........


PackageNotFoundError: Package not found: '' Package missing in current linux-64 channels: 
  - mkdocs

You can search for packages on anaconda.org with

    anaconda search -t conda mkdocs

You may need to install the anaconda-client command line client with

    conda install anaconda-client

The last successful build was Completed June 23, 2017. 8:48 a.m

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 2
  • Comments: 16 (13 by maintainers)

Most upvoted comments

I can confirm that the astropy build is passing again, too. Thanks!

I’ll try to finish up #2979 tomorrow.

Thanks to @willingc & @bsipocz for the patchs!

Maybe there is a slight delay in deployment after merging a PR?

Not sure what changed on the RTD side, but the problem is that mkdocs is not available on the standard conda channels, only on conda-forge.

So the line that failed should either be:

conda install -c conda-forge  --yes --name latest sphinx mock pillow sphinx_rtd_theme mkdocs

or

conda install --yes --name latest sphinx mock pillow sphinx_rtd_theme 
pip install mkdocs

On the package-author side you might be able to fix it immediately by adding a channel list to the top of your environment file and adding mkdocs to your list of depends.