readthedocs.org: Conda build not working with python 3.6

Details

I am trying to build my python 3.6 only project’s documentation using a conda environment. However, this fails because the package requirements are not satisfiable for 3.6. Locally my docs build fine with python 3.6. Not sure if that is because the package python versions are not updated on conda or because of the hardcoded version for some of the packages.

Actual Result

Conda cannot find a working constallation for python 3.6:

The following specifications were found to be in conflict:
  - alabaster >=0.7,<0.8,!=0.7.5 -> python 2.7*|3.4*|3.5*
  - certifi (target=certifi-2016.9.26-py36_0.tar.bz2) -> python 2.6*|2.7*|3.3*|3.4*|3.5*|3.6*
  - docutils ==0.12 -> python 2.7*|3.4*|3.5*
  - mock -> python 2.7*|3.4*|3.5*
  - pillow ==3.0.0 -> python 2.7*|3.4*|3.5*
  - pip (target=pip-9.0.1-py36_1.tar.bz2) -> python 2.7*|3.4*|3.5*
  - pip (target=pip-9.0.1-py36_1.tar.bz2) -> setuptools
  - pygments ==2.1.1 -> python 2.7*|3.4*|3.5*
  - python 3.6*
  - setuptools (target=setuptools-32.3.1-py36_0.tar.bz2) -> certifi
  - setuptools (target=setuptools-32.3.1-py36_0.tar.bz2) -> python 2.6*|2.7*|3.3*|3.4*|3.5*|3.6*
  - sphinx ==1.3.5 -> python 2.7*|3.4*|3.5*
  - sphinx_rtd_theme ==0.1.7 -> python 2.7*|3.4*|3.5*
  - wheel (target=wheel-0.29.0-py36_0.tar.bz2) -> python 2.7*|3.3*|3.4*|3.5*|3.6*

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 24 (15 by maintainers)

Commits related to this issue

Most upvoted comments

Finally, the Sphinx 1.5.3 version was added to conda-forge. So, now there are two more issues opened regarding this topic that when they get closed, this issue you are having will disappear 😃

Those are #2713 and #2714. I’m adding them here in case you want to subscribe also.

I am already using conda-forge. However, the problem ist that RTD locks the sphinx version to 1.3.5 for which there is no package at all in conda-forge and no python 3.6 package in the normal channel apparently. The same is probably true for the other packages that are version locked.

And since there is not python 3.5.3 package yet, I cannot use that either. I have already create an issue over there to get that version bumped (conda-forge/python-feedstock#110).

I am afraid that will not work for me, because I use autdoc and my project does not work under 3.5 anymore. I guess those are the downsides of trying to use the latest and greatest…

I think I will have to wait for python 2.5.3 which is due to arrive in a week and fixes the typing module. I guess the docs will have to wait until then to get updated. But thanks for your help anyways @willingc 😃 Getting python 3.6 support with conda on rtd would be nice though.