Skip to content

Commit

Permalink
fix: flask_sqlalchemy need pkg-config apt dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
ScmTble authored and ScmTble committed Sep 17, 2023
1 parent 7df6189 commit 6dafc9f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/python/plan.go
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,10 @@ func determineAptDependencies(ctx *pythonPlanContext) []string {
deps = append(deps, "g++-7")
}

if HasDependency(ctx, "flask_sqlalchemy") {
deps = append(deps, "pkg-config")
}

return deps
}

Expand Down

0 comments on commit 6dafc9f

Please sign in to comment.