Skip to content

Commit

Permalink
fix: require python 3.7+ (#50)
Browse files Browse the repository at this point in the history
* 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 <partheniou@google.com>
  • Loading branch information
3 people authored Jul 10, 2022
1 parent 6dfe340 commit a484038
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion optimization/snippets/async_api_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
import google.auth
from google.cloud import storage
import pytest
from samples.snippets import async_api

import async_api


# TODO(developer): Replace the variables in the file before use.
Expand Down
2 changes: 1 addition & 1 deletion optimization/snippets/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def get_pytest_env_vars() -> Dict[str, str]:

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

# Any default versions that should be ignored.
IGNORED_VERSIONS = TEST_CONFIG["ignored_versions"]
Expand Down
3 changes: 2 additions & 1 deletion optimization/snippets/sync_api_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
import google.auth
import pytest

from samples.snippets import sync_api

import sync_api


def test_call_sync_api(capsys: pytest.LogCaptureFixture) -> None:
Expand Down
2 changes: 1 addition & 1 deletion optimization/snippets/sync_api_with_long_timeout_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import google.auth
import pytest

from samples.snippets import sync_api_with_long_timeout
import sync_api_with_long_timeout


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

0 comments on commit a484038

Please sign in to comment.