From cec53b2180fc02e9c47c3b2d11b62e00da9a6650 Mon Sep 17 00:00:00 2001 From: Ross McFarland Date: Tue, 16 Feb 2021 07:11:14 -0800 Subject: [PATCH 1/3] Require different twines based on python version --- requirements-dev.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 146d673..85a93f5 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -5,4 +5,5 @@ pycodestyle==2.6.0 pyflakes==2.2.0 readme_renderer[md]==26.0 requests_mock -twine==3.2.0 +twine==1.15.0; python_version < '3.2' +twine==3.2.0; python_version >= '3.2' From f64ee57b14ba03363c69405ccdb08aca5bb880d0 Mon Sep 17 00:00:00 2001 From: Ross McFarland Date: Tue, 16 Feb 2021 07:11:46 -0800 Subject: [PATCH 2/3] Actually only install twine on 3.x --- requirements-dev.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 85a93f5..522f112 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -5,5 +5,4 @@ pycodestyle==2.6.0 pyflakes==2.2.0 readme_renderer[md]==26.0 requests_mock -twine==1.15.0; python_version < '3.2' twine==3.2.0; python_version >= '3.2' From e516e7647b756c9c6d8d71a23ff5127e4d634d20 Mon Sep 17 00:00:00 2001 From: Ross McFarland Date: Tue, 16 Feb 2021 07:39:52 -0800 Subject: [PATCH 3/3] Remove 2.7 form the version matix --- .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 337ebb0..b2f48dd 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,8 +10,7 @@ jobs: strategy: matrix: # Tested versions based on dates in https://devguide.python.org/devcycle/#end-of-life-branches, - # with the addition of 2.7 b/c it's still if pretty wide active use. - python-version: [2.7, 3.6, 3.7, 3.8, 3.9] + python-version: [3.6, 3.7, 3.8, 3.9] steps: - uses: actions/checkout@master - name: Setup python