File tree 2 files changed +10
-21
lines changed
2 files changed +10
-21
lines changed Original file line number Diff line number Diff line change @@ -25,9 +25,8 @@ You can enable it by creating a `readthedocs.yml` file in the root of your repos
25
25
This Conda environment will also have Sphinx and other build time dependencies installed.
26
26
It will use the same order of operations that we support currently:
27
27
28
- * Environment Creation (``conda create ``)
28
+ * Environment Creation (``conda env create ``)
29
29
* Dependency Installation (Sphinx)
30
- * User Package Installation (``conda env update ``)
31
30
32
31
Custom Installs
33
32
---------------
Original file line number Diff line number Diff line change @@ -192,13 +192,11 @@ def install_core_requirements(self):
192
192
193
193
# Use conda for requirements it packages
194
194
requirements = [
195
- 'sphinx==1.3.5' ,
196
- 'Pygments==2.2.0' ,
197
- 'docutils==0.12' ,
195
+ 'sphinx' ,
198
196
'mock' ,
199
- 'pillow>=3.0.0 ' ,
200
- 'sphinx_rtd_theme==0.1.7 ' ,
201
- 'alabaster>=0.7,<0.8,!=0.7.5 ' ,
197
+ 'pillow' ,
198
+ 'sphinx_rtd_theme' ,
199
+ 'mkdocs ' ,
202
200
]
203
201
204
202
cmd = [
@@ -215,10 +213,8 @@ def install_core_requirements(self):
215
213
216
214
# Install pip-only things.
217
215
pip_requirements = [
218
- 'mkdocs==0.15.0' ,
219
- 'readthedocs-sphinx-ext<0.6' ,
220
- 'commonmark==0.5.4' ,
221
- 'recommonmark==0.1.1' ,
216
+ 'readthedocs-sphinx-ext' ,
217
+ 'recommonmark' ,
222
218
]
223
219
224
220
pip_cmd = [
@@ -236,12 +232,6 @@ def install_core_requirements(self):
236
232
)
237
233
238
234
def install_user_requirements (self ):
239
- self .build_env .run (
240
- 'conda' ,
241
- 'env' ,
242
- 'update' ,
243
- '--name' ,
244
- self .version .slug ,
245
- '--file' ,
246
- self .config .conda_file ,
247
- )
235
+ # as the conda environment was created by using the ``environment.yml``
236
+ # defined by the user, there is nothing to update at this point
237
+ pass
You can’t perform that action at this time.
0 commit comments