From 1e312c8010935fc6c9d69d1cb7b9e4635d7a991c Mon Sep 17 00:00:00 2001 From: "Bartosz \"mastier\" Woronicz" Date: Mon, 20 Mar 2023 11:55:49 +0100 Subject: [PATCH] fix for new Github Action 22.04 image (#83) - new tox 4 link requires handling One may see the following error: pep8: failed with pass_env values cannot contain whitespace, use comma to have multiple values in a single line, invalid values found 'http_proxy https_proxy INTERFACE_PATH' - in image 22.04 python 3.6 and 3.7 for dropped --- .github/workflows/tests.yaml | 2 +- tox.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 89ba493..f5632c1 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.6', '3.7', '3.8', '3.9', '3.10'] + python-version: ['3.8', '3.9', '3.10'] steps: - uses: actions/checkout@v1 diff --git a/tox.ini b/tox.ini index fc108bd..df0d950 100644 --- a/tox.ini +++ b/tox.ini @@ -12,7 +12,7 @@ setenv = VIRTUAL_ENV={envdir} CHARM_LAYERS_DIR={toxinidir}/layers CHARM_INTERFACES_DIR={toxinidir}/interfaces JUJU_REPOSITORY={toxinidir}/build -passenv = http_proxy https_proxy INTERFACE_PATH +passenv = http_proxy,https_proxy,INTERFACE_PATH install_command = pip install {opts} {packages} deps =