From 6f5c018db98a033161b450744041019e7a4d2fc2 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Wed, 16 Mar 2022 22:04:18 -0500 Subject: [PATCH 1/3] Pass through PROGRAMDATA, PROGRAMFILES env variables --- tox.ini | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tox.ini b/tox.ini index 1590e308..235c7897 100644 --- a/tox.ini +++ b/tox.ini @@ -5,4 +5,8 @@ commands = pytest {posargs} setenv = PYTHONPATH = {toxinidir} +passenv = + PROGRAMDATA + PROGRAMFILES + PROGRAMFILES(X86) skip_install = True From e43140ca8459de6c4651b0b9da17aaf79fe99f89 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Wed, 16 Mar 2022 22:04:57 -0500 Subject: [PATCH 2/3] Re-enable windows tests --- .github/workflows/main.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5beb799f..6fca2f69 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -22,8 +22,7 @@ jobs: platform: - ubuntu-latest - macos-latest - # disable tests on Windows due to pypa/distutils#118 - # - windows-latest + - windows-latest runs-on: ${{ matrix.platform }} steps: - uses: actions/checkout@v2 From 4484edf5472bf692f49c73538bcb920c1a42db68 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sat, 19 Mar 2022 11:34:58 -0400 Subject: [PATCH 3/3] Add upstream reference. --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index 235c7897..83d54b2f 100644 --- a/tox.ini +++ b/tox.ini @@ -6,6 +6,7 @@ commands = setenv = PYTHONPATH = {toxinidir} passenv = + # workaround for tox-dev/tox#2382 PROGRAMDATA PROGRAMFILES PROGRAMFILES(X86)