conda:
    file: .environment.yml
    
python:
    setup_py_install: true

conda:
    file: .environment.yml
    
python:
    version: 3
    setup_py_install: true

Use Python 3 on RTD
Use Python 3 on RTD