GoogleCloudPlatform / GoogleCloudPlatform/composer-local-dev

install_airflow_deps fails when COMPOSER_HOST_USER_NAME=True

Open
#134 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
108
Forks
67
PR merge metrics
No merged PRs in 30d

Description

When COMPOSER_HOST_USER_NAME=True, `install_airflow_deps` fails complaining about write permissions.

My local uid is 1000 and if I update manually the function as

```
$run_as_user cp composer_requirements.txt requirements_with_airflow_version.txt
$run_as_user bash -c "echo \"\" >> requirements_with_airflow_version.txt"
$run_as_user bash -c "echo \"apache-airflow==${version}\" >> requirements_with_airflow_version.txt"
```
it seems to work ok. Can you check? Thx

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.