Skip to content

Commit 4b4125c

Browse files
chore: drop mention of Python 2.7 from templates (#272)
Source-Link: googleapis/synthtool@facee4c Post-Processor: gcr.io/repo-automation-bots/owlbot-python:latest@sha256:9743664022bd63a8084be67f144898314c7ca12f0a03e422ac17c733c129d803 Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 3d133c0 commit 4b4125c

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎bigquery_storage/quickstart/noxfile.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939

4040
TEST_CONFIG = {
4141
# You can opt out from the test for specific Python versions.
42-
"ignored_versions": ["2.7"],
42+
"ignored_versions": [],
4343
# Old samples are opted out of enforcing Python type hints
4444
# All new samples should feature them
4545
"enforce_type_hints": False,
@@ -86,8 +86,8 @@ def get_pytest_env_vars() -> Dict[str, str]:
8686

8787

8888
# DO NOT EDIT - automatically generated.
89-
# All versions used to tested samples.
90-
ALL_VERSIONS = ["2.7", "3.6", "3.7", "3.8", "3.9"]
89+
# All versions used to test samples.
90+
ALL_VERSIONS = ["3.6", "3.7", "3.8", "3.9"]
9191

9292
# Any default versions that should be ignored.
9393
IGNORED_VERSIONS = TEST_CONFIG["ignored_versions"]

‎bigquery_storage/to_dataframe/noxfile.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939

4040
TEST_CONFIG = {
4141
# You can opt out from the test for specific Python versions.
42-
"ignored_versions": ["2.7"],
42+
"ignored_versions": [],
4343
# Old samples are opted out of enforcing Python type hints
4444
# All new samples should feature them
4545
"enforce_type_hints": False,
@@ -86,8 +86,8 @@ def get_pytest_env_vars() -> Dict[str, str]:
8686

8787

8888
# DO NOT EDIT - automatically generated.
89-
# All versions used to tested samples.
90-
ALL_VERSIONS = ["2.7", "3.6", "3.7", "3.8", "3.9"]
89+
# All versions used to test samples.
90+
ALL_VERSIONS = ["3.6", "3.7", "3.8", "3.9"]
9191

9292
# Any default versions that should be ignored.
9393
IGNORED_VERSIONS = TEST_CONFIG["ignored_versions"]

0 commit comments

Comments
 (0)