Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(Dockerfile): add Python 3.9 #4968

Merged
merged 28 commits into from
Jan 16, 2021
Merged
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
ab4871a
chore(Dockerfile): add Python 3.9
Nov 11, 2020
c0ec115
Add py3.9 kokoro dir
Nov 11, 2020
0f1881a
fix typo
Nov 12, 2020
ce4eed8
Add GPG keys
Jan 7, 2021
3eb5329
Add 3.9 to noxfiles
Jan 9, 2021
2e03c44
Update composer dep to avoid deprecation spam
Jan 9, 2021
50e20a7
fix(storage): add py-3.9 specific key
Jan 12, 2021
e39e756
update psycopg2-binary, only run test in py-3.9 build
Jan 13, 2021
c9a2233
add libmemcached-dev to the Dockerfile
Jan 13, 2021
1d0b50f
disable appengine standard test in py-3.9 build
Jan 13, 2021
9a7579e
disable py-3.9 build for appengine cloud_debugger
Jan 13, 2021
976832f
skip py-3.9 build for composer/workflows
Jan 13, 2021
b05f340
skip tests with pyarrow for py-3.9 build
Jan 13, 2021
f5b8a84
avoid ReferenceError in iot builds
Jan 13, 2021
bfc3b51
skip some tests due to pip error
Jan 13, 2021
50c1396
add a temporary statement for debugging
Jan 14, 2021
55e75b4
fix lint
Jan 14, 2021
8b5b6b4
use correct constant
Jan 14, 2021
421db08
disable 2.7 builds
Jan 14, 2021
28f638d
disable builds due to pip conflict
Jan 14, 2021
eb00bf6
remove temporary debugging statement
Jan 15, 2021
257d86d
really skip py-3.9 build for pubsub/streaming-analytics
Jan 15, 2021
daee0dc
copyright year fix
Jan 15, 2021
09f90c8
fix(storage): explicitly use the test project for the test bucket
Jan 15, 2021
915b4c6
fix(storage): use correct cloud project
Jan 15, 2021
a4ccfb3
fix: disable py-3.9 builds
Jan 15, 2021
4f4bbf0
disable py-3.9 build
Jan 15, 2021
6c5c13e
disable type hint checks
Jan 15, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix(storage): explicitly use the test project for the test bucket
  • Loading branch information
Takashi Matsuo committed Jan 15, 2021
commit 09f90c867b7d0e41bb6ba721373055aa2709beb9
4 changes: 3 additions & 1 deletion storage/cloud-client/snippets_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,11 @@ def test_remove_bucket_label(test_bucket, capsys):
def test_bucket():
"""Yields a bucket that is deleted after the test completes."""
bucket = None
project = os.environ["GOOGLE_CLOUD_PROJECT"]
while bucket is None or bucket.exists():
bucket_name = "storage-snippets-test-{}".format(uuid.uuid4())
bucket = storage.Client().bucket(bucket_name)
# Make sure we create the bucket in the test project.
bucket = storage.Client(project=project).bucket(bucket_name)
bucket.create()
yield bucket
bucket.delete(force=True)
Expand Down