Skip to content
This repository was archived by the owner on Mar 31, 2026. It is now read-only.

Commit d0f45e9

Browse files
authored
chore: unbundle renovate reports (#575)
We need to be able to close those for the Python 2.7 requirements, while allowing through the normal Python 3 reports. Closes #578. Use an '@google.com' principal for system test w/ UBLA. Closes #577.
1 parent 08ee4a7 commit d0f45e9

3 files changed

Lines changed: 6 additions & 7 deletions

File tree

owlbot.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414

1515
"""This script is used to synthesize generated parts of this library."""
1616

17-
import re
18-
1917
import synthtool as s
2018
from synthtool import gcp
2119
from synthtool.languages import python
@@ -34,15 +32,17 @@
3432
# See: https://github.com/googleapis/python-storage/issues/226
3533
"google-cloud-kms < 2.0dev",
3634
],
37-
intersphinx_dependencies = {
35+
intersphinx_dependencies={
3836
"requests": "https://docs.python-requests.org/en/master/"
3937
},
4038
)
4139

4240
s.move(
43-
templated_files, excludes=[
41+
templated_files,
42+
excludes=[
4443
"docs/multiprocessing.rst",
4544
"noxfile.py",
45+
"renovate.json", # do not bundle reports
4646
"CONTRIBUTING.rst",
4747
],
4848
)

renovate.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"extends": [
33
"config:base",
4-
"group:all",
54
":preserveSemverRanges",
65
":disableDependencyDashboard"
76
],

tests/system/test_bucket.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,7 @@ def test_new_bucket_w_ubla(
706706
bucket_acl.reload()
707707

708708
bucket_acl.loaded = True # Fake that we somehow loaded the ACL
709-
bucket_acl.all().grant_read()
709+
bucket_acl.group("cloud-developer-relations@google.com").grant_read()
710710
with pytest.raises(exceptions.BadRequest):
711711
bucket_acl.save()
712712

@@ -724,7 +724,7 @@ def test_new_bucket_w_ubla(
724724
blob_acl.reload()
725725

726726
blob_acl.loaded = True # Fake that we somehow loaded the ACL
727-
blob_acl.all().grant_read()
727+
blob_acl.group("cloud-developer-relations@google.com").grant_read()
728728
with pytest.raises(exceptions.BadRequest):
729729
blob_acl.save()
730730

0 commit comments

Comments
 (0)