Bug 1619944 Migrate partials and pipfile-updates to use requirements.txt r=bhearsum

Differential Revision: https://phabricator.services.mozilla.com/D65323
This commit is contained in:
Simon Fraser
2020-03-05 13:49:24 +00:00
parent 1c28d64e1e
commit b84a6ae6d8
19 changed files with 382 additions and 513 deletions

View File

@@ -651,13 +651,13 @@ def target_tasks_chromium_update(full_task_graph, parameters, graph_config):
'fetch-mac-chromium']
@_target_task('pipfile_update')
def target_tasks_pipfile_update(full_task_graph, parameters, graph_config):
@_target_task('python_dependency_update')
def target_tasks_python_update(full_task_graph, parameters, graph_config):
"""Select the set of tasks required to perform nightly in-tree pipfile updates
"""
def filter(task):
# For now any task in the repo-update kind is ok
return task.kind in ['pipfile-update']
return task.kind in ['python-dependency-update']
return [l for l, t in full_task_graph.tasks.iteritems() if filter(t)]