Azure / Azure/azure-functions-core-tools

Dependency caching on deployment

Open
#942 6 comments 0 reactions 0 assignees View on GitHub
func-stack: Python
Dominant language
C#
Stars
1.5k
Forks
498
Avg merge
5d 4h
Merged PRs (30d)
15

Description

Currently for Python function apps, the dependencies are built each time on publish regardless of whether there were any changes to the `requirements.txt` file, resulting in extended publishing time.

It'll be great if we can capture a hash of the requirements file and build only if there has been a change.

/cc @brettcannon

Contributor guide

Open the contributing guide

Research direction

Start by tracing the publish path for Python function apps and how requirements.txt dependencies are currently built. Confirm how a requirements-file hash can be retained between publishes; done means unchanged dependencies skip rebuilding while a changed requirements.txt triggers a build.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, python
Domain
cli, devops
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.