From 61532e5f9073dd1544ef79ed69a6a8775d076320 Mon Sep 17 00:00:00 2001 From: Mira Leung Date: Thu, 11 Jun 2020 17:17:29 -0700 Subject: [PATCH] [gapic-generator] chore: remove 2.7 from python showcase tests (#3229) * chore: remove 2.7 from python showcase tests It sounds like 2.7 is no longer supported, and it's currently breaking [tests](https://app.circleci.com/pipelines/github/googleapis/gapic-generator/255/workflows/b2063a3b-2ad2-4641-8952-0bc16673a242/jobs/47732/steps) for [this unrelated PR](https://github.com/googleapis/gapic-generator/pull/3190). * fix: remove python 2.7 from .circleci/config.yml as well --- .circleci/config.yml | 4 ---- showcase/python/nox.py | 4 ++-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b92deb98ea..119d3527ea 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -81,16 +81,12 @@ anchor_verify_and_test_python: &anchor_verify_and_test_python - run: name: Run Showcase Generated Unit Tests. command: | - nox --session "unit(py='2.7')" \ - --noxfile /tmp/workspace/gapic-generator/showcase/python/nox.py nox --session "unit(py='3.6')" \ --noxfile /tmp/workspace/gapic-generator/showcase/python/nox.py when: always - run: name: Run Showcase Integration Tests. command: | - nox --session "showcase(py='2.7')" \ - --noxfile /tmp/workspace/gapic-generator/showcase/python/nox.py nox --session "showcase(py='3.6')" \ --noxfile /tmp/workspace/gapic-generator/showcase/python/nox.py when: always diff --git a/showcase/python/nox.py b/showcase/python/nox.py index f2ca30dc00..61efac8e9b 100644 --- a/showcase/python/nox.py +++ b/showcase/python/nox.py @@ -24,7 +24,7 @@ def default(session): @nox.session -@nox.parametrize('py', ['2.7', '3.5', '3.6', '3.7']) +@nox.parametrize('py', ['3.5', '3.6', '3.7']) def showcase(session, py): """Run the showcase integration test suite.""" @@ -48,7 +48,7 @@ def showcase(session, py): @nox.session -@nox.parametrize('py', ['2.7', '3.5', '3.6', '3.7']) +@nox.parametrize('py', ['3.5', '3.6', '3.7']) def unit(session, py): """Run the unit test suite."""