From 9ba0a1ada2e29b3758bb4def8452d045bbe5974a Mon Sep 17 00:00:00 2001 From: Piyush Kancharlawar Date: Tue, 28 Dec 2021 16:40:50 -0500 Subject: [PATCH] [fix] Un-break setuptools for pre-commit action (#142) ## Changes made Set env variable for `SETUPTOOLS_USE_DISTUTILS` that un-breaks the pre-commit github action. This was necessitated by an upstream release of `virtualenv` that upgraded `setuptools`. More details can be found here: https://github.com/pre-commit/pre-commit/issues/2178 ## Screencapture (if applicable) ## Testing - [ ] End-to-End ## Work left to be done --- DEVBOX_VERSION | 2 +- Dockerfile | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/DEVBOX_VERSION b/DEVBOX_VERSION index 3eefcb9..7dea76e 100644 --- a/DEVBOX_VERSION +++ b/DEVBOX_VERSION @@ -1 +1 @@ -1.0.0 +1.0.1 diff --git a/Dockerfile b/Dockerfile index fb0782e..f74418f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,6 +10,7 @@ ENV PYTHONUNBUFFERED 1 ENV PIPENV_VENV_IN_PROJECT 1 ENV FLASK_APP 'server:app' ENV PATH /home/worker/app/.venv/bin:$PATH +ENV SETUPTOOLS_USE_DISTUTILS stdlib RUN pip install pipenv