Skip to content

Commit

Permalink
chore(python): fix warehouse-package-name for binaryauthorization v1/…
Browse files Browse the repository at this point in the history
…v1beta1 (#191)

* chore(python): fix warehouse-package-name for binaryauthorization v1/v1beta1

PiperOrigin-RevId: 491634075

Source-Link: googleapis/googleapis@8050816

Source-Link: googleapis/googleapis-gen@78e9b12
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNzhlOWIxMjkwMDc2MDEwNGE2ODljNTNhNDliMDZlOWUyNDc3MTUzYyJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* remove replacement in owlbot.py

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 Nov 30, 2022
1 parent d9fad11 commit 2d44345
Show file tree
Hide file tree
Showing 40 changed files with 39 additions and 47 deletions.
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Marker file for PEP 561.
# The google-cloud-binaryauthorization package uses inline types.
# The google-cloud-binary-authorization package uses inline types.
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Marker file for PEP 561.
# The google-cloud-binaryauthorization package uses inline types.
# The google-cloud-binary-authorization package uses inline types.
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Marker file for PEP 561.
# The google-cloud-binaryauthorization package uses inline types.
# The google-cloud-binary-authorization package uses inline types.
8 changes: 0 additions & 8 deletions packages/google-cloud-binary-authorization/owlbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,6 @@
shutil.rmtree("samples/generated_samples", ignore_errors=True)
clean_up_generated_samples = False

# Rename package to 'google-cloud-binary-authorization'
# Remove once cl/490002122 is submitted
s.replace(
[library / "google/**/*.py", library / "tests/**/*.py"],
"google-cloud-binaryauthorization",
"google-cloud-binary-authorization",
)

if library.name == "v1":
# Fix import of grafeas
s.replace(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_CreateAttestor_async]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_CreateAttestor_sync]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_DeleteAttestor_async]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_DeleteAttestor_sync]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_GetAttestor_async]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_GetAttestor_sync]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_GetPolicy_async]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_GetPolicy_sync]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_ListAttestors_async]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_ListAttestors_sync]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_UpdateAttestor_async]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_UpdateAttestor_sync]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_UpdatePolicy_async]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_UpdatePolicy_sync]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1_generated_SystemPolicyV1_GetSystemPolicy_async]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1_generated_SystemPolicyV1_GetSystemPolicy_sync]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1_generated_ValidationHelperV1_ValidateAttestationOccurrence_async]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1_generated_ValidationHelperV1_ValidateAttestationOccurrence_sync]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_CreateAttestor_async]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_CreateAttestor_sync]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_DeleteAttestor_async]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_DeleteAttestor_sync]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_GetAttestor_async]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_GetAttestor_sync]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_GetPolicy_async]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_GetPolicy_sync]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_ListAttestors_async]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_ListAttestors_sync]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_UpdateAttestor_async]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_UpdateAttestor_sync]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_UpdatePolicy_async]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_UpdatePolicy_sync]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1beta1_generated_SystemPolicyV1Beta1_GetSystemPolicy_async]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1beta1_generated_SystemPolicyV1Beta1_GetSystemPolicy_sync]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
}
],
"language": "PYTHON",
"name": "google-cloud-binaryauthorization",
"name": "google-cloud-binary-authorization",
"version": "0.1.0"
},
"snippets": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
}
],
"language": "PYTHON",
"name": "google-cloud-binaryauthorization",
"name": "google-cloud-binary-authorization",
"version": "0.1.0"
},
"snippets": [
Expand Down

0 comments on commit 2d44345

Please sign in to comment.