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 @@ -385,28 +385,7 @@ def conda_bin_name(self):
385
385
return self .config .python_interpreter
386
386
return 'conda'
387
387
388
- def _update_conda_startup (self ):
389
- """
390
- Update ``conda`` before use it for the first time.
391
-
392
- This makes the Docker image to use the latest version of ``conda``
393
- independently the version of Miniconda that it has installed.
394
- """
395
- self .build_env .run (
396
- 'conda' ,
397
- 'update' ,
398
- '--yes' ,
399
- '--quiet' ,
400
- '--name=base' ,
401
- '--channel=defaults' ,
402
- 'conda' ,
403
- cwd = self .checkout_path ,
404
- )
405
-
406
388
def setup_base (self ):
407
- if self .project .has_feature (Feature .UPDATE_CONDA_STARTUP ):
408
- self ._update_conda_startup ()
409
-
410
389
if self .project .has_feature (Feature .CONDA_APPEND_CORE_REQUIREMENTS ):
411
390
self ._append_core_requirements ()
412
391
self ._show_environment_yaml ()
Original file line number Diff line number Diff line change @@ -1928,7 +1928,6 @@ def add_features(sender, **kwargs):
1928
1928
MKDOCS_THEME_RTD = "mkdocs_theme_rtd"
1929
1929
API_LARGE_DATA = "api_large_data"
1930
1930
DONT_SHALLOW_CLONE = "dont_shallow_clone"
1931
- UPDATE_CONDA_STARTUP = "update_conda_startup"
1932
1931
CONDA_APPEND_CORE_REQUIREMENTS = "conda_append_core_requirements"
1933
1932
ALL_VERSIONS_IN_HTML_CONTEXT = "all_versions_in_html_context"
1934
1933
CDN_ENABLED = "cdn_enabled"
@@ -1977,10 +1976,6 @@ def add_features(sender, **kwargs):
1977
1976
API_LARGE_DATA ,
1978
1977
_ ("Build: Try alternative method of posting large data" ),
1979
1978
),
1980
- (
1981
- UPDATE_CONDA_STARTUP ,
1982
- _ ("Conda: Upgrade conda before creating the environment" ),
1983
- ),
1984
1979
(
1985
1980
CONDA_APPEND_CORE_REQUIREMENTS ,
1986
1981
_ ("Conda: Append Read the Docs core requirements to environment.yml file" ),
You can’t perform that action at this time.
0 commit comments