Azure / Azure/actions-workflow-samples

cant run command: sudo apt-get python3.6-dev

Open
#70 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Pug
Stars
511
Forks
657
PR merge metrics
No merged PRs in 30d

Description

Hi there,

I cannot deploy due to needing some c compiler files that are available in python3.6-dev
You cannot pip install them so you must apt-get.
The Actions deployment complains about stability of the cli etc.
What is the correct way to get this installed so I can take care of the dependencies that keep breaking in my requirements.txt

My yaml is as follows:
.github/workflows/master-appName(production).yml

name: Azure App Service - appName(Production), Build and deploy Python app

on:
push:
branches:
- master

jobs:
build-and-deploy:
runs-on: ubuntu-latest

steps:
# checkout the repo
- name: 'Checkout Github Action'
uses: actions/checkout@master


- name: Set up Python version
uses: actions/setup-python@v1
with:
python-version: '3.6'

- name: apt get python 3.6-dev and shap
run: |
sudo apt-get install python3.6-dev
pip install shap

- name: Build using AppService-Build
uses: azure/appservice-build@v2
with:
platform: python
platform-version: '3.6'

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.