File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
repo2docker/buildpacks/conda Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -178,19 +178,19 @@ def py2(self):
178178 """Am I building a Python 2 kernel environment?"""
179179 return self .python_version and self .python_version .split ("." )[0 ] == "2"
180180
181- def get_assemble_files (self ):
182- """Specify that assembly only requires environment.yml
181+ def get_preassemble_script_files (self ):
182+ """preassembly only requires environment.yml
183183
184184 enables caching assembly result even when
185185 repo contents change
186186 """
187- assemble_files = super ().get_assemble_files ()
188- environment_yml = self .binder_path (' environment.yml' )
187+ assemble_files = super ().get_preassemble_script_files ()
188+ environment_yml = self .binder_path (" environment.yml" )
189189 if os .path .exists (environment_yml ):
190- assemble_files . append ( environment_yml )
190+ assemble_files [ environment_yml ] = environment_yml
191191 return assemble_files
192192
193- def get_assemble_scripts (self ):
193+ def get_preassemble_scripts (self ):
194194 """Return series of build-steps specific to this source repository.
195195 """
196196 assembly_scripts = []
@@ -209,7 +209,7 @@ def get_assemble_scripts(self):
209209 ),
210210 )
211211 )
212- return super ().get_assemble_scripts () + assembly_scripts
212+ return super ().get_preassemble_scripts () + assembly_scripts
213213
214214 def detect (self ):
215215 """Check if current repo should be built with the Conda BuildPack.
You can’t perform that action at this time.
0 commit comments