Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

BUG: Fix broken deployments + delicate envs #83

Merged
merged 4 commits into from
Dec 17, 2022

Conversation

peterhessey
Copy link
Contributor

@peterhessey peterhessey commented Dec 14, 2022

Closes #82

Makes fairly drastic changes to the python environment setup. Currently deployments are failing when attempting to install pip packages due to the fact that the underlying Linux image for the app service has changed, something we have no control over unless we create a custom Dockerfile (not practical for current and future non-technical users). App Service images are fixed to a specific Linux and Python version (currently Ubuntu 18.04 and python 3.7.15) and only install the packages specified in requirements.txt into a virtualenv using the antenv tool.

Fixing the incompatible package versions would only be a temporary fix until this happens again. Instead here I am proposing to put only the primary dependencies in requirements.txt, which allows much more flexible environment creation and avoids these issues, while also adding a nightly build + test to catch any future issues that may arise from secondary dependencies.

To-Do:

  • Update documentation for environments

@peterhessey peterhessey marked this pull request as ready for review December 14, 2022 17:43
@peterhessey peterhessey marked this pull request as draft December 14, 2022 17:44
@peterhessey peterhessey marked this pull request as ready for review December 15, 2022 10:00
@peterhessey peterhessey merged commit 9c8ef64 into main Dec 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deployment Failure
3 participants