From 0409bb4506eed90e09dece7e850e7bb447c0ced2 Mon Sep 17 00:00:00 2001 From: Alex Nelson Date: Mon, 28 Jun 2021 16:36:18 -0400 Subject: [PATCH 1/2] Use Python venv to build virtual environment for CI References: * [AC-195] Use Python venv instead of virtualenv to build virtual environments for CI Signed-off-by: Alex Nelson --- .github/workflows/ci.yml | 4 ---- tests/Makefile | 3 +-- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 63ff0db..1d49004 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,10 +31,6 @@ jobs: uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} - - name: Install Python virtualenv for Github runner - run: | - python -m pip install --upgrade pip - pip install virtualenv - name: Start from clean state run: make clean - name: Run tests diff --git a/tests/Makefile b/tests/Makefile index 7857855..949f671 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -41,8 +41,7 @@ all: \ $(top_srcdir)/setup.py \ requirements.txt rm -rf venv - $(PYTHON3) -m virtualenv \ - --python=$(PYTHON3) \ + $(PYTHON3) -m venv \ venv source venv/bin/activate \ && pip install \ From b09d4bfe9fc08fb937408f88631bd9fb7ba4ed6d Mon Sep 17 00:00:00 2001 From: Alex Nelson Date: Mon, 28 Jun 2021 16:39:24 -0400 Subject: [PATCH 2/2] Bump examples-QC repository to its use of venv References: * [AC-195] Use Python venv instead of virtualenv to build virtual environments for CI Signed-off-by: Alex Nelson --- dependencies/CASE-Examples-QC | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dependencies/CASE-Examples-QC b/dependencies/CASE-Examples-QC index 7a678bc..1a153c7 160000 --- a/dependencies/CASE-Examples-QC +++ b/dependencies/CASE-Examples-QC @@ -1 +1 @@ -Subproject commit 7a678bc0bb99b9a722b6e5ba4b05ec4cd7525bd3 +Subproject commit 1a153c73d5d7f66509650c5c9d453b852676a60a