File tree 2 files changed +0
-26
lines changed
2 files changed +0
-26
lines changed Original file line number Diff line number Diff line change @@ -335,28 +335,7 @@ def conda_bin_name(self):
335
335
return self .config .python_interpreter
336
336
return 'conda'
337
337
338
- def _update_conda_startup (self ):
339
- """
340
- Update ``conda`` before use it for the first time.
341
-
342
- This makes the Docker image to use the latest version of ``conda``
343
- independently the version of Miniconda that it has installed.
344
- """
345
- self .build_env .run (
346
- 'conda' ,
347
- 'update' ,
348
- '--yes' ,
349
- '--quiet' ,
350
- '--name=base' ,
351
- '--channel=defaults' ,
352
- 'conda' ,
353
- cwd = self .checkout_path ,
354
- )
355
-
356
338
def setup_base (self ):
357
- if self .project .has_feature (Feature .UPDATE_CONDA_STARTUP ):
358
- self ._update_conda_startup ()
359
-
360
339
if self .project .has_feature (Feature .CONDA_APPEND_CORE_REQUIREMENTS ):
361
340
self ._append_core_requirements ()
362
341
self ._show_environment_yaml ()
Original file line number Diff line number Diff line change @@ -1905,7 +1905,6 @@ def add_features(sender, **kwargs):
1905
1905
MKDOCS_THEME_RTD = "mkdocs_theme_rtd"
1906
1906
API_LARGE_DATA = "api_large_data"
1907
1907
DONT_SHALLOW_CLONE = "dont_shallow_clone"
1908
- UPDATE_CONDA_STARTUP = "update_conda_startup"
1909
1908
CONDA_APPEND_CORE_REQUIREMENTS = "conda_append_core_requirements"
1910
1909
ALL_VERSIONS_IN_HTML_CONTEXT = "all_versions_in_html_context"
1911
1910
CDN_ENABLED = "cdn_enabled"
@@ -1960,10 +1959,6 @@ def add_features(sender, **kwargs):
1960
1959
API_LARGE_DATA ,
1961
1960
_ ("Build: Try alternative method of posting large data" ),
1962
1961
),
1963
- (
1964
- UPDATE_CONDA_STARTUP ,
1965
- _ ("Conda: Upgrade conda before creating the environment" ),
1966
- ),
1967
1962
(
1968
1963
CONDA_APPEND_CORE_REQUIREMENTS ,
1969
1964
_ ("Conda: Append Read the Docs core requirements to environment.yml file" ),
You can’t perform that action at this time.
0 commit comments