Skip to content

Commit a484038

Browse files
fix: require python 3.7+ (#50)
* chore(python): drop python 3.6 Source-Link: googleapis/synthtool@4f89b13 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:e7bb19d47c13839fe8c147e50e02e8b6cf5da8edd1af8b82208cd6f66cc2829c * add api_description to .repo-metadata.json * require python 3.7+ in setup.py * remove python 3.6 sample configs * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * fix imports for prerelease session Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <[email protected]>
1 parent 6dfe340 commit a484038

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

optimization/snippets/async_api_test.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
import google.auth
1818
from google.cloud import storage
1919
import pytest
20-
from samples.snippets import async_api
20+
21+
import async_api
2122

2223

2324
# TODO(developer): Replace the variables in the file before use.

optimization/snippets/noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def get_pytest_env_vars() -> Dict[str, str]:
8989

9090
# DO NOT EDIT - automatically generated.
9191
# All versions used to test samples.
92-
ALL_VERSIONS = ["3.6", "3.7", "3.8", "3.9", "3.10"]
92+
ALL_VERSIONS = ["3.7", "3.8", "3.9", "3.10"]
9393

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

optimization/snippets/sync_api_test.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
import google.auth
1616
import pytest
1717

18-
from samples.snippets import sync_api
18+
19+
import sync_api
1920

2021

2122
def test_call_sync_api(capsys: pytest.LogCaptureFixture) -> None:

optimization/snippets/sync_api_with_long_timeout_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
import google.auth
1616
import pytest
1717

18-
from samples.snippets import sync_api_with_long_timeout
18+
import sync_api_with_long_timeout
1919

2020

2121
def test_long_timeout(capsys: pytest.LogCaptureFixture) -> None:

0 commit comments

Comments
 (0)