From 12661fc8730e98fa1e6af3396691cc3c529cfb00 Mon Sep 17 00:00:00 2001 From: LupineDev <146487+LupineDev@users.noreply.github.com> Date: Mon, 18 Mar 2024 13:49:03 -1000 Subject: [PATCH 1/2] Upgrade to python 3.7 2.7 reached end of life and no longer supported by virtualenv https://tox.wiki/en/latest/faq.html#testing-end-of-life-python-versions --- Dockerfile | 2 +- tox.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 56daa94..659056d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:2.7-stretch +FROM python:3.7.17-buster RUN mkdir -p /usr/src/app WORKDIR /usr/src/app diff --git a/tox.ini b/tox.ini index a8add48..1e8aa40 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py27, py35 +envlist = py27, py37 [testenv] commands=python setup.py test From 242a4b1e5df0113d0a128a256220e712d7f4038e Mon Sep 17 00:00:00 2001 From: LupineDev <146487+LupineDev@users.noreply.github.com> Date: Mon, 18 Mar 2024 13:52:02 -1000 Subject: [PATCH 2/2] added build/ and dist/ to .gitignore --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index c38d050..c8761e9 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,5 @@ htmlcov .coverage *.swo .tox +build/ +dist/ \ No newline at end of file